cl_datahub_common 0.8.0 copy "cl_datahub_common: ^0.8.0" to clipboard
cl_datahub_common: ^0.8.0 copied to clipboard

discontinuedreplaced by: datahub
outdated

Shared code for cl_datahub and cl_appbase.

1
likes
65/ 160
pub points
110
downloads

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

failed
Follow Dart file conventions
15 / 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://www.corelightservices.com was unreachable. Make sure that the website is reachable via HEAD requests.

0/5 points: Provide a valid README.md

`README.md` is empty.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

7 out of 31 API elements (22.6 %) have documentation comments.

Some symbols that are missing documentation: cl_datahub_common, cl_datahub_common.ApiError.ApiError.invalidType, cl_datahub_common.ApiError.message, cl_datahub_common.ApiException.internal, cl_datahub_common.ApiException.message.

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:cl_datahub_common/common.dart that imports:
  • package:cl_datahub_common/src/api/dto/encoding.dart that imports:
  • package:boost/boost.dart that imports:
  • package:boost/src/config.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

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

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

Found 3 issues. Showing the first 2:

ERROR: The argument type 'List

lib/src/api/dto/encoding.dart:122:26

    ╷
122 │     return findEnum(raw, values);
    │                          ^^^^^^
    ╵

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

ERROR: The argument type 'List

lib/src/api/dto/encoding.dart:132:26

    ╷
132 │     return findEnum(raw, values);
    │                          ^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
boost ^1.4.0 1.8.10 1.8.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_FUNCTION - lib/src/api/dto/encoding.dart:12:16 - The function 'TypeCheck' isn't defined.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

1
likes
65
points
110
downloads

Publisher

unverified uploader

Weekly Downloads

Shared code for cl_datahub and cl_appbase.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

boost

More

Packages that depend on cl_datahub_common