moor_generator 4.6.0+1 copy "moor_generator: ^4.6.0+1" to clipboard
moor_generator: ^4.6.0+1 copied to clipboard

discontinuedreplaced by: drift_dev

Dev-dependency to generate table and dataclasses together with the moor package.

52
likes
60/ 160
pub points
355
downloads

We analyzed this package 36 hours ago, and awarded it 60 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

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/simolus3/moor/issues 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: moor_generator,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: moor_generator.

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.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

316 out of 650 API elements (48.6 %) have documentation comments.

Some symbols that are missing documentation: build, build.moorBuilder, build.moorBuilderNotShared, build.moorCleanup, build.preparingBuilder.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:moor_generator/moor_generator.dart that imports:
  • package:drift_dev/moor_generator.dart that imports:
  • package:drift_dev/src/model/model.dart that imports:
  • package:drift_dev/src/model/view.dart that imports:
  • package:drift_dev/writer.dart that imports:
  • package:drift_dev/src/writer/tables/table_writer.dart that imports:
  • package:drift_dev/src/writer/utils/column_constraints.dart that imports:
  • package:drift_dev/src/model/column.dart that imports:
  • package:drift_dev/src/model/used_type_converter.dart that imports:
  • package:drift_dev/src/model/table.dart that imports:
  • package:drift_dev/src/model/declarations/declaration.dart that imports:
  • package:drift_dev/src/model/sources.dart that imports:
  • package:drift_dev/src/analyzer/runner/file_graph.dart that imports:
  • package:drift_dev/src/analyzer/errors.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:moor_generator/moor_generator.dart that imports:
  • package:drift_dev/moor_generator.dart that imports:
  • package:drift_dev/src/model/model.dart that imports:
  • package:drift_dev/src/model/view.dart that imports:
  • package:drift_dev/writer.dart that imports:
  • package:drift_dev/src/writer/tables/table_writer.dart that imports:
  • package:drift_dev/src/writer/utils/column_constraints.dart that imports:
  • package:drift_dev/src/model/column.dart that imports:
  • package:drift_dev/src/model/used_type_converter.dart that imports:
  • package:drift_dev/src/model/table.dart that imports:
  • package:drift_dev/src/model/declarations/declaration.dart that imports:
  • package:drift_dev/src/model/sources.dart that imports:
  • package:drift_dev/src/analyzer/runner/file_graph.dart that imports:
  • package:drift_dev/src/analyzer/errors.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:moor_generator/moor_generator.dart that imports:
  • package:drift_dev/moor_generator.dart that imports:
  • package:drift_dev/src/model/model.dart that imports:
  • package:drift_dev/src/model/view.dart that imports:
  • package:drift_dev/writer.dart that imports:
  • package:drift_dev/src/writer/tables/table_writer.dart that imports:
  • package:drift_dev/src/writer/utils/column_constraints.dart that imports:
  • package:drift_dev/src/model/column.dart that imports:
  • package:drift_dev/src/model/used_type_converter.dart that imports:
  • package:drift_dev/src/model/types.dart that imports:
  • package:drift_dev/src/utils/type_utils.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/task/api/model.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/error/listener.dart that imports:
  • package:analyzer/error/error.dart that imports:
  • package:analyzer/src/generated/parser.dart that imports:
  • package:analyzer/src/fasta/ast_builder.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/macro.dart that imports:
  • package:analyzer/src/summary2/kernel_compilation_service.dart that imports:
  • package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: The language version must be >=2.12.0.

bin/moor_generator.dart:1:1

  ╷
1 │ //@dart=2.9
  │ ^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/moor_generator.dart

ERROR: The body might complete normally, causing 'null' to be returned, but the return type, 'Future

bin/moor_generator.dart:4:8

  ╷
4 │ Future main(List<String> args) {
  │        ^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/moor_generator.dart

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

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

Package Constraint Compatible Latest
build ^2.1.0 2.4.1 2.4.1
drift_dev ^1.0.0 1.7.1 2.22.1
moor ^4.6.0 4.6.1+1 4.6.1+1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 47.0.0 77.0.0
analyzer - 4.7.0 7.0.0
analyzer_plugin - 0.11.1 0.12.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
build_config - 1.1.1 1.1.1
build_resolvers - 2.0.10 2.4.2
charcode - 1.4.0 1.4.0
checked_yaml - 2.0.3 2.0.3
cli_util - 0.3.5 0.4.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.2.4 3.0.0
drift - 1.7.1 2.22.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
graphs - 2.3.2 2.3.2
io - 1.0.5 1.0.5
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
package_config - 2.1.1 2.1.1
path - 1.9.1 1.9.1
pool - 1.5.1 1.5.1
pub_semver - 2.1.5 2.1.5
pubspec_parse - 1.3.0 1.3.0
recase - 4.1.0 4.1.0
source_gen - 1.2.6 1.5.0
source_span - 1.10.1 1.10.1
sqlite3 - 1.11.2 2.5.0
sqlparser - 0.22.0 0.40.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^1.0.0` on drift_dev does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions drift_dev to update the constraint.

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 3 errors:

  • ILLEGAL_LANGUAGE_VERSION_OVERRIDE - bin/moor_generator.dart:1:1 - The language version must be >=2.12.0.
  • BODY_MIGHT_COMPLETE_NORMALLY - bin/moor_generator.dart:4:8 - The body might complete normally, causing 'null' to be returned, but the return type, 'Future
  • ILLEGAL_LANGUAGE_VERSION_OVERRIDE - lib/integrations/plugin.dart:1:1 - The language version must be >=2.12.0.

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

Check the analysis log for details.

52
likes
60
points
355
downloads

Publisher

verified publishersimonbinder.eu

Weekly Downloads

Dev-dependency to generate table and dataclasses together with the moor package.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

build, drift_dev, moor

More

Packages that depend on moor_generator