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

Healthrian usb support library for connecting health monitoring devices via USB

80/ 160
pub points
67
downloads

We analyzed this package 29 hours ago, and awarded it 80 pub points (of a possible 160):

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

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

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

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.

Passed check 10/10 points: Package has an example

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

Failed check 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.dart that imports:
  • package:healthrian_usb_support/src/usb_port_device/usb_port_device.dart that imports:
  • package:healthrian_usb_support/src/usb_port_device/windows_usb_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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:healthrian_usb_support/src/usb_port_device/windows_usb_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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/transport/usb_transport.dart that imports:
  • package:healthrian_ble_interface/healthrian_ble_interface.dart that imports:
  • package:healthrian_ble_interface/src/healthrian_ble_interface.dart that imports:
  • package:healthrian_ble_interface/src/transport/ble_transport.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:healthrian_usb_support/healthrian_usb_support.dart that imports:
  • package:healthrian_usb_support/src/transport/usb_transport.dart that imports:
  • package:healthrian_ble_interface/healthrian_ble_interface.dart that imports:
  • package:healthrian_ble_interface/src/healthrian_ble_interface.dart that imports:
  • package:healthrian_ble_interface/src/transport/ble_transport.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
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:healthrian_usb_support/src/usb_port_device/windows_usb_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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 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

Failed report section
Support up-to-date dependencies
10 / 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
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.

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

Weekly downloads

Display as:
By versions:
0
likes
80
points
67
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Healthrian usb support library for connecting health monitoring devices via USB

License

MIT (license)

Dependencies

ffi, flutter, flutter_libserialport, healthrian_ble_interface, healthrian_common_support, mobx, usb_serial, win32

More

Packages that depend on healthrian_usb_support