healthrian_usb_support 1.4.2 copy "healthrian_usb_support: ^1.4.2" to clipboard
healthrian_usb_support: ^1.4.2 copied to clipboard

PlatformAndroid

Healthrian usb support library for connecting health monitoring devices via USB

105/ 160
pub points
81
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 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.

Passed check 10/10 points: Package has an example

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

Passed check 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.dart that imports:
  • package:healthrian_usb_support/src/usb_port_device/usb_port_device.dart that imports:
  • package:usb_serial/usb_serial.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:healthrian_usb_support/healthrian_usb_support.dart that imports:
  • package:healthrian_usb_support/src/usb_port_device/usb_port_device.dart that imports:
  • package:usb_serial/usb_serial.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:healthrian_usb_support/healthrian_usb_support.dart that imports:
  • package:healthrian_usb_support/src/usb_port_device/usb_port_device.dart that imports:
  • package:usb_serial/usb_serial.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:healthrian_usb_support/healthrian_usb_support.dart that imports:
  • package:healthrian_usb_support/src/usb_port_device/usb_port_device.dart that imports:
  • package:usb_serial/usb_serial.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:healthrian_usb_support/healthrian_usb_support.dart that imports:
  • package:healthrian_usb_support/src/usb_port_device/usb_port_device.dart that imports:
  • package:usb_serial/usb_serial.dart that declares support for platforms: Android.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

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

Weekly downloads

Display as:
By versions:
0
likes
105
points
81
downloads

Publisher

unverified uploader

Weekly Downloads

Healthrian usb support library for connecting health monitoring devices via USB

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_libserialport, healthrian_common_support, mobx, usb_serial

More

Packages that depend on healthrian_usb_support