shsp_implementations 1.0.1
shsp_implementations: ^1.0.1 copied to clipboard
Complete implementation of Single HandShake Protocol (SHSP) - provides UDP sockets, handshake logic, and utilities for peer-to-peer networking.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/lgualandi/SingleHandShakeProtocolDart was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/lgualandi/SingleHandShakeProtocolDart was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/lgualandi/SingleHandShakeProtocolDart/issues was unreachable. Make sure that the website is reachable via HEAD requests.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
140 out of 194 API elements (72.2 %) have documentation comments.
Some symbols that are missing documentation: connection, connection.defaultHandshakeTimeInput, handshake_ip, handshake_ip.HandshakeIP, handshake_ip.HandshakeIP.HandshakeIP.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:shsp_implementations/shsp_implementations.dartthat imports:package:shsp_implementations/src/utility/message_callback_map.dartthat imports:package:shsp_types/shsp_types.dartthat imports:package:shsp_types/src/peer_types.dartthat imports:package:shsp_types/src/internet_address_converter.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: The getter doesn't override an inherited getter.
lib/src/shsp_instance.dart:155:11
╷
155 │ int get keepAliveSeconds => _keepAliveSeconds;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/shsp_instance.dart
WARNING: The setter doesn't override an inherited setter.
lib/src/shsp_instance.dart:158:7
╷
158 │ set keepAliveSeconds(int seconds) {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/shsp_instance.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock_dart |
^1.0.0 |
1.0.0 | 1.0.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
meta |
^1.17.0 |
1.18.0 | 1.18.0 | |
shsp_interfaces |
^1.0.0 |
1.0.0 | 1.0.0 | |
shsp_types |
^1.0.0 |
1.0.1 | 1.0.1 | |
stun |
^1.0.0 |
1.0.1 | 1.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ntp |
- | 2.0.0 | 2.0.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
URI_DOES_NOT_EXIST-lib/connection/handshake_ip.dart:3:8- Target of URI doesn't exist: 'package:stun/stun.dart'.UNDEFINED_METHOD-lib/connection/handshake_ip.dart:36:21- The method 'StunHandler' isn't defined for the type 'HandshakeIP'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.