dart_modbus 1.0.0
dart_modbus: ^1.0.0 copied to clipboard
A pure Dart modbus library supporting RTU, ASCII, and TCP client/server implementations
We analyzed this package 27 hours ago, and awarded it 125 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:214:5
╷
214 │ <li><a href="http://www.modbus.org/specs.php">Modbus Specifications</a></li>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
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: modbus.ASCIIClientProvider.ASCIIClientProvider.new, modbus.ClientProvider.ClientProvider.new, modbus.DataConverter.DataConverter.new, modbus.LRC.LRC.new, 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/modbus.dartthat imports:package:dart_modbus/src/config_loader.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: Dead code.
lib/src/register_map.dart:179:9
╷
179 │ break;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/register_map.dart
WARNING: Dead code.
lib/src/register_map.dart:182:9
╷
182 │ break;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/register_map.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.