c 0.0.3-pre
c: ^0.0.3-pre copied to clipboard
C-md, Library of Defining & parsing for Dart CLI Commands & Arguments
We analyzed this package 39 hours ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository has no repository or homepage URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: c, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
50 out of 163 API elements (30.7 %) have documentation comments.
Some symbols that are missing documentation: li, li.CLIArgument, li.CLIArgument.CLIArgument.new, li.CLIArgumentModel, li.CLIArgumentModel.CLIArgumentModel.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
ERROR: Non-nullable instance field 'name' must be initialized.
lib/li.dart:7:10
╷
7 │ String name;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/li.dart
ERROR: 'parse' must have a method body because 'CLIRootModel' isn't abstract.
lib/li.dart:23:3
╷
23 │ CLIValue parse(Iterable<String> args);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/li.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 5 errors:
NOT_INITIALIZED_NON_NULLABLE_INSTANCE_FIELD-lib/li.dart:7:10- Non-nullable instance field 'name' must be initialized.CONCRETE_CLASS_WITH_ABSTRACT_MEMBER-lib/li.dart:23:3- 'parse' must have a method body because 'CLIRootModel' isn't abstract.NOT_INITIALIZED_NON_NULLABLE_INSTANCE_FIELD-lib/li.dart:46:10- Non-nullable instance field 'value' must be initialized.
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.5, Dart 3.10.7.
Check the analysis log for details.