leak_tracker_testing 3.0.1 copy "leak_tracker_testing: ^3.0.1" to clipboard
leak_tracker_testing: ^3.0.1 copied to clipboard

Leak tracking code intended for usage in tests.

0
likes
120/ 160
pub points
3.08M
downloads

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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/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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:leak_tracker_testing/leak_tracker_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

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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
leak_tracker >=9.0.0 <11.0.0 10.0.9 10.0.9
matcher ^0.12.16 0.12.17 0.12.17
meta ^1.11.0 1.16.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
vm_service - 15.0.0 15.0.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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:38:31 - The name 'IgnoredLeaks' isn't a class.
  • CREATION_WITH_NON_TYPE - lib/src/leak_testing.dart:40:29 - The name 'none' isn't a class.
  • UNDEFINED_METHOD - lib/src/leak_testing.dart:90: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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 23Jul 21Aug 18Sep 15Oct 13Nov 10Dec 8Jan 5Feb 2Mar 20100k200k300k400k500k600k700k800k>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0
0
likes
120
points
3.08M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

2024.09.08 - 2025.03.23

Leak tracking code intended for usage in tests.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

leak_tracker, matcher, meta

More

Packages that depend on leak_tracker_testing