tictoc 0.0.1
tictoc: ^0.0.1 copied to clipboard
Dart network time protocol package by beyo
We analyzed this package 2 days ago, and awarded it 45 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.
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: tictoc, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has multiple matching pubspec.yaml with name: tictoc.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 2 links are insecure.
README.md:12:53
╷
12 │ <p>Due to these limitations, <strong>we utilize the <a href="http://worldtimeapi.org/">WorldTimeAPI</a></strong> to fetch accurate time information <strong>in web environments.</strong> WorldTimeAPI provides a simple and convenient way to get the current time for any timezone, ensuring that our application remains synchronized with real-world time.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 23 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: tictoc, tictoc.TicToc, tictoc.TicToc.TicToc.instantiate, tictoc.TicToc.TicToc.new, tictoc.TicToc.instance.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:tictoc/src/tictoc_core/models/timestamp.freezed.dart'.
lib/src/tictoc_core/models/timestamp.dart:3:6
╷
3 │ part 'timestamp.freezed.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tictoc_core/models/timestamp.dart
ERROR: Target of URI hasn't been generated: 'package:tictoc/src/tictoc_core/models/timestamp.g.dart'.
lib/src/tictoc_core/models/timestamp.dart:4:6
╷
4 │ part 'timestamp.g.dart';
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tictoc_core/models/timestamp.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
easy_network_time |
^1.0.3 |
1.0.3 | 1.0.3 | |
freezed_annotation |
^2.4.4 |
2.4.4 | 3.1.0 | |
ntp |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
timezone |
- | 0.9.4 | 0.10.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
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:
URI_DOES_NOT_EXIST-lib/src/tictoc_core/models/timestamp.dart:3:6- Target of URI doesn't exist: 'package:tictoc/src/tictoc_core/models/timestamp.freezed.dart'.URI_HAS_NOT_BEEN_GENERATED-lib/src/tictoc_core/models/timestamp.dart:4:6- Target of URI hasn't been generated: 'package:tictoc/src/tictoc_core/models/timestamp.g.dart'.REDIRECT_TO_NON_CLASS-lib/src/tictoc_core/models/timestamp.dart:12:8- The name '_TimestampModel' isn't a type and can't be used in a redirected constructor.
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.1, Dart 3.9.4.
Check the analysis log for details.