pip_services3_data 1.1.2 copy "pip_services3_data: ^1.1.2" to clipboard
pip_services3_data: ^1.1.2 copied to clipboard

This package contains various design patterns for working with data and provides implementation of reusable data processing

0
likes
125/ 160
pub points
0%
popularity

We analyzed this package in the last hour, and awarded it 125 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:2:33

  ╷
2 │ <p>This module is a part of the <a href="http://pipservices.org">Pip.Services</a> polyglot microservices toolkit. It contains generic interfaces for data access components as well as abstract implementations for in-memory and file persistence.</p>
  │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

59 out of 68 API elements (86.8 %) have documentation comments.

Some symbols that are missing documentation: pip_services3_data, pip_services3_data.FilePersistence.persister, pip_services3_data.JsonFilePersister.path_, pip_services3_data.MemoryPersistence.items, pip_services3_data.MemoryPersistence.loader.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:pip_services3_data/pip_services3_data.dart that imports:
  • package:pip_services3_data/src/persistence/persistence.dart that imports:
  • package:pip_services3_data/src/persistence/JsonFilePersister.dart that imports:
  • package:pip_services3_commons/pip_services3_commons.dart that imports:
  • package:pip_services3_commons/src/validate/validate.dart that imports:
  • package:pip_services3_commons/src/validate/ProjectionParamsSchema.dart that imports:
  • package:pip_services3_commons/src/validate/ArraySchema.dart that imports:
  • package:pip_services3_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services3_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:pip_services3_data/pip_services3_data.dart that imports:
  • package:pip_services3_data/src/persistence/persistence.dart that imports:
  • package:pip_services3_data/src/persistence/JsonFilePersister.dart that imports:
  • package:pip_services3_commons/pip_services3_commons.dart that imports:
  • package:pip_services3_commons/src/validate/validate.dart that imports:
  • package:pip_services3_commons/src/validate/ProjectionParamsSchema.dart that imports:
  • package:pip_services3_commons/src/validate/ArraySchema.dart that imports:
  • package:pip_services3_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services3_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:pip_services3_data/pip_services3_data.dart that imports:
  • package:pip_services3_data/src/persistence/persistence.dart that imports:
  • package:pip_services3_data/src/persistence/JsonFilePersister.dart that imports:
  • package:pip_services3_commons/pip_services3_commons.dart that imports:
  • package:pip_services3_commons/src/validate/validate.dart that imports:
  • package:pip_services3_commons/src/validate/ProjectionParamsSchema.dart that imports:
  • package:pip_services3_commons/src/validate/ArraySchema.dart that imports:
  • package:pip_services3_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services3_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:pip_services3_data/pip_services3_data.dart that imports:
  • package:pip_services3_data/src/persistence/persistence.dart that imports:
  • package:pip_services3_data/src/persistence/JsonFilePersister.dart that imports:
  • package:pip_services3_commons/pip_services3_commons.dart that imports:
  • package:pip_services3_commons/src/validate/validate.dart that imports:
  • package:pip_services3_commons/src/validate/ProjectionParamsSchema.dart that imports:
  • package:pip_services3_commons/src/validate/ArraySchema.dart that imports:
  • package:pip_services3_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services3_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors

This package is not compatible with runtime wasm, and 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
30 / 50trigger folding of the section

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

Found 41 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/persistence/MemoryPersistence.dart:269:11

    ╷
269 │     if (!(filter is Function)) {
    │           ^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: The file name 'IFilteredPageReader.dart' isn't a lower_case_with_underscores identifier.

To reproduce make sure you are using the lints_core and run dart analyze lib/src/IFilteredPageReader.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
json_annotation ^4.1.0 4.9.0 4.9.0
pip_services3_commons ^1.1.3 1.1.7 1.1.7
pip_services3_components ^1.1.1 1.2.4 1.2.4
sprintf ^6.0.0 6.0.2 7.0.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 31.0.0 76.0.0
analyzer - 2.8.0 6.11.0
async - 2.11.0 2.11.0
cli_util - 0.3.5 0.4.1
collection - 1.19.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.5 3.0.5
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pip_services3_expressions - 1.0.1 1.0.1
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.5.1
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^6.0.0` on sprintf does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions sprintf 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.12, Dart 3.5.3.

Check the analysis log for details.

0
likes
125
pub points
0%
popularity

Publisher

verified publisherentinco.com

This package contains various design patterns for working with data and provides implementation of reusable data processing

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

json_annotation, pip_services3_commons, pip_services3_components, sprintf

More

Packages that depend on pip_services3_data