bpriver_versioning 0.6.0
bpriver_versioning: ^0.6.0 copied to clipboard
this package is bpriver_versioning library.
We analyzed this package 3 days ago, and awarded it 115 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.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
83 out of 222 API elements (37.4 %) have documentation comments.
Some symbols that are missing documentation: bpriver_versioning, bpriver_versioning.BpriverVersioning, bpriver_versioning.BpriverVersioning.fromStruct, bpriver_versioning.BpriverVersioning.major, bpriver_versioning.BpriverVersioning.majorVersion.
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
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/bpriver_versioning/bpriver_versioning.dart:106:71
╷
106 │ if (lookResult is! Success<String, BpriverScannerExceptionC>) return Failure(BpriverVersioningExceptionB(), log.monitor({
│ ┌───────────────────────────────────────────────────────────────────────^
107 │ │ 'exception': lookResult.wrapped,
108 │ │ 'source': scanner.source.join(),
109 │ └ }));
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/bpriver_versioning/bpriver_versioning.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/bpriver_versioning/bpriver_versioning.dart:135:32
╷
135 │ if(result == null) return Failure(BpriverVersioningExceptionB(), log.monitor({
│ ┌────────────────────────────────^
136 │ │ 'int parse source': source,
137 │ │ 'source': scanner.source.join(),
138 │ └ }));
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/bpriver_versioning/bpriver_versioning.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bpriver_json |
^0.1.0 |
0.1.0 | 0.1.2 | |
bpriver_origin |
^2.1.0 |
2.2.1 | 4.2.1 | |
bpriver_syntax_scanner |
^0.9.1 |
0.9.1 | 0.13.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.1.0` on bpriver_origin does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions bpriver_origin to update the constraint.
The constraint `^0.9.1` on bpriver_syntax_scanner does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions bpriver_syntax_scanner to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.