elapsed_time 0.0.1+2
elapsed_time: ^0.0.1+2 copied to clipboard
easily generate human-readable elaped time.
We analyzed this package on Jan 26, 2021, and awarded it 55 pub points (of a possible 110):
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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. See the example generated by stagehand
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: 20% or more of the public API has dartdoc comments
- 0 out of 11 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
20/20 points: Supports 2 of 2 possible platforms (native, js)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Don't explicitly initialize variables to null.
lib/elapsed_time.dart:13:16
╷
13 │ ElapsedTime({String format1 = null, String format2 = null}){
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/elapsed_time.dart
INFO: Don't explicitly initialize variables to null.
lib/elapsed_time.dart:13:39
╷
13 │ ElapsedTime({String format1 = null, String format2 = null}){
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/elapsed_time.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
intl | ^0.15.7 | 0.15.8 | 0.16.1 |
meta | ^1.0.0 | 1.2.4 | 1.2.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
path | - | 1.7.0 | 1.7.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.15.7` on intl does not support the latest published version `0.16.1`
pubspec.yaml:13:9
╷
13 │ intl: ^0.15.7
│ ^^^^^^^
╵