byte_message 1.3.0
byte_message: ^1.3.0 copied to clipboard
Inter-chip 协议编码/解码的纯 Dart 库:提供数据包模型、常量、工具方法、编码器与解码器,支持 |Flag|Len|LenH|Cmd|Payload|Checksum| 格式。
We analyzed this package 10 hours ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
316 out of 348 API elements (90.8 %) have documentation comments.
Some symbols that are missing documentation: byte_message.ChargeStatus, byte_message.ControlBusDecoder.ControlBusDecoder.new, byte_message.ControlBusEncoder.ControlBusEncoder.new, byte_message.ControlBusFactory.ControlBusFactory.new, byte_message.DeviceStatus.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/factories/control_bus_factory.dart:50:13
╷
50 │ /// - List<int>:完整的一层字节流,可直接发送。
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/factories/control_bus_factory.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/factories/control_bus_factory.dart:90:13
╷
90 │ /// - List<int>:完整的一层字节流,可直接发送。
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/factories/control_bus_factory.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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.1, Dart 3.9.4.
Check the analysis log for details.