healthrian_usb_support 1.4.2
healthrian_usb_support: ^1.4.2 copied to clipboard
Healthrian usb support library for connecting health monitoring devices via USB
We analyzed this package 5 days ago, and awarded it 105 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
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.4.2").
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.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 133 API elements (1.5 %) 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
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
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:usb_serial/usb_serial.dartthat declares support for platforms:Android.
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/usb_port_device/usb_port_device.dartthat imports:package:usb_serial/usb_serial.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
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 `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:usb_serial/usb_serial.dartthat declares support for platforms:Android.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 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
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_libserialport |
any |
0.6.0 | 0.6.0 | |
healthrian_common_support |
any |
2.4.4 | 2.4.4 | |
mobx |
any |
2.6.0 | 2.6.0 | |
usb_serial |
any |
0.5.2 | 0.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
complex |
- | 0.7.2 | 0.8.0 | |
copy_with_extension |
- | 12.1.0 | 12.1.0 | |
dylib |
- | 0.3.3 | 0.3.3 | |
equatable |
- | 2.0.8 | 2.0.8 | |
ffi |
- | 2.2.0 | 2.2.0 | |
iirjdart |
- | 0.1.0 | 0.1.0 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
libserialport |
- | 0.3.0+1 | 0.3.0+1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 21 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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.