network_tools 2.1.0 copy "network_tools: ^2.1.0" to clipboard
network_tools: ^2.1.0 copied to clipboard

Networking Tools library which can help you discover open ports, devices on subnet and many other things.

46
likes
120/ 160
pub points
2.69k
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: network_tools,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/git-elliot/network_tools but got https://github.com/osociety/network_tools.

Repository URL doesn't exist.

At the time of the analysis https://github.com/git-elliot/network_tools/tree/main/network_tools 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

19 out of 45 API elements (42.2 %) have documentation comments.

Some symbols that are missing documentation: network_tools, network_tools.ActiveHost.ActiveHost.new, network_tools.ActiveHost.generic, network_tools.ActiveHost.getPingData, network_tools.ActiveHost.hostId.

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:network_tools/network_tools.dart that imports:
  • package:network_tools/src/port_scanner.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:network_tools/network_tools.dart that imports:
  • package:network_tools/src/port_scanner.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/models/active_host.dart:56:17

56bool operator ==(dynamic o) => o is ActiveHost && _ip == o._ip;
   │                 ^^
   ╵
copied to clipboard

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

INFO: The import of 'package:network_tools/src/models/mdns_info.dart' is unnecessary because all of the used elements are also provided by the import of 'package:network_tools/network_tools.dart'.

lib/src/mdns_scanner/mdns_scanner.dart:7:8

7import 'package:network_tools/src/models/mdns_info.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/mdns_scanner/mdns_scanner.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
dart_ping ^7.0.1 7.0.2 9.0.1
intl ^0.17.0 0.17.0 0.20.2
logging ^1.0.2 1.3.0 1.3.0
multicast_dns ^0.3.2+1 0.3.3 0.3.3
process_run ^0.12.3+2 0.12.5+3 1.2.4
universal_io ^2.0.4 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
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
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^7.0.1` on dart_ping does not support the stable version `8.0.0`.

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

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

Try running dart pub upgrade --major-versions intl 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 12Aug 9Sep 6Oct 4Nov 1Nov 29Dec 27Jan 24Feb 21Mar 21050100150200250300350400450500Other>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0>=4.0.0-0 <5.0.0>=5.0.0-0 <6.0.0
46
likes
120
points
2.69k
downloads

Publisher

verified publisherop3nsoc13ty.blogspot.com

Weekly Downloads

2024.09.27 - 2025.04.11

Networking Tools library which can help you discover open ports, devices on subnet and many other things.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dart_ping, intl, logging, multicast_dns, process_run, universal_io

More

Packages that depend on network_tools