k_network 0.0.1
k_network: ^0.0.1 copied to clipboard
This is a flutter tool class, which encapsulates various tool processing classes.
We analyzed this package 3 days ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://gitee.com/fairy_flutter/k_network
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
30 out of 109 API elements (27.5 %) have documentation comments.
Some symbols that are missing documentation: abs_throw_handler
, abs_throw_handler.AbsThrowHandler.AbsThrowHandler.new
, empty_param
, empty_param.EmptyParam
, empty_param.EmptyParam.EmptyParam.fromJson
.
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:k_network/k_network.dart
that imports:package:k_network/k_http_server.dart
that imports:package:dio_cookie_manager/dio_cookie_manager.dart
that imports:package:dio_cookie_manager/src/cookie_mgr.dart
that imports:package:cookie_jar/cookie_jar.dart
that imports:package:cookie_jar/src/serializable_cookie.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:k_network/k_network.dart
that imports:package:k_network/k_http_server.dart
that imports:package:dio_cookie_manager/dio_cookie_manager.dart
that imports:package:dio_cookie_manager/src/cookie_mgr.dart
that imports:package:cookie_jar/cookie_jar.dart
that imports:package:cookie_jar/src/serializable_cookie.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The variable name 'k_request' isn't a lowerCamelCase identifier.
lib/k_http_request.dart:11:17
╷
11 │ Future<dynamic> k_request(Future<Response> Function() request) async {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/k_http_request.dart
/tmp/pana_TEFEKZ/lib/k_http_config.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cookie_jar |
^4.0.7 |
4.0.8 | 4.0.8 | |
dio |
^5.3.2 |
5.8.0+1 | 5.8.0+1 | |
dio_cookie_manager |
^3.1.0 |
3.2.0 | 3.2.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
pretty_dio_logger |
^1.3.1 |
1.4.0 | 1.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.