healthrian_usb_support 1.4.6
healthrian_usb_support: ^1.4.6 copied to clipboard
Healthrian usb support library for connecting health monitoring devices via USB
We analyzed this package 29 hours ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
15 out of 146 API elements (10.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: healthrian_usb_support, healthrian_usb_support.EcgConverter, healthrian_usb_support.EcgConverter.EcgConverter.new, healthrian_usb_support.EcgConverter.convertData, healthrian_usb_support.EcgConverter.convertMeta.
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:healthrian_usb_support/healthrian_usb_support.dartthat imports:package:healthrian_usb_support/src/usb_port_device/usb_port_device.dartthat imports:package:healthrian_usb_support/src/usb_port_device/windows_usb_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:healthrian_usb_support/healthrian_usb_support.dartthat imports:package:healthrian_usb_support/src/usb_port_device/usb_port_device.dartthat imports:package:healthrian_usb_support/src/usb_port_device/windows_usb_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Windows`.
Because:
package:healthrian_usb_support/healthrian_usb_support.dartthat imports:package:healthrian_usb_support/src/usb_port_device/usb_port_device.dartthat imports:package:usb_serial/usb_serial.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:healthrian_usb_support/healthrian_usb_support.dartthat imports:package:healthrian_usb_support/src/transport/usb_transport.dartthat imports:package:healthrian_ble_interface/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/transport/ble_transport.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:healthrian_usb_support/healthrian_usb_support.dartthat imports:package:healthrian_usb_support/src/transport/usb_transport.dartthat imports:package:healthrian_ble_interface/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/transport/ble_transport.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `Web`.
Because:
package:healthrian_usb_support/healthrian_usb_support.dartthat imports:package:healthrian_usb_support/src/usb_port_device/usb_port_device.dartthat imports:package:healthrian_usb_support/src/usb_port_device/windows_usb_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
INFO: The type name '_leadLabel' isn't an UpperCamelCase identifier.
lib/src/convert/ecg_converter.dart:23:6
╷
23 │ enum _leadLabel {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/convert/ecg_converter.dart
INFO: Uses 'await' on an instance of 'List
lib/src/device/lib_cardio_click.dart:15:22
╷
15 │ final fwData = await PacketCommandCardioClick.parsePacket(fw ?? [])?.data ?? [];
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/device/lib_cardio_click.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
any |
2.2.0 | 2.2.0 | |
flutter_libserialport |
any |
0.6.0 | 0.6.0 | |
healthrian_ble_interface |
any |
2.13.6 | 2.13.6 | |
healthrian_common_support |
any |
2.5.4 | 2.5.4 | |
mobx |
any |
2.6.0 | 2.6.0 | |
usb_serial |
any |
0.5.2 | 0.5.2 | |
win32 |
^5.15.0 |
5.15.0 | 6.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
complex |
- | 0.7.2 | 0.8.0 | |
copy_with_extension |
- | 15.0.1 | 15.0.1 | |
dbus |
- | 0.7.13 | 0.7.13 | |
dylib |
- | 0.3.3 | 0.3.3 | |
equatable |
- | 2.0.8 | 2.0.8 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_blue_plus |
- | 2.3.4 | 2.3.4 | |
flutter_blue_plus_android |
- | 9.0.0 | 9.0.0 | |
flutter_blue_plus_darwin |
- | 9.0.0 | 9.0.0 | |
flutter_blue_plus_linux |
- | 9.0.0 | 9.0.0 | |
flutter_blue_plus_platform_interface |
- | 9.0.0 | 9.0.0 | |
flutter_blue_plus_web |
- | 9.0.0 | 9.0.0 | |
flutter_blue_plus_winrt |
- | 0.0.20 | 0.0.20 | |
flutter_mobx |
- | 2.3.0 | 2.3.0 | |
iirjdart |
- | 0.1.0 | 0.1.0 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
libserialport |
- | 0.3.0+1 | 0.3.0+1 | |
lzma |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.2 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler |
- | 12.0.2 | 12.0.2 | |
permission_handler_android |
- | 13.0.1 | 13.0.1 | |
permission_handler_apple |
- | 9.4.8 | 9.4.8 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 7.0.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.15.0` on win32 does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions win32 to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 22 errors:
CONST_WITH_NON_CONSTANT_ARGUMENT-lib/src/convert/ecg_converter.dart:6:16- Arguments of a constant creation must be constant expressions.UNDEFINED_PREFIXED_NAME-lib/src/convert/ecg_converter.dart:6:23- The name 'l3' is being referenced through the prefix 'common', but it isn't defined in any of the libraries imported using that prefix.CONST_WITH_NON_CONSTANT_ARGUMENT-lib/src/convert/ecg_converter.dart:7:17- Arguments of a constant creation must be constant expressions.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.