shsp_implementations 1.0.1 copy "shsp_implementations: ^1.0.1" to clipboard
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.

110/ 160
pub points
199
downloads

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 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.

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

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

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

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.

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 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.dart that imports:
  • package:shsp_implementations/src/utility/message_callback_map.dart that imports:
  • package:shsp_types/shsp_types.dart that imports:
  • package:shsp_types/src/peer_types.dart that imports:
  • package:shsp_types/src/internet_address_converter.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

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

Weekly downloads

Display as:
By versions:
0
likes
110
points
199
downloads

Publisher

unverified uploader

Weekly Downloads

Complete implementation of Single HandShake Protocol (SHSP) - provides UDP sockets, handshake logic, and utilities for peer-to-peer networking.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clock_dart, json_annotation, meta, shsp_interfaces, shsp_types, stun

More

Packages that depend on shsp_implementations