access 3.7.2+1 copy "access: ^3.7.2+1" to clipboard
access: ^3.7.2+1 copied to clipboard

A simple database utility for the entity library and PostgreSQL.

2
likes
110/ 160
pub points
336
downloads

We analyzed this package 3 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: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

105 out of 180 API elements (58.3 %) have documentation comments.

Some symbols that are missing documentation: access, access.Connection.Connection.new, access.InCondition.InCondition.new, access.InCondition.value, access.LikeCondition.LikeCondition.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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 check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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

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

lib/access.dart:311:10

    ╷
311 │   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:63:7

   ╷
63 │ ┌       if (access.rollingback == false) {
64 │ │         await access._commit();
65 │ │       } else {
66 │ │         error = access.rollingback; //yes, use it as an error
67 │ │         await access._rollback();
68 │ └       }
   ╵

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

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

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

Package Constraint Compatible Latest Notes
charcode any 1.4.0 1.4.0
entity >=2.5.0 3.1.0 3.1.0
logging >=0.11.0 <2.0.0 1.3.0 1.3.0
postgresql2 >=0.5.0 1.7.0 1.7.0
rikulo_commons >=3.0.0 7.0.0 7.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
buffer - 1.2.3 1.2.3
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
mime - 2.0.0 2.0.0
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.1+1 0.3.1+1
web - 1.1.1 1.1.1

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

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 11 errors:

  • UNDEFINED_IDENTIFIER - lib/access.dart:75:13 - Undefined name 'InvokeUtil'.
  • UNDEFINED_IDENTIFIER - lib/access.dart:152:13 - Undefined name 'InvokeUtil'.
  • INVALID_OVERRIDE - lib/access.dart:263:15 - 'DBAccess.execute' ('Future

Run dart pub downgrade and then dart 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.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
110
points
336
downloads

Publisher

verified publisherquire.io

Weekly Downloads

A simple database utility for the entity library and PostgreSQL.

Repository (GitHub)

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

charcode, entity, logging, postgresql2, rikulo_commons

More

Packages that depend on access