c 0.0.3-pre copy "c: ^0.0.3-pre" to clipboard
c: ^0.0.3-pre copied to clipboard

outdated

C-md, Library of Defining & parsing for Dart CLI Commands & Arguments

70/ 160
pub points
33
downloads

We analyzed this package 39 hours ago, and awarded it 70 pub points (of a possible 160):

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

Failed check 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:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: c,
    • contains a version property, and,
    • does not contain a publish_to property.

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: BSD-3-Clause.

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

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.

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

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

Failed check 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

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

Passed check 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.

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 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.

Weekly downloads

Display as:
By versions:
0
likes
70
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

C-md, Library of Defining & parsing for Dart CLI Commands & Arguments

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on c