healthrian_ble_interface 2.11.1
healthrian_ble_interface: ^2.11.1 copied to clipboard
Healthrian BLE interface for multiple devices
We analyzed this package 15 hours ago, and awarded it 95 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://www.healthrian.com/ was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/chan150/healthrian_ble_interface was unreachable. Make sure that the website is reachable via HEAD requests.
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 ("2.11.1").
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
184 out of 1100 API elements (16.7 %) 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_ble_interface.$ChannelDataCopyWith, healthrian_ble_interface.$LeadStateCopyWith, healthrian_ble_interface.$ModuleBleCopyWith, healthrian_ble_interface.$ModuleMonitorCopyWith, healthrian_ble_interface.AdaptiveFilterRT.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:healthrian_ble_interface/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/module/module.dartthat imports:package:healthrian_ble_interface/src/module/module_ble.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_ble_interface/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/healthrian_ble_interface.dartthat imports:package:healthrian_ble_interface/src/module/module.dartthat imports:package:healthrian_ble_interface/src/module/module_ble.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package not compatible with platform Web
Because:
package:healthrian_ble_interface/healthrian_ble_interface.dartthat imports:package:flutter_blue_plus/flutter_blue_plus.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: The left operand can't be null, so the right operand is never executed.
lib/src/module/module_monitor.dart:483:38
╷
483 │ final hrValue = (hr.value ?? 0).toDouble();
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/module/module_monitor.dart
INFO: Uses 'await' on an instance of 'List
lib/src/module/module_ble.dart:102:19
╷
102 │ connected = await FlutterBluePlus.connectedDevices;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/module/module_ble.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
copy_with_extension |
any |
12.0.0 | 12.0.0 | |
equatable |
any |
2.0.8 | 2.0.8 | |
flutter_blue_plus |
any |
2.1.1 | 2.1.1 | |
flutter_mobx |
any |
2.3.0 | 2.3.0 | |
healthrian_common_support |
any |
2.4.4 | 2.4.4 | |
lzma |
any |
1.0.1 | 1.0.1 | |
mobx |
any |
2.6.0 | 2.6.0 | |
permission_handler |
any |
12.0.1 | 12.0.1 | |
rxdart |
any |
0.28.0 | 0.28.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
complex |
- | 0.7.2 | 0.8.0 | |
dbus |
- | 0.7.12 | 0.7.12 | |
ffi |
- | 2.2.0 | 2.2.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_blue_plus_android |
- | 8.1.0 | 8.1.0 | |
flutter_blue_plus_darwin |
- | 8.1.1 | 8.1.1 | |
flutter_blue_plus_linux |
- | 8.1.0 | 8.1.0 | |
flutter_blue_plus_platform_interface |
- | 8.1.0 | 8.1.0 | |
flutter_blue_plus_web |
- | 8.1.0 | 8.1.0 | |
flutter_blue_plus_winrt |
- | 0.0.18 | 0.0.18 | |
iirjdart |
- | 0.1.0 | 0.1.0 | |
json_annotation |
- | 4.10.0 | 4.10.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
nested |
- | 1.0.0 | 1.0.0 | |
permission_handler_android |
- | 13.0.1 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
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.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 229 errors:
UNDEFINED_IDENTIFIER-lib/src/commands/commands_function.dart:31:12- Undefined name 'Crc16'.UNDEFINED_GETTER-lib/src/manager/manager_interface.dart:13:42- The getter 'remoteId' isn't defined for the type 'BluetoothDevice'.STATIC_ACCESS_TO_INSTANCE_MEMBER-lib/src/manager/manager_interface.dart:54:21- Instance member 'connectedDevices' can't be accessed using static access.
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.9, Flutter 3.38.9, Dart 3.10.8.
Check the analysis log for details.