midi 0.1.0 midi: ^0.1.0 copied to clipboard
A Dart binding to ALSA midi using FFI
We analyzed this package 2 days ago, and awarded it 105 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:9:49
╷
9 │ <p>Please file feature requests and bugs at the <a href="http://github.com/maks/dart_midi/issues">issue tracker</a>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 3107 API elements (0.1 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: alsa_generated_bindings
, alsa_generated_bindings.ALSA
, alsa_generated_bindings.ALSA.a64l
, alsa_generated_bindings.ALSA.abort
, alsa_generated_bindings.ALSA.abs
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Linux
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:midi/midi.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:midi/midi.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:midi/midi.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:midi/midi.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:midi/midi.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:midi/midi.dart
that imports:package:midi/midi_message.dart
that imports:package:midi/alsa_midi_device.dart
that imports:package:midi/alsa_generated_bindings.dart
that imports:dart:ffi
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 1315 issues. Showing the first 2:
WARNING: The value of the field '_val_' isn't used.
lib/alsa_generated_bindings.dart:29484:31
╷
29484 │ external ffi.Array<ffi.Int> _val_;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/alsa_generated_bindings.dart
WARNING: The value of the field '_count_' isn't used.
lib/alsa_generated_bindings.dart:29497:16
╷
29497 │ external int _count_;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/alsa_generated_bindings.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi |
^2.0.2 |
2.1.3 | 2.1.3 |
tuple |
^2.0.0 |
2.0.2 | 2.0.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.22.15
, Dart 3.5.4
.
Check the analysis log for details.