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
96%
popularity

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

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

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

failed
Platform support
20 / 20trigger folding of the section

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

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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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.8 10.0.8
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
async - 2.12.0 2.12.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.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
vm_service - 14.3.1 14.3.1

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: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.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
120
pub points
96%
popularity

Publisher

verified publishertools.dart.dev

Leak tracking code intended for usage in tests.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

leak_tracker, matcher, meta

More

Packages that depend on leak_tracker_testing