x_apm 2.0.0
x_apm: ^2.0.0 copied to clipboard
X APM
We analyzed this package 4 days ago, and awarded it 115 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 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://gitee.com/gentlemanxzh/x-apm.git 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` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
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
54 out of 92 API elements (58.7 %) have documentation comments.
Some symbols that are missing documentation: x_apm, x_apm.ApmConfig.ApmConfig.new, x_apm.ApmHttpOverrides.ApmHttpOverrides.new, x_apm.ApmHttpOverrides.customHttpOverrides, x_apm.ApmWidgetsBindingObserver.ApmWidgetsBindingObserver.new.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:x_apm/x_apm.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:x_apm/x_apm.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:x_apm/x_apm.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:x_apm/x_apm.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:x_apm/x_apm.dartthat imports:package:x_apm/src/core/x_apm.dartthat imports:package:x_apm/src/core/application_profile_manager.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:x_apm/x_apm.dartthat imports:package:x_apm/src/core/x_apm.dartthat imports:package:x_apm/src/core/error/error_trace.dartthat imports:package:x_apm/src/core/apm_reporter.dartthat imports:package:x_apm/src/core/x_apm_manager.dartthat imports:package:x_apm/src/recorder/apm_recorder.dartthat imports:package:x_apm/src/recorder/page_fps_recorder.dartthat imports:package:x_apm/src/core/fps/fps_monitor.dartthat imports:package:x_apm/src/core/fps/fps_reporter.dartthat imports:package:x_apm/src/utils/frame_util.dartthat imports:package:flutter_displaymode/flutter_displaymode.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:x_apm/x_apm.dartthat imports:package:x_apm/src/core/x_apm.dartthat imports:package:x_apm/src/core/application_profile_manager.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:win32/win32.dartthat imports:package:win32/src/com/iwbemservices.dartthat imports:package:win32/src/com/iunknown.dartthat imports:package:win32/src/utils.dartthat imports:package:win32/src/win32/user32.g.dartthat imports:package:win32/src/variant.dartthat imports:package:win32/src/structs.g.dartthat imports:package:win32/src/guid.dartthat imports:package:win32/src/win32/ole32.g.dartthat imports:package:win32/src/combase.dartthat imports:package:win32/src/macros.dartthat imports:package:win32/src/constants.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
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.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/x_apm/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 55 issues. Showing the first 2:
WARNING: Unused import: 'page/page_load_data_manager.dart'.
lib/src/core/apm_widgets_binding_observer.dart:6:8
╷
6 │ import 'page/page_load_data_manager.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/apm_widgets_binding_observer.dart
WARNING: The stack trace variable 'stacktrace' isn't used and can be removed.
lib/src/core/x_apm.dart:125:25
╷
125 │ } catch (exception, stacktrace) {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/x_apm.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
android_id |
^0.3.6 |
0.3.6 | 0.4.0 | |
connectivity_plus |
^3.0.3 |
3.0.6 | 7.0.0 | |
device_info_plus |
^8.1.0 |
8.2.2 | 12.2.0 | |
flutter_displaymode |
^0.6.0 |
0.6.0 | 0.7.0 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
http |
^0.13.6 |
0.13.6 | 1.5.0 | |
package_info_plus |
^3.0.3 |
3.1.2 | 9.0.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
uuid |
^4.1.0 |
4.5.1 | 4.5.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 4.1.4 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 6 issues. Showing the first 2:
The constraint `^0.3.6` on android_id does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions android_id to update the constraint.
The constraint `^3.0.3` on connectivity_plus does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus 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.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.