byte_message 1.6.0
byte_message: ^1.6.0 copied to clipboard
Inter-chip 协议编码/解码的纯 Dart 库:提供数据包模型、常量、工具方法、编码器与解码器,支持 |Flag|Len|LenH|Cmd|Payload|Checksum| 格式。
We analyzed this package 9 hours ago, and awarded it 135 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.
Issue tracker URL doesn't exist.
At the time of the analysis https://gitee.com/quantsai/byte-message/issues was unreachable. Make sure that the website is reachable via HEAD requests.
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
372 out of 407 API elements (91.4 %) 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.
10/10 points: Package has 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:55:13
╷
55 │ /// - 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:95:13
╷
95 │ /// - 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.5, Dart 3.10.7.
Check the analysis log for details.