network_inspector 1.1.3
network_inspector: ^1.1.3 copied to clipboard
Http inspector / logger for Dio and Http package. This package would allow you to log every Http request, response, and error from Dio & Http.
We analyzed this package 6 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
40 out of 259 API elements (15.4 %) 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: activity_detail_page
, activity_detail_page.ActivityDetailPage.ActivityDetailPage.new
, activity_detail_page.ActivityDetailPage.bodyContent
, activity_detail_page.ActivityDetailPage.bodyHeader
, activity_detail_page.ActivityDetailPage.buildBody
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:network_inspector/network_inspector.dart
that imports:package:network_inspector/presentation/pages/activity_page.dart
that imports:package:network_inspector/presentation/controllers/activity_provider.dart
that imports:package:network_inspector/presentation/pages/activity_detail_page.dart
that imports:package:network_inspector/presentation/pages/http_response_page.dart
that imports:package:network_inspector/presentation/controllers/activity_detail_provider.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_linux.dart
that imports:package:url_launcher_linux/url_launcher_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:network_inspector/network_inspector.dart
that imports:package:network_inspector/presentation/pages/activity_page.dart
that imports:package:network_inspector/presentation/controllers/activity_provider.dart
that imports:package:network_inspector/presentation/pages/activity_detail_page.dart
that imports:package:network_inspector/presentation/pages/http_response_page.dart
that imports:package:network_inspector/presentation/controllers/activity_detail_provider.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:network_inspector/network_inspector.dart
that imports:package:network_inspector/presentation/pages/activity_page.dart
that imports:package:network_inspector/presentation/controllers/activity_provider.dart
that imports:package:network_inspector/presentation/pages/activity_detail_page.dart
that imports:package:network_inspector/presentation/pages/http_response_page.dart
that imports:package:network_inspector/presentation/controllers/activity_detail_provider.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_web.dart
that imports:package:share_plus_platform_interface/share_plus_platform_interface.dart
that imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dart
that imports:package:share_plus_platform_interface/method_channel/method_channel_share.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:network_inspector/network_inspector.dart
that imports:package:network_inspector/presentation/pages/activity_page.dart
that imports:package:network_inspector/presentation/controllers/activity_provider.dart
that imports:package:network_inspector/presentation/pages/activity_detail_page.dart
that imports:package:network_inspector/presentation/pages/http_response_page.dart
that imports:package:network_inspector/presentation/controllers/activity_detail_provider.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:network_inspector/network_inspector.dart
that imports:package:network_inspector/presentation/pages/activity_page.dart
that imports:package:network_inspector/presentation/controllers/activity_provider.dart
that imports:package:network_inspector/presentation/pages/activity_detail_page.dart
that imports:package:network_inspector/presentation/pages/http_response_page.dart
that imports:package:network_inspector/presentation/controllers/activity_detail_provider.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:network_inspector/network_inspector.dart
that imports:package:network_inspector/presentation/pages/activity_page.dart
that imports:package:network_inspector/presentation/controllers/activity_provider.dart
that imports:package:network_inspector/presentation/pages/activity_detail_page.dart
that imports:package:network_inspector/presentation/pages/http_response_page.dart
that imports:package:network_inspector/presentation/controllers/activity_detail_provider.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:network_inspector/network_inspector.dart
that imports:package:network_inspector/presentation/pages/activity_page.dart
that imports:package:network_inspector/presentation/controllers/activity_provider.dart
that imports:package:network_inspector/presentation/pages/activity_detail_page.dart
that imports:package:network_inspector/presentation/pages/http_response_page.dart
that imports:package:network_inspector/presentation/controllers/activity_detail_provider.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_web.dart
that imports:package:share_plus_platform_interface/share_plus_platform_interface.dart
that imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dart
that imports:package:share_plus_platform_interface/method_channel/method_channel_share.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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:
/tmp/pana_NMXHET/lib/common/extensions/curl_extension.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_NMXHET/lib/common/utils/http_interceptor.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 |
---|---|---|---|---|
analyzer |
^7.2.0 |
7.3.0 | 7.3.0 | |
collection |
^1.17.2 |
1.19.1 | 1.19.1 | |
dio |
^5.1.0 |
5.8.0+1 | 5.8.0+1 | |
http |
^1.0.0 |
1.3.0 | 1.3.0 | |
intl |
^0.20.1 |
0.20.2 | 0.20.2 | |
provider |
^6.0.5 |
6.1.4 | 6.1.4 | |
share_plus |
^10.1.4 |
10.1.4 | 10.1.4 | |
sqflite |
^2.2.6 |
2.4.2 | 2.4.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 80.0.0 | 80.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.16 | 2.2.16 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
share_plus_platform_interface |
- | 5.0.2 | 5.0.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
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 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.0 | 2.4.0 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.1.4 | |
watcher |
- | 1.1.1 | 1.1.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.12.0 | 5.12.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_CLASS
-lib/common/utils/dio_interceptor.dart:64:5
- Undefined class 'DioException'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.