access 3.1.0 copy "access: ^3.1.0" to clipboard
access: ^3.1.0 copied to clipboard

A simple database utility for the entity library and PostgreSQL.

1
likes
110/ 140
pub points
56%
popularity

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

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: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

95 out of 156 API elements (60.9 %) have documentation comments.

Some symbols that are missing documentation: access, access.Not.value, access.PostgresqlException, access.PostgresqlException.PostgresqlException, access.PostgresqlException.message.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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:access/access.dart that imports:
  • package:entity/postgresql2.dart that imports:
  • package:postgresql2/postgresql.dart that imports:
  • package:postgresql2/src/postgresql_impl/postgresql_impl.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 86 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'Timer?', but ends without returning a value.

lib/access.dart:374:10

    ╷
374 │   Timer? _startSql() {
    │          ^^^^^^^^^
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/access.dart:122:7

    ╷
122 │ ┌       if (access.rollingback == false) {
123 │ │         await access._commit();
124 │ │       } else {
125 │ │         error = access.rollingback; //yes, use it as an error
126 │ │         await access._rollback();
127 │ └       }
    ╵

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

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

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

Package Constraint Compatible Latest
entity >=2.5.0 3.0.2 3.0.2
logging >=0.11.0 <2.0.0 1.2.0 1.2.0
postgresql2 >=0.5.0 1.5.1 1.5.1
rikulo_commons >=3.0.0 6.0.1+1 6.0.1+1
Transitive dependencies
Package Constraint Compatible Latest
buffer - 1.2.3 1.2.3
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
mime - 1.0.5 1.0.5
pedantic - 1.11.1 1.11.1
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.2 1.0.2
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.0 0.3.0

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

1
likes
110
pub points
56%
popularity

Publisher

verified publisherquire.io

A simple database utility for the entity library and PostgreSQL.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache-2.0 (LICENSE)

Dependencies

entity, logging, postgresql2, rikulo_commons

More

Packages that depend on access