polkadart_cli 0.4.3 copy "polkadart_cli: ^0.4.3" to clipboard
polkadart_cli: ^0.4.3 copied to clipboard

polkadart_cli is a dart library that generates Dart type code from frame metadata. Generated code relies on Polkadart library.

3
likes
140/ 160
pub points
67%
popularity

We analyzed this package 13 hours ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

88 out of 332 API elements (26.5 %) have documentation comments.

Some symbols that are missing documentation: polkadart_cli, polkadart_cli.ArrayDescriptor, polkadart_cli.ArrayDescriptor.ArrayDescriptor, polkadart_cli.ArrayDescriptor.ArrayDescriptor.lazy, polkadart_cli.ArrayDescriptor.codec.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:polkadart_cli/polkadart_cli.dart that imports:
  • package:polkadart_cli/src/config/pubspec_config.dart that imports:
  • package:polkadart_cli/src/utils/file_utils.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:polkadart_cli/polkadart_cli.dart that imports:
  • package:polkadart_cli/src/config/pubspec_config.dart that imports:
  • package:polkadart_cli/src/utils/file_utils.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/src/typegen/parser.dart:1:1

  ╷
1 │ part of descriptors;
  │ ^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/typegen/parser.dart

INFO: The part-of directive uses a library name.

lib/src/typegen/types/array.dart:1:1

  ╷
1 │ part of descriptors;
  │ ^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/typegen/types/array.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
args ^2.4.0 2.6.0 2.6.0
code_builder ^4.8.0 4.10.1 4.10.1
convert ^3.1.1 3.1.2 3.1.2
dart_style ^2.2.4 2.3.7 2.3.7
http ^1.1.0 1.2.2 1.2.2
path ^1.8.3 1.9.1 1.9.1
polkadart ^0.4.3 0.4.7 0.4.7
recase ^4.1.0 4.1.0 4.1.0
yaml ^3.1.1 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 77.0.0
_macros - 0.3.2 0.3.2
adaptive_number - 1.0.0 1.0.0
analyzer - 6.8.0 7.0.0
async - 2.12.0 2.12.0
base_x - 2.0.1 2.0.1
bip39_mnemonic - 3.0.6 3.0.6
boolean_selector - 2.1.2 2.1.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
cryptography - 2.7.0 2.7.0
ed25519_edwards - 0.3.1 0.3.1
edwards25519 - 1.0.4 1.0.4
equatable - 2.0.5 2.0.5
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_curve25519 - 0.1.2 0.1.2
glob - 2.1.2 2.1.2
hashlib_codecs - 2.6.0 2.6.0
http_parser - 4.1.1 4.1.1
intl - 0.18.1 0.20.0
js - 0.6.7 0.7.1
json_schema2 - 2.0.4+9 5.1.3
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
matcher - 0.12.17 0.12.17
merlin - 1.0.3 1.0.3
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
pointycastle - 3.9.1 3.9.1
polkadart_keyring - 0.4.4 0.4.4
polkadart_scale_codec - 1.2.1 1.2.1
pub_semver - 2.1.4 2.1.4
quiver - 3.2.2 3.2.2
rest_client - 2.4.0 2.4.0
ristretto255 - 1.0.2 1.0.2
secp256k1_ecdsa - 0.4.1 0.4.1
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sr25519 - 0.4.1 0.4.1
ss58 - 1.1.3 1.1.3
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
strobe - 1.0.4 1.0.4
substrate_bip39 - 0.4.1 0.4.1
substrate_metadata - 1.2.3 1.2.3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
unorm_dart - 0.2.0 0.3.0
uri - 1.0.0 1.0.0
utility - 1.0.3 1.0.3
uuid - 4.5.1 4.5.1
watcher - 1.1.0 1.1.0
web - 0.5.1 1.1.0
web_socket_channel - 2.4.5 3.0.1
yaon - 1.1.4+10 1.1.4+10

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

3
likes
140
pub points
67%
popularity

Publisher

verified publisherpolkadart.dev

polkadart_cli is a dart library that generates Dart type code from frame metadata. Generated code relies on Polkadart library.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, code_builder, convert, dart_style, http, path, polkadart, recase, yaml

More

Packages that depend on polkadart_cli