drift_model_generator 0.7.0
drift_model_generator: ^0.7.0 copied to clipboard
Dart model based drift model generator.
We analyzed this package 45 hours ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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
OUT: Documenting drift_model_generator... Discovering libraries... Linking elements... Precaching local docs for 718366 elements... Initialized dartdoc with 508 libraries Generating docs for library drift_model_generator.dart from package:drift_model_generator/drift_model_generator.dart... Generating docs for library types.dart from package:drift_model_generator/types.dart... Documented 2 public libraries in 32.2 seconds ERR: warning: drift_model_generator has no library level documentation comments from drift_model_generator: (file:///tmp/pana_VVJVMF/lib/drift_model_generator.dart:1:1) warning: unresolved doc reference [useProto] from annotations.ReferencedBy.new: (file:///tmp/pana_VVJVMF/lib/src/annotations.dart:136:9) warning: unresolved doc reference [References] from annotations.ReferencedBy.new: (file:///tmp/pana_VVJVMF/lib/src/annotations.dart:136:9) warning: unresolved doc reference [null] from annotations.ReferencedBy.toFieldNames: (file:///tmp/pana_VVJVMF/lib/src/annotations.dart:130:23) in documentation inherited from annotations.ReferencedBy.toFieldNames: (file:///tmp/pana_VVJVMF/lib/src/annotations.dart:130:23) warning: unresolved doc reference [fieldName] [26 more lines]
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
/tmp/pana_VVJVMF/lib/src/generator/drift_model_generator.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
^6.4.1 |
6.4.1 | 9.0.0 | |
build |
^2.4.1 |
2.4.1 | 4.0.2 | |
drift |
>2.0.0 <3.0.0 |
2.29.0 | 2.29.0 | |
source_gen |
^1.5.0 |
1.5.0 | 4.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 92.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 2.3.6 | 3.1.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqlite3 |
- | 2.9.4 | 3.0.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^6.4.1` on analyzer does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^2.4.1` on build does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions build 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 1 error:
IMPLEMENTS_NON_CLASS-lib/types.dart:5:32- Classes and mixins can only implement other classes and mixins.
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.23.1, Dart 3.10.0.
Check the analysis log for details.