static_orm_generator 0.1.5 copy "static_orm_generator: ^0.1.5" to clipboard
static_orm_generator: ^0.1.5 copied to clipboard

A generator of static_orm. With this, Perform inserts, updates, selects and delets operations.

0
likes
110/ 160
pub points
85
downloads

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/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.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: static_orm_generator,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: BSD-2-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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.

failed
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: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.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
data_db ^0.0.3 0.0.3 0.0.3
file_utils ^1.0.0 1.0.1 1.0.1
postgres ^2.3.2 2.6.4 3.4.8
static_postgres_orm ^0.1.0 0.1.2 0.1.2
strings ^0.2.1 0.2.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
buffer - 1.2.3 1.2.3
characters - 1.4.0 1.4.0
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
intl - 0.17.0 0.20.1
lists - 1.0.1 1.0.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pool - 1.5.1 1.5.1
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.3 2.1.3
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.6
unorm_dart - 0.3.0 0.3.0

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

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.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
110
points
85
downloads

Publisher

unverified uploader

Weekly Downloads

A generator of static_orm. With this, Perform inserts, updates, selects and delets operations.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

data_db, file_utils, postgres, static_postgres_orm, strings

More

Packages that depend on static_orm_generator