palestine_connection 0.0.21
palestine_connection: ^0.0.21 copied to clipboard
Lightweight internet connection test, lookup any provided domain.
We analyzed this package 18 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Could not find any pubspec.yaml in the repository.
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: palestine_connection, - 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.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 25 API elements (12.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: palestine_connection.PalConnection, palestine_connection.PalConnection.PalConnection.new, palestine_connection.PalConnection.checkConnection, palestine_connection.PalConnection.getDomainOrRandom, palestine_connection.PalConnection.getRandomDomain.
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:palestine_connection/palestine_connection.dartthat imports:package:palestine_connection/src/palestine_connection_base.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The local variable '_domain' starts with an underscore.
lib/src/palestine_connection_base.dart:59:20
╷
59 │ final String _domain = getDomainOrRandom(domain);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/palestine_connection_base.dart
INFO: The local variable '_domainsList' starts with an underscore.
lib/src/palestine_connection_base.dart:82:24
╷
82 │ final List<String> _domainsList = <String>[
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/palestine_connection_base.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.