dart_mqtt 1.0.5 dart_mqtt: ^1.0.5 copied to clipboard
a mqtt library to easy connect via tcp/ssl,dependence xtransport,developing,not stable.
We analyzed this package 14 days ago, and awarded it 130 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: GPL-3.0
.
10/10 points: 20% or more of the public API has dartdoc comments
42 out of 73 API elements (57.5 %) have documentation comments.
Some symbols that are missing documentation: dart_mqtt.BadCertificateHandler
, dart_mqtt.EvtMqttPublishArrived
, dart_mqtt.MqttClient.connectPacket
, dart_mqtt.MqttClient.instance
, dart_mqtt.MqttClient.keepAlive
.
10/10 points: Package has an example
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:dart_mqtt/dart_mqtt.dart
that imports:package:xtransport/src/ws.dart
that imports:package:xtransport/src/ws_html.dart
that imports:package:xtransport/src/shared/credentials.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/src/client.dart:323:13
╷
323 │ while(_buf.bytes.length > 0){
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client.dart
lib/src/client.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
xtransport |
^0.0.5 |
0.0.5 | 0.0.5 |
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
Analyzed with Pana 0.22.2
, Dart 3.3.0
.
Check the analysis log for details.