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
141
downloads

We analyzed this package 7 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.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/levifeldman/ic_tools was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: ic_tools,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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 340 API elements (37.9 %) have documentation comments.

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

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 4.0.2
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.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2

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

Found 6 issues. Showing the first 2:

The constraint `^3.1.2` on archive does not support the stable version `4.0.0`, that was published 11 days ago.

When archive is 30 days old, this package will no longer be awarded points in this category.

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

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.

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.17, Dart 3.6.0.

Check the analysis log for details.

2
likes
100
points
141
downloads

Publisher

unverified uploader

Weekly Downloads

Tools for communicating with the world-computer.

Repository (GitHub)
View/report issues

Topics

#cryptography #blockchain #world-computer #internet-computer #agent

Documentation

API reference

License

unknown (license)

Dependencies

archive, base32, collection, convert, crypto, cryptography, ffi, hex, http, ieee754, js, meta, tuple, typed_data

More

Packages that depend on ic_tools