data_class_plugin 0.3.1 copy "data_class_plugin: ^0.3.1" to clipboard
data_class_plugin: ^0.3.1 copied to clipboard

A tool that uses Dart's Analyzer to generate code on-the-fly.

100/ 160
pub points
78.6k
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

32 out of 58 API elements (55.2 %) have documentation comments.

Some symbols that are missing documentation: data_class_plugin, data_class_plugin.DataClassPluginObjectX, data_class_plugin.DataClassPluginObjectX.hexIdentity, data_class_plugin.DefaultValue, data_class_plugin.DefaultValue.DefaultValue.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 82 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/backend/core/parsed_file_data.gen.dart:24:17

   ╷
24 │   bool operator ==(Object? other) {
   │                 ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/backend/core/parsed_file_data.gen.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/exceptions.gen.dart:72:17

   ╷
72 │   bool operator ==(Object? other) {
   │                 ^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
analyzer >=4.0.0 <6.0.0 5.13.0 8.2.0
analyzer_plugin >=0.10.0 <1.0.0 0.11.2 0.13.8
args ^2.3.1 2.7.0 2.7.0
dart_style ^2.2.4 2.3.2 3.1.2
file ^6.1.4 6.1.4 7.0.1
glob ^2.1.1 2.1.3 2.1.3
meta ^1.8.0 1.17.0 1.17.0
path ^1.8.2 1.9.1 1.9.1
rxdart ^0.27.7 0.27.7 0.28.0
stack_trace ^1.10.0 1.12.1 1.12.1
watcher ^1.0.2 1.1.4 1.1.4
yaml ^3.1.1 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 61.0.0 89.0.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.6 3.0.6
package_config - 2.2.0 2.2.0
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

Found 4 issues. Showing the first 2:

The constraint `>=4.0.0 <6.0.0` on analyzer does not support the stable version `6.0.0`.

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

The constraint `^2.2.4` on dart_style does not support the stable version `3.0.0`.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 39 errors:

  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/src/analyzer_plugin/analyzer_plugin.dart:10:7 - Missing concrete implementation of 'abstract class ServerPlugin.createAnalysisDriver'.
  • NOT_ENOUGH_POSITIONAL_ARGUMENTS - lib/src/analyzer_plugin/analyzer_plugin.dart:13:13 - 1 positional argument expected by 'ServerPlugin.new', but 0 found.
  • UNDEFINED_NAMED_PARAMETER - lib/src/analyzer_plugin/analyzer_plugin.dart:13:13 - The named parameter 'resourceProvider' isn't defined.

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.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
19
likes
100
points
78.6k
downloads

Publisher

verified publisherptsakoulis.com

Weekly Downloads

A tool that uses Dart's Analyzer to generate code on-the-fly.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, args, dart_style, file, glob, meta, path, rxdart, stack_trace, watcher, yaml

More

Packages that depend on data_class_plugin