pip_services4_commons 0.0.2 copy "pip_services4_commons: ^0.0.2" to clipboard
pip_services4_commons: ^0.0.2 copied to clipboard

Common patterns for Pip.Services in Dart. This framework is part of the [Pip.Services](https://github.com/pip-services/pip-services) project.

0
likes
140/ 160
pub points
18%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

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

395 out of 403 API elements (98.0 %) have documentation comments.

Some symbols that are missing documentation: pip_services4_commons, pip_services4_commons.ApplicationException.cause, pip_services4_commons.ApplicationException.ApplicationException.fromJson, pip_services4_commons.ApplicationException.fromJson, pip_services4_commons.ApplicationException.toJson.

10/10 points: Package has an example

OK
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_services4_commons/pip_services4_commons.dart that imports:
  • package:pip_services4_commons/src/reflect/reflect.dart that imports:
  • package:pip_services4_commons/src/reflect/TypeReflector.dart that imports:
  • package:pip_services4_commons/src/errors/NotFoundException.dart that imports:
  • package:pip_services4_commons/src/errors/ApplicationException.dart that imports:
  • package:pip_services4_commons/src/data/StringValueMap.dart that imports:
  • package:pip_services4_commons/src/data/AnyValueMap.dart that imports:
  • package:pip_services4_commons/src/data/AnyValueArray.dart that imports:
  • package:pip_services4_commons/src/data/AnyValue.dart that imports:
  • package:pip_services4_commons/src/convert/convert.dart that imports:
  • package:pip_services4_commons/src/convert/RecursiveMapConverter.dart that imports:
  • package:pip_services4_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services4_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:pip_services4_commons/pip_services4_commons.dart that imports:
  • package:pip_services4_commons/src/reflect/reflect.dart that imports:
  • package:pip_services4_commons/src/reflect/TypeReflector.dart that imports:
  • package:pip_services4_commons/src/errors/NotFoundException.dart that imports:
  • package:pip_services4_commons/src/errors/ApplicationException.dart that imports:
  • package:pip_services4_commons/src/data/StringValueMap.dart that imports:
  • package:pip_services4_commons/src/data/AnyValueMap.dart that imports:
  • package:pip_services4_commons/src/data/AnyValueArray.dart that imports:
  • package:pip_services4_commons/src/data/AnyValue.dart that imports:
  • package:pip_services4_commons/src/convert/convert.dart that imports:
  • package:pip_services4_commons/src/convert/RecursiveMapConverter.dart that imports:
  • package:pip_services4_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services4_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:pip_services4_commons/pip_services4_commons.dart that imports:
  • package:pip_services4_commons/src/reflect/reflect.dart that imports:
  • package:pip_services4_commons/src/reflect/TypeReflector.dart that imports:
  • package:pip_services4_commons/src/errors/NotFoundException.dart that imports:
  • package:pip_services4_commons/src/errors/ApplicationException.dart that imports:
  • package:pip_services4_commons/src/data/StringValueMap.dart that imports:
  • package:pip_services4_commons/src/data/AnyValueMap.dart that imports:
  • package:pip_services4_commons/src/data/AnyValueArray.dart that imports:
  • package:pip_services4_commons/src/data/AnyValue.dart that imports:
  • package:pip_services4_commons/src/convert/convert.dart that imports:
  • package:pip_services4_commons/src/convert/RecursiveMapConverter.dart that imports:
  • package:pip_services4_commons/src/reflect/ObjectReader.dart that imports:
  • package:pip_services4_commons/src/reflect/PropertyReflector.dart that imports:
  • dart:mirrors
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 89 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/convert/ArrayConverter.dart:1:1

  ╷
1 │ ┌ /// Converts arbitrary values into array objects.
2 │ │ ///
3 │ │ /// ### Example ###
4 │ │ ///
5 │ │ ///     var value1 = ArrayConverter.toArray([1, 2]);         // Result: [1, 2]
6 │ │ ///     var value2 = ArrayConverter.toArray(1);              // Result: [1]
7 │ └ ///     var value2 = ArrayConverter.listToArray('1,2,3');    // Result: ['1', '2', '3']
  ╵

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

INFO: The file name 'ArrayConverter.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/convert/ArrayConverter.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
analyzer ^6.0.0 6.5.0 6.5.2
uuid ^3.0.4 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 68.0.0 70.0.0
_macros - 0.1.0 0.1.0
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
macros - 0.1.0-main.0 0.1.2-main.0
meta - 1.15.0 1.15.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
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 `^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.

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.5, Dart 3.4.1.

Check the analysis log for details.

0
likes
140
pub points
18%
popularity

Publisher

verified publisherentinco.com

Common patterns for Pip.Services in Dart. This framework is part of the [Pip.Services](https://github.com/pip-services/pip-services) project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, uuid

More

Packages that depend on pip_services4_commons