orm_plus 1.0.1
orm_plus: ^1.0.1 copied to clipboard
orm_plus is a Dart ORM for MySQL and PostgreSQL, simplifying server-side development with schema definition, CRUD operations, advanced queries, relationships, and optional logging. It streamlines serv [...]
We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 134 API elements (0.7 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: orm_plus
, orm_plus.DataType
, orm_plus.DataType.DataType.BIGINT
, orm_plus.DataType.DataType.BIGSERIAL
, orm_plus.DataType.DataType.BINARYSTRING
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:orm_plus/orm_plus.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:orm_plus/orm_plus.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:orm_plus/orm_plus.dart
that declares support for platforms:Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:orm_plus/orm_plus.dart
that imports:package:orm_plus/src/database/postgres/postgres_client.dart
that imports:package:postgres/postgres.dart
that imports:package:postgres/src/v3/database_info.dart
that imports:package:postgres/src/messages/logical_replication_messages.dart
that imports:package:postgres/src/messages/shared_messages.dart
that imports:package:postgres/src/messages/server_messages.dart
that imports:package:postgres/src/types.dart
that imports:package:postgres/src/types/type_registry.dart
that imports:package:postgres/src/types/text_search.dart
that imports:package:postgres/src/exceptions.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 14 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/src/orm/builders/query_builder.dart:87:7
╷
87 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/orm/builders/query_builder.dart
/tmp/pana_PDYOTM/lib/orm_plus.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
^4.0.2 |
4.0.7 | 4.0.7 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 | |
mysql_client |
^0.0.27 |
0.0.27 | 0.0.27 | |
postgres |
^3.2.1 |
3.5.6 | 3.5.6 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
buffer |
- | 1.2.3 | 1.2.3 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pool |
- | 1.5.1 | 1.5.1 | |
posix |
- | 6.0.3 | 6.0.3 | |
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 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.1+1 | 0.3.1+1 |
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
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.