mtrust_urp_core 9.1.0-dev.20
mtrust_urp_core: ^9.1.0-dev.20 copied to clipboard
Core of the M-Trust URP SDK: connection strategy abstraction, command framing, device commands and firmware transfer for M-Trust readers.
We analyzed this package 11 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/emdgroup/mtrust-urp-sdks was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/emdgroup/mtrust-urp-sdks/issues was unreachable. Make sure that the website is reachable via HEAD requests.
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
1275 out of 2186 API elements (58.3 %) have documentation comments.
Some symbols that are missing documentation: mtrust_urp_core, mtrust_urp_core.BleRXCharacteristicUUIDs, mtrust_urp_core.BleServiceUUIDs, mtrust_urp_core.BleTXCharacteristicUUIDs, mtrust_urp_core.CmdWrapper.CmdWrapper.new.
10/10 points: Package has an example
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:mtrust_urp_core/mtrust_urp_core.dartthat imports:package:mtrust_urp_core/src/log.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:mtrust_urp_core/mtrust_urp_core.dartthat imports:package:mtrust_urp_core/src/log.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/src/command_wrapper.dart:2:8
╷
2 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/command_wrapper.dart
INFO: The referenced name isn't visible in scope.
lib/src/command_wrapper.dart:368:30
╷
368 │ /// Sends [startDFU] with [firmwareSize] set to `data.length`, then
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/command_wrapper.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
basic_utils |
^5.8.2 |
5.8.2 | 5.8.2 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
http |
^1.2.2 |
1.6.0 | 1.6.0 | |
logger |
^2.3.0 |
2.8.0 | 2.8.0 | |
mtrust_urp_types |
^6.3.0 |
6.3.0 | 6.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.3.0 | 4.3.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
posix |
- | 6.5.2 | 6.5.2 | |
protobuf |
- | 3.1.0 | 6.1.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.