zwave 0.10.0
zwave: ^0.10.0 copied to clipboard
A Dart Library for interacting with Z-Wave devices on Linux.
We analyzed this package on Mar 4, 2021, and awarded it 75 pub points (of a possible 110):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:17:1
╷
17 │ <a href="http://aeotec.com/z-wave-usb-stick">Aeon Labs Aeotec Z-Wave Z-Stick, Gen5 (ZW090)</a>.</li>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Package has an example
- Found example at:
example/example.dart
0/10 points: 20% or more of the public API has dartdoc comments
- 179 out of 1397 API elements (12.8 %) 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.
10/20 points: Supports 1 of 2 possible platforms (native, js)
Consider supporting multiple platforms:
Package not compatible with runtime js
Because:
package:zwave/port/rpi_zw_port.dart
that imports:package:zwave/port/zw_port.dart
that imports:dart:isolate
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
INFO: Dead code.
bin/check_port.dart:49:3
╷
49 │ return null;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer bin/check_port.dart
INFO: DO use curly braces for all flow control structures.
lib/capability/node_naming.dart:41:7
╷
41 │ throw 'invalid name: $name';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/capability/node_naming.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
logging | ^0.11.3 | 0.11.4 | 1.0.0 |
path | ^1.6.4 | 1.8.0 | 1.8.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.11.3` on logging does not support the stable version `1.0.0`, that was published 26 days ago.
When logging is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions logging
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.15.2
,
Dart 2.12.0
.