zwave 0.10.0

Dart native
Flutter Android iOS

A Dart Library for interacting with Z-Wave devices on Linux.

0
likes
75 / 110
pub points
4 %
popularity

We analyzed this package on Jul 31, 2020, and awarded it 75 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

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

Provide documentation
10 / 20

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.

Support multiple platforms
10 / 20

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
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 109 issues. Showing the first 2:

INFO: The function main should have a return type but doesn't.

bin/build_lib.dart:9:1

  ╷
9 │ main(List<String> args) {
  │ ^^^^
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer bin/build_lib.dart

INFO: Omit type annotations for local variables.

bin/build_lib.dart:11:3

   ╷
11 │   File dartVm = File(Platform.executable);
   │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer bin/build_lib.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
logging^0.11.30.11.40.11.4
path^1.6.41.7.01.7.0

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

0
likes
75
pub points
4%
popularity

A Dart Library for interacting with Z-Wave devices on Linux.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

danrubel@google.com
devoncarew@google.com
dan.rubel.usa@gmail.com

License

BSD (LICENSE)

Dependencies

logging, path

More

Packages that depend on zwave