dsalink 2.0.0
dsalink: ^2.0.0 copied to clipboard
DSA IoT Platform - dsalink SDK for Dart
We analyzed this package 4 hours 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 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis http://iot-dsa.org was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 3 links are insecure.
README.md:18:27
╷
18 │ <p>For documentation, see <a href="http://iot-dsa.github.io/docs/sdks/dart/">this page</a>.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
502 out of 1632 API elements (30.8 %) have documentation comments.
Some symbols that are missing documentation: dsalink.broker_discovery, dsalink.broker_discovery.BrokerDiscoverRequest, dsalink.broker_discovery.BrokerDiscoverRequest.BrokerDiscoverRequest.new, dsalink.broker_discovery.BrokerDiscoverRequest.client, dsalink.broker_discovery.BrokerDiscoverRequest.packet.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Linux
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:dsalink/dsalink.dartthat declares support for platforms:Android,iOS,Linux,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:dsalink/dsalink.dartthat imports:package:dsalink/responder.dartthat imports:package:dsalink/common.dartthat imports:package:dsalink/src/crypto/pk.dartthat imports:package:dsalink/src/crypto/dart/pk.dartthat imports:dart:isolate
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:dsalink/dsalink.dartthat imports:package:dsalink/responder.dartthat imports:package:dsalink/common.dartthat imports:package:dsalink/src/crypto/pk.dartthat imports:package:dsalink/src/crypto/dart/pk.dartthat imports:dart:isolate
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 134 issues. Showing the first 2:
INFO: The variable name 'INSTANCE' isn't a lowerCamelCase identifier.
lib/browser_client.dart:52:33
╷
52 │ static final LocalDataStorage INSTANCE = LocalDataStorage();
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/browser_client.dart
INFO: The variable name 'PERMISSION_DENIED' isn't a lowerCamelCase identifier.
lib/common.dart:264:24
╷
264 │ static final DSError PERMISSION_DENIED = DSError('permissionDenied');
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/common.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.4.2 |
2.7.0 | 2.7.0 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
http |
^1.3.0 |
1.6.0 | 1.6.0 | |
json_diff |
^0.2.1 |
0.2.1 | 0.2.1 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
pointycastle |
^4.0.0 |
4.0.0 | 4.0.0 | |
pro_mpack |
^2.0.2 |
2.0.2 | 2.0.2 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
diff_match_patch |
- | 0.4.1 | 0.4.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.2 | 1.18.2 | |
pro_binary |
- | 2.2.0 | 3.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
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.11, Dart 3.11.2.
Check the analysis log for details.