byte_message 1.3.0 copy "byte_message: ^1.3.0" to clipboard
byte_message: ^1.3.0 copied to clipboard

Inter-chip 协议编码/解码的纯 Dart 库:提供数据包模型、常量、工具方法、编码器与解码器,支持 |Flag|Len|LenH|Cmd|Payload|Checksum| 格式。

125/ 160
pub points
0
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 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.

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

Failed check 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.

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.

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

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

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

No dependencies.

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.23.1, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
125
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Inter-chip 协议编码/解码的纯 Dart 库:提供数据包模型、常量、工具方法、编码器与解码器,支持 |Flag|Len|LenH|Cmd|Payload|Checksum| 格式。

Repository
View/report issues

Topics

#byte-message #protocol #inter-chip

Documentation

API reference

License

MIT (license)

More

Packages that depend on byte_message