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 7 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.
pubspec.yaml from the repository URL mismatch: expected https://github.com/git-elliot/network_tools but got https://github.com/osociety/network_tools.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: network_tools, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.dartthat imports:package:network_tools/src/port_scanner.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
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: Don't invoke 'print' in production code.
lib/src/mdns_scanner/get_srv_list_by_os/srv_list_linux.dart:15:7
╷
15 │ print('Error:\n$e');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/mdns_scanner/get_srv_list_by_os/srv_list_linux.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.3.1 | 2.3.1 |
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.17.0 | 1.17.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.4.0 | 3.4.0 | |
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.23.3, Dart 3.10.4.
Check the analysis log for details.