fitness_lib 1.0.3 copy "fitness_lib: ^1.0.3" to clipboard
fitness_lib: ^1.0.3 copied to clipboard

Lib for fitness_sync application

35/ 160
pub points
55
downloads

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

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

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

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: fitness_lib.

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: fitness_lib,
    • contains a version property, and,
    • does not contain a publish_to property.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.3").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

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

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

OUT: Documenting fitness_lib... Discovering libraries... ERR: dartdoc 9.0.4 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/pana_IIJJTO/lib/domain/Entities'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:209) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:292)

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

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 20 issues. Showing the first 2:

ERROR: The getter 'id' isn't defined for the type 'Task'.

lib/application/achievements/achievements_service.dart:57:42

   ╷
57 │         .firstWhere((element) => element.id == task.id, orElse: () => Task());
   │                                          ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/application/achievements/achievements_service.dart

ERROR: The getter 'id' isn't defined for the type 'Task'.

lib/application/achievements/achievements_service.dart:57:53

   ╷
57 │         .firstWhere((element) => element.id == task.id, orElse: () => Task());
   │                                                     ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/application/achievements/achievements_service.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 10 errors:

  • UNDEFINED_GETTER - lib/application/achievements/achievements_service.dart:57:42 - The getter 'id' isn't defined for the type 'Task'.
  • UNDEFINED_GETTER - lib/application/achievements/achievements_service.dart:57:53 - The getter 'id' isn't defined for the type 'Task'.
  • UNDEFINED_GETTER - lib/application/converters/convert_task.dart:24:18 - The getter 'id' isn't defined for the type 'Task'.

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.10, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
35
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

Lib for fitness_sync application

License

MIT (license)

More

Packages that depend on fitness_lib