dart_modbus 1.0.0 copy "dart_modbus: ^1.0.0" to clipboard
dart_modbus: ^1.0.0 copied to clipboard

A pure Dart modbus library supporting RTU, ASCII, and TCP client/server implementations

125/ 160
pub points
35
downloads

We analyzed this package 27 hours ago, and awarded it 125 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:dart_modbus/src/config_loader.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 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.

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

Passed check 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.

Weekly downloads

Display as:
By versions:
5
likes
125
points
35
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A pure Dart modbus library supporting RTU, ASCII, and TCP client/server implementations

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

yaml

More

Packages that depend on dart_modbus