rmonitor_base 0.4.12 copy "rmonitor_base: ^0.4.12" to clipboard
rmonitor_base: ^0.4.12 copied to clipboard

RMonitor Flutter 性能监控基础模块

1
likes
105/ 160
pub points
134
downloads

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

Failed report section
Follow Dart file conventions
5 / 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.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

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

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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

148 out of 201 API elements (73.6 %) have documentation comments.

Some symbols that are missing documentation: rmonitor_base, rmonitor_base.APMOptions.APMOptions.new, rmonitor_base.AndroidDeviceInfo.AndroidDeviceInfo.forMap, rmonitor_base.AndroidDeviceInfo.brand, rmonitor_base.AndroidDeviceInfo.cpuName.

Passed check 10/10 points: Package has an example

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

Passed check 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:rmonitor_base/rmonitor_base.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:rmonitor_base/rmonitor_base.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:rmonitor_base/rmonitor_base.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:rmonitor_base/rmonitor_base.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:rmonitor_base/rmonitor_base.dart that imports:
  • package:rmonitor_base/src/lifecycle/app_session.dart that imports:
  • package:rmonitor_base/src/lifecycle/app_lifecycle.dart that imports:
  • package:rmonitor_base/src/base/logger.dart that imports:
  • package:rmonitor_base/src/base/base_info.dart that imports:
  • package:rmonitor_base/src/base/device/device_plugin.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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/rmonitor_base/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.

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 26 issues. Showing the first 2:

WARNING: Missing case clause for 'hidden'.

lib/src/lifecycle/app_lifecycle.dart:127:5

    ╷
127 │     switch (state) {
    │     ^^^^^^^^^^^^^^
    ╵

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

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/src/task/default_tasks.dart:41:18

   ╷
41 │     if (instance != null) {
   │                  ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/task/default_tasks.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
path_provider ^2.0.2 2.1.5 2.1.5
shared_preferences ^2.0.7 2.5.3 2.5.3
uuid ^3.0.6 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

The constraint `^3.0.6` on uuid does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions uuid 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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
105
points
134
downloads

Publisher

unverified uploader

Weekly Downloads

RMonitor Flutter 性能监控基础模块

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, path_provider, shared_preferences, uuid

More

Packages that depend on rmonitor_base