code_coverage 2.0.1
code_coverage: ^2.0.1 copied to clipboard
A CLI tool and package useful for reporting code coverage of a given dart package
We analyzed this package 28 hours ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
14 out of 59 API elements (23.7 %) have documentation comments.
Some symbols that are missing documentation: code_coverage
, code_coverage.CodeCoverageExtractor.CodeCoverageExtractor.new
, code_coverage.CodeCoverageExtractor.coverageReportFactory
, code_coverage.CodeCoverageExtractor.hasTestDirectory
, code_coverage.CodeCoverageExtractor.hitmapReader
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:code_coverage/code_coverage.dart
that imports:package:code_coverage/src/components/coverage_report_factory.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:code_coverage/code_coverage.dart
that imports:package:code_coverage/src/components/coverage_report_factory.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: An uninitialized variable should have an explicit type annotation.
bin/utils.dart:6:7
╷
6 │ var sequenceStart;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/utils.dart
INFO: 'mergeHitmaps' is deprecated and shouldn't be used. Migrate to FileHitMaps.merge.
lib/src/components/hitmap_reader.dart:17:16
╷
17 │ coverage.mergeHitmaps(hitMap, totalHitMap);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/components/hitmap_reader.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ansicolor |
^2.0.1 |
2.0.3 | 2.0.3 | |
args |
^2.0.0 |
2.7.0 | 2.7.0 | |
cli_table |
^1.0.2 |
1.0.2 | 1.0.2 | |
coverage |
^1.0.2 |
1.14.1 | 1.14.1 | |
dart_console |
^4.1.1 |
4.1.2 | 4.1.2 | |
path |
^1.7.0 |
1.9.1 | 1.9.1 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ansi_regex |
- | 0.1.2 | 0.1.2 | |
ansi_strip |
- | 0.1.1+1 | 0.1.1+1 | |
async |
- | 2.13.0 | 2.13.0 | |
chalkdart |
- | 2.4.0 | 3.0.5 | |
characters |
- | 1.4.1 | 1.4.1 | |
cli_config |
- | 0.2.0 | 0.2.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
east_asian_width |
- | 1.0.1 | 1.0.1 | |
emoji_regex |
- | 0.0.5 | 0.0.5 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
intl |
- | 0.20.2 | 0.20.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
source_maps |
- | 0.10.13 | 0.10.13 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
string_width |
- | 0.1.5 | 0.1.5 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
wcwidth |
- | 0.0.4 | 0.0.4 | |
win32 |
- | 5.14.0 | 5.14.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Dart 3.8.1
.
Check the analysis log for details.