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

Tools for communicating with the world-computer.

2
likes
100/ 160
pub points
39%
popularity

We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):

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

129 out of 345 API elements (37.4 %) have documentation comments.

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

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.

0/0 points: WASM compatibility

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

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

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 848 issues. Showing the first 2:

WARNING: The value of the local variable 'is_key_in_the_object_store' isn't used.

lib/src/common_web/indexdb.dart:187:30

    ╷
187 │                         bool is_key_in_the_object_store = true;
    │                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

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

failed
Support up-to-date dependencies
30 / 40trigger 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.6.1 3.6.1
base32 2.0.0 2.0.0 2.1.3
collection ^1.15.0 1.19.1 1.19.1
convert ^3.0.0 3.1.2 3.1.2
crypto 3.0.3 3.0.3 3.0.6
cryptography ^2.7.0 2.7.0 2.7.0
ffi 2.1.0 2.1.0 2.1.3
hex ^0.2.0 0.2.0 0.2.0
http 0.13.3 0.13.3 1.2.2
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.16.0 1.16.0
tuple ^2.0.0 2.0.2 2.0.2
typed_data ^1.3.0 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
http_parser - 4.1.1 4.1.1
path - 1.9.1 1.9.1
pedantic - 1.11.1 1.11.1
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.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.3` on crypto does not support the stable version `3.0.4`.

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

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.