fitness_lib 1.0.3
fitness_lib: ^1.0.3 copied to clipboard
Lib for fitness_sync application
We analyzed this package 3 days ago, and awarded it 35 pub points (of a possible 160):
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:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: fitness_lib, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
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.
10/10 points: Use an OSI-approved license
Detected license: MIT.
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)
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
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
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 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.