shsp_implementations 1.1.0 copy "shsp_implementations: ^1.1.0" to clipboard
shsp_implementations: ^1.1.0 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
497
downloads

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

Failed report section
Follow Dart file conventions
20 / 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

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

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

160 out of 317 API elements (50.5 %) have documentation comments.

Some symbols that are missing documentation: address_utility, address_utility.AddressUtility.AddressUtility.new, callback_map, callback_map.CallbackMap.CallbackMap.new, concat_utility.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ 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:shsp_implementations/shsp_implementations.dart that imports:
  • package:shsp_implementations/connection/connection.dart that imports:
  • package:shsp_implementations/connection/handshake_time.dart that imports:
  • package:shsp_interfaces/shsp_interfaces.dart that imports:
  • package:shsp_interfaces/src/i_shsp_instance_handler.dart that imports:
  • package:shsp_types/shsp_types.dart that imports:
  • package:shsp_types/src/callback_types.dart that imports:
  • package:shsp_types/src/remote_info.dart that imports:
  • package:shsp_types/src/internet_address_converter.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:shsp_implementations/shsp_implementations.dart that imports:
  • package:shsp_implementations/connection/connection.dart that imports:
  • package:shsp_implementations/connection/handshake_time.dart that imports:
  • package:shsp_interfaces/shsp_interfaces.dart that imports:
  • package:shsp_interfaces/src/i_shsp_instance_handler.dart that imports:
  • package:shsp_types/shsp_types.dart that imports:
  • package:shsp_types/src/callback_types.dart that imports:
  • package:shsp_types/src/remote_info.dart that imports:
  • package:shsp_types/src/internet_address_converter.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

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
callback_handler ^0.0.3 0.0.3 0.0.3
clock_dart ^1.0.0 1.0.0 1.0.0
json_annotation ^4.10.0 4.11.0 4.11.0
meta ^1.18.1 1.18.1 1.18.1
shsp_interfaces ^1.0.7 1.2.0 1.2.0
shsp_types ^1.0.7 1.1.0 1.1.0
stun ^1.0.1 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 11 errors:

  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/shsp_base/shsp_peer.dart:6:7 - Missing concrete implementation of 'IShspPeer.setMessageCallback'.
  • INVOCATION_OF_NON_FUNCTION - lib/shsp_base/shsp_peer.dart:24:26 - 'MessageCallback' isn't a function.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/shsp_base/shsp_peer.dart:36:31 - The argument type 'PeerInfo' can't be assigned to the parameter type 'String'.

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.10, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
497
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

unknown (license)

Dependencies

callback_handler, clock_dart, json_annotation, meta, shsp_interfaces, shsp_types, stun

More

Packages that depend on shsp_implementations