ic_tools 2.0.1 copy "ic_tools: ^2.0.1" to clipboard
ic_tools: ^2.0.1 copied to clipboard

ic_tools in the dart-language.

2
likes
90/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
10 / 20trigger folding of the section

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

127 out of 337 API elements (37.7 %) have documentation comments.

Some symbols that are missing documentation: candid.Blob.addAll_bytes, candid.Blob.add_byte, candid.Blob.get_byte_i, candid.Blob.of_the_vector_nat8, candid.Blob.Blob.type_mode.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Linux
  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:ic_tools/ic_tools.dart that declares support for platforms: Linux, Web.
Package does not support platform `iOS`.

Because:

  • package:ic_tools/ic_tools.dart that declares support for platforms: Linux, Web.
Package does not support platform `Windows`.

Because:

  • package:ic_tools/ic_tools.dart that declares support for platforms: Linux, Web.
Package does not support platform `macOS`.

Because:

  • package:ic_tools/ic_tools.dart that declares support for platforms: Linux, Web.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 790 issues. Showing the first 2:

INFO: The variable name 'magic_bytes' isn't a lowerCamelCase identifier.

lib/src/candid.dart:14:17

   ╷
14 │ final Uint8List magic_bytes = Uint8List.fromList(utf8.encode('DIDL')); //0x4449444C
   │                 ^^^^^^^^^^^
   ╵

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

INFO: The type name 'CandidBytes_i' isn't an UpperCamelCase identifier.

lib/src/candid.dart:18:9

   ╷
18 │ typedef CandidBytes_i = int;     
   │         ^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
archive ^3.1.2 3.4.2 3.4.10
base32 2.0.0 2.0.0 2.1.3
collection ^1.15.0 1.18.0 1.18.0
convert ^3.0.0 3.1.1 3.1.1
crypto 3.0.1 3.0.1 3.0.3
ed25519_edwards ^0.3.1 0.3.1 0.3.1
ffi 1.1.2 1.1.2 2.1.2
hex ^0.2.0 0.2.0 0.2.0
http 0.13.3 0.13.3 1.2.1
ieee754 ^1.0.3 1.0.3 1.0.3
js ^0.6.3 0.6.7 0.7.1
meta ^1.3.0 1.14.0 1.14.0
tuple ^2.0.0 2.0.2 2.0.2
typed_data ^1.3.0 1.3.2 1.3.2
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
async - 2.11.0 2.11.0
fixnum - 1.1.0 1.1.0
http_parser - 4.0.2 4.0.2
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
pointycastle - 3.8.0 3.8.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1

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

Found 5 issues. Showing the first 2:

The constraint `2.0.0` on base32 does not support the stable version `2.1.0`.

Try running dart pub upgrade --major-versions base32 to update the constraint.

The constraint `3.0.1` on crypto does not support the stable version `3.0.2`.

Try running dart pub upgrade --major-versions crypto to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.