bittorrent_dht 0.0.15
bittorrent_dht: ^0.0.15 copied to clipboard
A DHT protocal implemented by Dart. This package implemented BEP-0005 for torrent client
We analyzed this package 23 hours ago, and awarded it 140 pub points (of a possible 160):
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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
28 out of 202 API elements (13.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: bittorrent_dht, bittorrent_dht.ActivityState, bittorrent_dht.AnnouncePeerResponseEvent, bittorrent_dht.AnnouncePeerResponseEvent.AnnouncePeerResponseEvent.new, bittorrent_dht.AnnouncePeersQueryEvent.
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:bittorrent_dht/bittorrent_dht.dartthat imports:package:bittorrent_dht/src/kademlia/node_events.dartthat imports:package:bittorrent_dht/src/kademlia/node.dartthat imports:package:dtorrent_common/dtorrent_common.dartthat imports:package:dtorrent_common/src/dtorrent_common_base.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/kademlia/distance.dart:36:19
╷
36 │ bool operator >(a) {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/kademlia/distance.dart
INFO: Missing type annotation.
lib/src/kademlia/distance.dart:51:19
╷
51 │ bool operator <(a) {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/kademlia/distance.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
b_encode_decode |
^1.0.5 |
1.0.5 | 1.0.5 | |
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
dtorrent_common |
^1.0.8 |
1.0.8 | 1.0.8 | |
events_emitter2 |
^1.0.3 |
1.0.4 | 1.0.4 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
meta |
^1.9.1 |
1.17.0 | 1.17.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
synchronized |
- | 3.4.0 | 3.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.5, Dart 3.10.7.
Check the analysis log for details.