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.

34
likes
100/ 140
pub points
88%
popularity

We analyzed this package 6 hours ago, and awarded it 100 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

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.

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.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

19 out of 41 API elements (46.3 %) have documentation comments.

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

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
Pass static analysis
30 / 50trigger folding of the section

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

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

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

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

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
dart_ping ^7.0.1 7.0.2 9.0.1
intl ^0.17.0 0.17.0 0.19.0
logging ^1.0.2 1.2.0 1.2.0
multicast_dns ^0.3.2+1 0.3.2+6 0.3.2+6
process_run ^0.12.3+2 0.12.5+3 0.14.2
universal_io ^2.0.4 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
charcode - 1.3.1 1.3.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
yaml - 3.1.2 3.1.2

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.

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

Analyzed with Pana 0.22.3, Dart 3.4.1.

Check the analysis log for details.

34
likes
100
pub points
88%
popularity

Publisher

verified publisherfsoc13ty.blogspot.com

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

Repository (GitHub)
View/report issues

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