access 2.6.1+1 access: ^2.6.1+1 copied to clipboard
A simple database utility for the entity library and PostgreSQL.
We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 160):
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
.
10/10 points: 20% or more of the public API has dartdoc comments
96 out of 157 API elements (61.1 %) 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.
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
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 113 issues. Showing the first 2:
WARNING: This function has a nullable return type of 'Timer?', but ends without returning a value.
lib/access.dart:372:10
╷
372 │ Timer? _startSql() {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/access.dart
WARNING: This 'onError' handler must return a value assignable to 'int', but ends without returning a value.
lib/src/dbtool/dbtool_purge.dart:13:22
╷
13 │ .catchError((ex) {}, test: _isUndefined))
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/dbtool/dbtool_purge.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
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 |
6.1.0 | 6.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
buffer |
- | 1.2.3 | 1.2.3 |
charcode |
- | 1.3.1 | 1.3.1 |
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.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 8 errors:
UNDEFINED_IDENTIFIER
-lib/access.dart:132:13
- Undefined name 'InvokeUtil'.UNDEFINED_IDENTIFIER
-lib/access.dart:209:13
- Undefined name 'InvokeUtil'.UNDEFINED_IDENTIFIER
-lib/access.dart:457:6
- Undefined name 'StreamUtil'.
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.15
, Dart 3.5.4
.
Check the analysis log for details.