network_tools 2.1.0
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.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
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.
- contains
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.
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
.
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
.
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: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
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.
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
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.
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.22.20
, Dart 3.7.2
.
Check the analysis log for details.