flutter_leak_canary 1.0.1
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.
We analyzed this package 17 hours ago, and awarded it 105 pub points (of a possible 160):
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.
5/5 points: Provide a valid README.md
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.
10/10 points: Use an OSI-approved license
Detected license: MIT.
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.
10/10 points: Package has an example
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.dartthat declares support for platforms: .
Package does not support platform `iOS`.
Because:
package:flutter_leak_canary/flutter_leak_canary.dartthat declares support for platforms: .
Package does not support platform `Windows`.
Because:
package:flutter_leak_canary/flutter_leak_canary.dartthat declares support for platforms: .
Package does not support platform `Linux`.
Because:
package:flutter_leak_canary/flutter_leak_canary.dartthat declares support for platforms: .
Package does not support platform `macOS`.
Because:
package:flutter_leak_canary/flutter_leak_canary.dartthat declares support for platforms: .
Package does not support platform `Web`.
Because:
package:flutter_leak_canary/flutter_leak_canary.dartthat declares support for platforms: .
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
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.
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.23.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.