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
90/ 140
pub points
0%
popularity

We analyzed this package 4 days ago, and awarded it 90 pub points (of a possible 140):

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.

OK
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
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 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

INFO: The variable name 'table_schema' isn't a lowerCamelCase identifier.

lib/src/postgres/pg_generator.dart:38:7

   ╷
38 │   var table_schema = '';
   │       ^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger 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.2.0
static_postgres_orm ^0.1.0 0.1.2 0.1.2
strings ^0.2.1 0.2.2 3.1.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
buffer - 1.2.3 1.2.3
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
dartz - 0.10.1 0.10.1
globbing - 1.0.0 1.0.0
intl - 0.17.0 0.19.0
lists - 1.0.1 1.0.1
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
pool - 1.5.1 1.5.1
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.2 1.0.2
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
typed_data - 1.3.2 1.3.2
unicode - 0.3.1 0.3.1
unorm_dart - 0.2.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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
90
pub points
0%
popularity

Publisher

unverified uploader

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