diet 1.2.0 copy "diet: ^1.2.0" to clipboard
diet: ^1.2.0 copied to clipboard

DietFriends Core Libraries for Dart

1
likes
95/ 140
pub points
18%
popularity

We analyzed this package 26 hours ago, and awarded it 95 pub points (of a possible 140):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:13:49

   ╷
13 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
   │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

52 out of 143 API elements (36.4 %) have documentation comments.

Some symbols that are missing documentation: diet.AboveAll, diet.AboveAll.AboveAll, diet.AboveAll.describeAsLowerBound, diet.AboveAll.describeAsUpperBound, diet.AboveAll.endpoint.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 30 issues. Showing the first 2:

WARNING: The value of the field '_INSTANCE' isn't used.

lib/src/cut.dart:111:25

    ╷
111 │   static final BelowAll _INSTANCE = BelowAll();
    │                         ^^^^^^^^^
    ╵

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

WARNING: Doc directive 'link' is unknown.

lib/src/discrete_domain.dart:23:7

   ╷
23 │ /// {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
   │       ^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
async ^2.6.0 2.11.0 2.11.0
freezed_annotation any 2.4.1 2.4.1
meta ^1.3.0 1.15.0 1.15.0
quiver ^3.0.1 3.2.1 3.2.1
Transitive dependencies
Package Constraint Compatible Latest
boolean_selector - 2.1.1 2.1.1
collection - 1.18.0 1.18.0
json_annotation - 4.9.0 4.9.0
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.