crlibserialport 0.3.0+2 copy "crlibserialport: ^0.3.0+2" to clipboard
crlibserialport: ^0.3.0+2 copied to clipboard

Serial Port for Dart (FFI bindings to libserialport, a minimal C-library created by the sigrok).

0
likes
120/ 140
pub points
43%
popularity

We analyzed this package 13 days ago, and awarded it 120 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/jpnurmi/libserialport.dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: crlibserialport,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: crlibserialport.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: LGPL-3.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

112 out of 114 API elements (98.2 %) have documentation comments.

Some symbols that are missing documentation: crlibserialport.SerialPortError, crlibserialport.SerialPortError.SerialPortError.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:crlibserialport/crlibserialport.dart that imports:
  • package:crlibserialport/src/reader.dart that imports:
  • package:crlibserialport/src/util.dart that imports:
  • package:crlibserialport/src/port.dart that imports:
  • package:crlibserialport/src/error.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

lib/src/bindings.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
dylib ^0.3.2 0.3.3 0.3.3
ffi ^2.0.1 2.1.2 2.1.2
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
platform - 3.1.4 3.1.4

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
120
pub points
43%
popularity

Publisher

unverified uploader

Serial Port for Dart (FFI bindings to libserialport, a minimal C-library created by the sigrok).

Repository (GitHub)
View/report issues

Documentation

API reference

License

LGPL-3.0 (LICENSE)

Dependencies

dylib, ffi

More

Packages that depend on crlibserialport