carp_core 0.40.8 copy "carp_core: ^0.40.8" to clipboard
carp_core: ^0.40.8 copied to clipboard

The core domain model for the CARP Mobile Sensing Framework in Flutter.

110/ 160
pub points
782
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

467 out of 677 API elements (69.0 %) have documentation comments.

Some symbols that are missing documentation: carp_core.Core.Core.new, carp_core_client.ClientManager.ClientManager.new, carp_core_client.DataManager.DataManager.new, carp_core_client.DataManagerEventTypes.CLOSED, carp_core_client.DataManagerEventTypes.DataManagerEventTypes.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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 report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 36 issues. Showing the first 2:

WARNING: The annotation 'mustCallSuper' can only be used on overridable members.

lib/carp_deployment/domain/data_endpoint.dart:23:4

   ╷
23 │   @mustCallSuper
   │    ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/carp_deployment/domain/data_endpoint.dart

WARNING: The annotation 'mustCallSuper' can only be used on overridable members.

lib/carp_protocols/domain/task_descriptor.dart:34:4

   ╷
34 │   @mustCallSuper
   │    ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/carp_protocols/domain/task_descriptor.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
carp_serializable ^1.0.0 1.2.0 2.0.1
json_annotation ^4.7.0 4.9.0 4.9.0
meta ^1.8.0 1.17.0 1.17.0
uuid ^3.0.4 3.0.7 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
material_color_utilities - 0.11.1 0.13.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

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

The constraint `^1.0.0` on carp_serializable does not support the stable version `2.0.0`.

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

The constraint `^3.0.4` on uuid does not support the stable version `4.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 24 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/carp_data/data.dart:14:12 - The named parameter 'includeFromJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/carp_data/data.dart:14:36 - The named parameter 'includeToJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/carp_data/datapoint.dart:71:12 - The named parameter 'includeFromJson' isn't defined.

Run flutter pub downgrade and then flutter 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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
110
points
782
downloads

Publisher

verified publishercachet.dk

Weekly Downloads

The core domain model for the CARP Mobile Sensing Framework in Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

carp_serializable, flutter, json_annotation, meta, uuid

More

Packages that depend on carp_core