dart_modbus 1.0.1
dart_modbus: ^1.0.1 copied to clipboard
A pure Dart modbus library supporting RTU, ASCII, and TCP client/server implementations
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
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:260:5
╷
260 │ <li><a href="http://www.modbus.org/specs.php">Modbus Specifications</a></li>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.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.
10/10 points: 20% or more of the public API has dartdoc comments
155 out of 241 API elements (64.3 %) have documentation comments.
Some symbols that are missing documentation: dart_modbus.ASCIIClientProvider.ASCIIClientProvider.new, dart_modbus.ClientProvider.ClientProvider.new, dart_modbus.DataConverter.DataConverter.new, dart_modbus.LRC.LRC.new, dart_modbus.ModbusClient.ModbusClient.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:dart_modbus/dart_modbus.dartthat imports:package:dart_modbus/src/config_loader.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Dangling library doc comment.
lib/src/crc.dart:1:1
╷
1 │ /// Cyclical Redundancy Checking for Modbus RTU
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/crc.dart
INFO: Dangling library doc comment.
lib/src/lrc.dart:1:1
╷
1 │ /// Longitudinal Redundancy Check for Modbus ASCII
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/lrc.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
yaml |
^3.1.0 |
3.1.4 | 3.1.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.4.
Check the analysis log for details.