libserialport 0.3.0+1 copy "libserialport: ^0.3.0+1" to clipboard
libserialport: ^0.3.0+1 copied to clipboard

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

73
likes
150/ 160
pub points
82
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/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.

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

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

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

Detected license: LGPL-3.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

112 out of 126 API elements (88.9 %) have documentation comments.

Some symbols that are missing documentation: libserialport.SerialPortBuffer.SerialPortBuffer.new, libserialport.SerialPortCts.SerialPortCts.new, libserialport.SerialPortDsr.SerialPortDsr.new, libserialport.SerialPortDtr.SerialPortDtr.new, libserialport.SerialPortError.

Passed check 10/10 points: Package has an example

Failed 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:libserialport/libserialport.dart that imports:
  • package:libserialport/src/reader.dart that imports:
  • package:libserialport/src/util.dart that imports:
  • package:libserialport/src/port.dart that imports:
  • package:libserialport/src/error.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:libserialport/libserialport.dart that imports:
  • package:libserialport/src/reader.dart that imports:
  • package:libserialport/src/util.dart that imports:
  • package:libserialport/src/port.dart that imports:
  • package:libserialport/src/error.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

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

To format your files run: dart format .

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
dylib ^0.3.2 0.3.3 0.3.3
ffi ^2.0.1 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6

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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 26Jul 24Aug 21Sep 18Oct 16Nov 13Dec 11Jan 8Feb 5Mar 505101520253035404550>=0.0.0-0 <1.0.0
73
likes
150
points
82
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.11 - 2025.03.26

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 libserialport