flutter_leak_canary 1.0.1 copy "flutter_leak_canary: ^1.0.1" to clipboard
flutter_leak_canary: ^1.0.1 copied to clipboard

This is a plugin that can detect whether a certain class has a memory leak. It is similar to Android's LeakCanary.

105/ 160
pub points
15
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://blog.csdn.net/YoYo_Newbie was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

21 out of 83 API elements (25.3 %) have documentation comments.

Some symbols that are missing documentation: flutter_leak_canary, flutter_leak_canary.FlutterLeakCanary, flutter_leak_canary.FlutterLeakCanary.addListener, flutter_leak_canary.FlutterLeakCanary.canaryModels, flutter_leak_canary.FlutterLeakCanary.factory.

Passed check 10/10 points: Package has an example

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:flutter_leak_canary/flutter_leak_canary.dart that declares support for platforms: .
Package does not support platform `iOS`.

Because:

  • package:flutter_leak_canary/flutter_leak_canary.dart that declares support for platforms: .
Package does not support platform `Windows`.

Because:

  • package:flutter_leak_canary/flutter_leak_canary.dart that declares support for platforms: .
Package does not support platform `Linux`.

Because:

  • package:flutter_leak_canary/flutter_leak_canary.dart that declares support for platforms: .
Package does not support platform `macOS`.

Because:

  • package:flutter_leak_canary/flutter_leak_canary.dart that declares support for platforms: .
Package does not support platform `Web`.

Because:

  • package:flutter_leak_canary/flutter_leak_canary.dart that declares support for platforms: .
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 18 issues. Showing the first 2:

WARNING: Unused import: 'package:flutter_leak_canary/leak_canary_state_mixin.dart'.

lib/flutter_leak_canary.dart:10:8

   ╷
10 │ import 'package:flutter_leak_canary/leak_canary_state_mixin.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_leak_canary.dart

WARNING: Unused import: 'package:flutter_leak_canary/leak_canary_simple_mixin.dart'.

lib/flutter_leak_canary.dart:11:8

   ╷
11 │ import 'package:flutter_leak_canary/leak_canary_simple_mixin.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_leak_canary.dart

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

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

Package Constraint Compatible Latest Notes
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
vm_service ^12.0.0 12.0.0 15.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.0

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

The constraint `^12.0.0` on vm_service does not support the stable version `13.0.0`.

Try running dart pub upgrade --major-versions vm_service to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
105
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

This is a plugin that can detect whether a certain class has a memory leak. It is similar to Android's LeakCanary.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, vm_service

More

Packages that depend on flutter_leak_canary

Packages that implement flutter_leak_canary