leak_tracker_testing 1.0.6 leak_tracker_testing: ^1.0.6 copied to clipboard
Leak tracking code intended for usage in tests.
We analyzed this package 4 days ago, and awarded it 70 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 60 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
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
19 out of 20 API elements (95.0 %) have documentation comments.
Some symbols that are missing documentation: leak_tracker_testing
.
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:leak_tracker_testing/leak_tracker_testing.dart
that imports:package:leak_tracker_testing/src/leak_testing.dart
that imports:package:leak_tracker_testing/src/matchers.dart
that imports:package:leak_tracker/leak_tracker.dart
that imports:package:leak_tracker/src/leak_tracking/leak_tracking.dart
that imports:package:leak_tracker/src/leak_tracking/_leak_tracker.dart
that imports:package:leak_tracker/src/leak_tracking/_object_tracker.dart
that imports:package:leak_tracker/src/leak_tracking/primitives/_retaining_path/_connection.dart
that imports:package:vm_service/vm_service_io.dart
that imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The named parameter 'notGCed' isn't defined.
lib/src/leak_testing.dart:128:9
╷
128 │ notGCed: ignoredLeaks.notGCed.merge(
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/leak_testing.dart
ERROR: The getter 'notGCed' isn't defined for the type 'IgnoredLeaks'.
lib/src/leak_testing.dart:128:31
╷
128 │ notGCed: ignoredLeaks.notGCed.merge(
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/leak_testing.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
leak_tracker |
>=9.0.0 <11.0.0 |
10.0.5 | 10.0.5 |
matcher |
^0.12.16 |
0.12.16+1 | 0.12.16+1 |
meta |
^1.11.0 |
1.15.0 | 1.15.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
path |
- | 1.9.0 | 1.9.0 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.2 | 0.7.2 |
vm_service |
- | 14.2.3 | 14.2.3 |
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 13 errors:
CREATION_WITH_NON_TYPE
-lib/src/leak_testing.dart:40:31
- The name 'IgnoredLeaks' isn't a class.CREATION_WITH_NON_TYPE
-lib/src/leak_testing.dart:44:29
- The name 'none' isn't a class.UNDEFINED_METHOD
-lib/src/leak_testing.dart:76:50
- The method 'copyWith' isn't defined for the type 'LeakDiagnosticConfig'.
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.22.5
, Dart 3.4.1
.
Check the analysis log for details.