dtorrent_task 0.4.0 copy "dtorrent_task: ^0.4.0" to clipboard
dtorrent_task: ^0.4.0 copied to clipboard

BitTorrent download client package written by pure Dart language.

18
likes
130/ 160
pub points
61
downloads

We analyzed this package 9 days ago, and awarded it 130 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

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/moham96/dtorrent_task/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: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

95 out of 365 API elements (26.0 %) have documentation comments.

Some symbols that are missing documentation: dtorrent_task, dtorrent_task.AllComplete, dtorrent_task.AllComplete.AllComplete.new, dtorrent_task.BITFIELD_TYPE, dtorrent_task.BadException.

Passed check 10/10 points: Package has an example

Failed 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:dtorrent_task/dtorrent_task.dart that imports:
  • package:dtorrent_task/src/task_events.dart that imports:
  • package:dtorrent_task/src/file/download_file_manager_events.dart that imports:
  • package:dtorrent_task/src/file/download_file.dart that imports:
  • package:dtorrent_task/src/piece/piece_base.dart that imports:
  • package:dtorrent_task/src/piece/piece.dart that imports:
  • package:dtorrent_task/src/utils.dart that imports:
  • package:dtorrent_common/dtorrent_common.dart that imports:
  • package:dtorrent_common/src/dtorrent_common_base.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dtorrent_task/dtorrent_task.dart that imports:
  • package:dtorrent_task/src/task_events.dart that imports:
  • package:dtorrent_task/src/file/download_file_manager_events.dart that imports:
  • package:dtorrent_task/src/file/download_file.dart that imports:
  • package:dtorrent_task/src/piece/piece_base.dart that imports:
  • package:dtorrent_task/src/piece/piece.dart that imports:
  • package:dtorrent_task/src/utils.dart that imports:
  • package:dtorrent_common/dtorrent_common.dart that imports:
  • package:dtorrent_common/src/dtorrent_common_base.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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 25 issues. Showing the first 2:

WARNING: The value of the field '_e' isn't used.

lib/src/peer/protocol/peer.dart:1209:19

     ╷
1209 │   final Exception _e;
     │                   ^^
     ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/peer/protocol/peer.dart

WARNING: A value for optional parameter 'maxWriteBufferSize' isn't ever given.

lib/src/task.dart:197:13

197 │       {this.maxWriteBufferSize = MAX_WRITE_BUFFER_SIZE, this.stream = false}) {
    │             ^^^^^^^^^^^^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/task.dart

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

Failed check 0/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
b_encode_decode ^1.0.4 1.0.4 1.0.4
bittorrent_dht ^0.0.10 0.0.12 0.0.12
collection ^1.0.0 1.19.1 1.19.1
crypto ^3.0.3 3.0.6 3.0.6
dart_ipify ^1.1.1 1.1.1 1.1.1
dtorrent_common ^1.0.5 1.0.7 1.0.7
dtorrent_parser ^1.0.8 1.0.8 1.0.8
dtorrent_tracker ^1.3.17 1.3.18 1.3.18
events_emitter2 ^1.0.3 1.0.4 1.0.4
logging ^1.2.0 1.3.0 1.3.0
mime ^1.0.4 1.0.6 2.0.0
utp_protocol ^1.0.4 1.0.4 1.0.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.1 3.3.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.0.4` on mime does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions mime to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 11Aug 8Sep 5Oct 3Oct 31Nov 28Dec 26Jan 23Feb 20Mar 200102030405060>=0.0.0-0 <1.0.0
18
likes
130
points
61
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

BitTorrent download client package written by pure Dart language.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, b_encode_decode, bittorrent_dht, collection, crypto, dart_ipify, dtorrent_common, dtorrent_parser, dtorrent_tracker, events_emitter2, logging, mime, utp_protocol

More

Packages that depend on dtorrent_task