static_orm_generator 0.1.5
static_orm_generator: ^0.1.5 copied to clipboard
A generator of static_orm. With this, Perform inserts, updates, selects and delets operations.
We analyzed this package 12 days ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/andriwsluna/static_orm_generator/
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.1.5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
2 out of 4 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: static_orm_generator.getSchema
, static_orm_generator.getTableNameFromRecord
.
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:static_orm_generator/static_orm_generator.dart
that imports:package:static_orm_generator/src/postgres/pg_generator.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
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:static_orm_generator/static_orm_generator.dart
that imports:package:static_orm_generator/src/postgres/pg_generator.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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.
lib/src/postgres/pg_table_generator.dart:11:10
╷
11 │ dynamic? defaulValue;
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/postgres/pg_table_generator.dart
WARNING: A value for optional parameter 'defaulValue' isn't ever given.
lib/src/postgres/pg_table_generator.dart:23:13
╷
23 │ [this.defaulValue, this.maxLength, this.precision, this.scale]) {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/postgres/pg_table_generator.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
data_db |
^0.0.3 |
0.0.3 | 0.0.3 | |
file_utils |
^1.0.0 |
1.0.1 | 1.0.1 | Discontinued |
postgres |
^2.3.2 |
2.6.4 | 3.5.8 | |
static_postgres_orm |
^0.1.0 |
0.1.2 | 0.1.2 | |
strings |
^0.2.1 |
0.2.2 | 4.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dartz |
- | 0.10.1 | 0.10.1 | |
globbing |
- | 1.0.0 | 1.0.0 | Discontinued |
intl |
- | 0.17.0 | 0.20.2 | |
lists |
- | 1.0.1 | 1.0.1 | Discontinued |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pool |
- | 1.5.2 | 1.5.2 | |
sasl_scram |
- | 0.1.1 | 0.1.1 | |
saslprep |
- | 1.0.3 | 1.0.3 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unicode |
- | 0.3.1 | 1.1.8 | |
unorm_dart |
- | 0.3.2 | 0.3.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^2.3.2` on postgres does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions postgres
to update the constraint.
The constraint `^0.2.1` on strings does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions strings
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.23
, Dart 3.9.3
.
Check the analysis log for details.