pip_services3_postgres 1.0.2 copy "pip_services3_postgres: ^1.0.2" to clipboard
pip_services3_postgres: ^1.0.2 copied to clipboard

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

0
likes
125/ 160
pub points
35
downloads

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

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

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

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 4 links are 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 provides a set of components to implement PostgreSQL persistence.</p>
  │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

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

57 out of 83 API elements (68.7 %) have documentation comments.

Some symbols that are missing documentation: pip_services3_postgres, pip_services3_postgres.DefaultPostgresFactory.PostgresConnectionDescriptor, pip_services3_postgres.IdentifiablePostgresPersistence.autoGenerateId_, pip_services3_postgres.PostgresConnection.PostgresConnection.new, pip_services3_postgres.PostgresConnection.connectionResolver_.

Passed check 10/10 points: Package has an example

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

Passed check 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_postgres/pip_services3_postgres.dart that imports:
  • package:pip_services3_postgres/src/persistence/persistence.dart that imports:
  • package:pip_services3_postgres/src/persistence/PostgresPersistence.dart that imports:
  • package:pip_services3_postgres/src/connect/connect.dart that imports:
  • package:pip_services3_postgres/src/connect/PostgresConnectionResolver.dart that imports:
  • package:pip_services3_components/pip_services3_components.dart that imports:
  • package:pip_services3_components/src/Component.dart that imports:
  • package:pip_services3_components/src/count/CompositeCounters.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_postgres/pip_services3_postgres.dart that imports:
  • package:pip_services3_postgres/src/persistence/persistence.dart that imports:
  • package:pip_services3_postgres/src/persistence/PostgresPersistence.dart that imports:
  • package:pip_services3_postgres/src/connect/connect.dart that imports:
  • package:pip_services3_postgres/src/connect/PostgresConnectionResolver.dart that imports:
  • package:pip_services3_components/pip_services3_components.dart that imports:
  • package:pip_services3_components/src/Component.dart that imports:
  • package:pip_services3_components/src/count/CompositeCounters.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_postgres/pip_services3_postgres.dart that imports:
  • package:pip_services3_postgres/src/persistence/persistence.dart that imports:
  • package:pip_services3_postgres/src/persistence/PostgresPersistence.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/substituter.dart that imports:
  • package:postgres/src/query.dart that imports:
  • package:postgres/src/execution_context.dart that imports:
  • package:postgres/src/connection.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:pip_services3_postgres/pip_services3_postgres.dart that imports:
  • package:pip_services3_postgres/src/persistence/persistence.dart that imports:
  • package:pip_services3_postgres/src/persistence/PostgresPersistence.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/substituter.dart that imports:
  • package:postgres/src/query.dart that imports:
  • package:postgres/src/execution_context.dart that imports:
  • package:postgres/src/connection.dart that imports:
  • dart:io

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 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 14 issues. Showing the first 2:

WARNING: The operand can't be 'null', so the condition is always 'false'.

lib/src/persistence/PostgresPersistence.dart:451:32

    ╷
451 │     if (this._schemaStatements == null || this._schemaStatements.length == 0) {
    │                                ^^^^^^^
    ╵

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

INFO: The file name 'DefaultPostgresFactory.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/build/DefaultPostgresFactory.dart

Failed report section
Support up-to-date dependencies
30 / 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
pip_services3_commons ^1.1.3 1.1.7 1.1.7
pip_services3_components ^1.1.2 1.2.4 1.2.4
pip_services3_data ^1.1.1 1.1.2 1.1.2
postgres ^2.4.3 2.6.4 3.5.6
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 31.0.0 85.0.0
analyzer - 2.8.0 7.5.2
async - 2.13.0 2.13.0
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
cli_util - 0.3.5 0.4.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
json_annotation - 4.9.0 4.9.0
meta - 1.17.0 1.17.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pip_services3_expressions - 1.0.1 1.0.1
pool - 1.5.1 1.5.1
pub_semver - 2.2.0 2.2.0
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
source_span - 1.10.1 1.10.1
sprintf - 6.0.2 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.1+1 0.3.1+1
uuid - 3.0.7 4.5.1
watcher - 1.1.2 1.1.2
yaml - 3.1.3 3.1.3

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

The constraint `^2.4.3` on postgres does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
125
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

pip_services3_commons, pip_services3_components, pip_services3_data, postgres

More

Packages that depend on pip_services3_postgres