flutter_api_traffic_inspector 0.2.0
flutter_api_traffic_inspector: ^0.2.0 copied to clipboard
A developer-friendly HTTP and WebSocket traffic inspector for Flutter with a real-time tabbed UI, Dio & http support, and SQLite persistence.
We analyzed this package 2 days ago, and awarded it 130 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://github.com/chandhur/flutter_api_traffic_inspector was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/chandhur/flutter_api_traffic_inspector was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/chandhur/flutter_api_traffic_inspector/issues 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
104 out of 215 API elements (48.4 %) have documentation comments.
Some symbols that are missing documentation: flutter_api_traffic_inspector, flutter_api_traffic_inspector.ApiCallRecord, flutter_api_traffic_inspector.ApiCallRecord.ApiCallRecord.new, flutter_api_traffic_inspector.ApiCallRecord.duration, flutter_api_traffic_inspector.ApiCallRecord.error.
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:flutter_api_traffic_inspector/flutter_api_traffic_inspector.dartthat imports:package:flutter_api_traffic_inspector/src/ui/websocket/ws_session_details_screen.dartthat imports:package:flutter_api_traffic_inspector/src/core/inspector_controller.dartthat imports:package:flutter_api_traffic_inspector/src/persistence/api_history_repository.dartthat imports:package:flutter_api_traffic_inspector/src/persistence/api_history_database.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:flutter_api_traffic_inspector/flutter_api_traffic_inspector.dartthat imports:package:flutter_api_traffic_inspector/src/ui/websocket/ws_session_details_screen.dartthat imports:package:flutter_api_traffic_inspector/src/core/inspector_controller.dartthat imports:package:flutter_api_traffic_inspector/src/persistence/api_history_repository.dartthat imports:package:flutter_api_traffic_inspector/src/persistence/api_history_database.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:flutter_api_traffic_inspector/flutter_api_traffic_inspector.dartthat imports:package:flutter_api_traffic_inspector/src/ui/websocket/ws_session_details_screen.dartthat imports:package:flutter_api_traffic_inspector/src/core/inspector_controller.dartthat imports:package:flutter_api_traffic_inspector/src/persistence/api_history_repository.dartthat imports:package:flutter_api_traffic_inspector/src/persistence/api_history_database.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/core/api_inspector.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/api_inspector.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/ui/dashboard/inspector_dashboard_screen.dart:2:1
╷
2 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/dashboard/inspector_dashboard_screen.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
>=5.0.0 <6.0.0 |
5.11.1 | 5.11.1 | |
http |
>=1.0.0 <2.0.0 |
1.6.0 | 1.6.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
sqflite |
^2.4.0 |
2.4.6 | 2.4.6 | |
stream_channel |
^2.1.0 |
2.1.4 | 2.1.4 | |
web_socket_channel |
>=2.4.0 <4.0.0 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.8 | 3.0.8 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite_android |
- | 2.4.6 | 2.4.6 | |
sqflite_common |
- | 2.5.17 | 2.5.17 | |
sqflite_darwin |
- | 2.4.6 | 2.4.6 | |
sqflite_platform_interface |
- | 2.4.4 | 2.4.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.6.1+1 | 3.6.1+1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 | |
web_socket |
- | 1.0.1 | 1.0.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_CLASS-lib/src/adapters/dio/dio_inspector_interceptor.dart:67:5- Undefined class 'DioException'.UNDEFINED_CLASS-lib/src/adapters/dio/dio_inspector_interceptor.dart:153:22- Undefined class 'DioException'.UNDEFINED_IDENTIFIER-lib/src/adapters/dio/dio_inspector_interceptor.dart:165:39- Undefined name 'DioExceptionType'.
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.23.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.