requests_inspector 4.1.1 requests_inspector: ^4.1.1 copied to clipboard
A Flutter package for logging REST-APIs and GraphQL requests and accessing it by Shaking your phone to get the RequestsInspector widget on your screen.
We analyzed this package 2 days ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be well formed Unable to parse 1 image link.
README.md:97:48
╷
97 │ <p>To use <code>requests_inspector</code> with <a href="'https://pub.dev/packages/graphql_flutter'">graphql_flutter</a> library.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
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
16 out of 57 API elements (28.1 %) have documentation comments.
Some symbols that are missing documentation: requests_inspector
, requests_inspector.GraphQLInspectorLink
, requests_inspector.GraphQLInspectorLink.GraphQLInspectorLink
, requests_inspector.InspectorController.addNewRequest
, requests_inspector.InspectorController.clearAllRequests
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/inspector_controller.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 `Windows`.
Because:
package:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/inspector_controller.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
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/requests_inspector_widget.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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/requests_inspector/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/graphql_inspector_link.dart:17:7
╷
17 │ return _handleHttpRequest(link, request, forward);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/graphql_inspector_link.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/graphql_inspector_link.dart:19:7
╷
19 │ return _handleWebSocketRequest(link, request, forward);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/graphql_inspector_link.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.15.0 |
1.18.0 | 1.19.1 |
connectivity_plus |
^5.0.2 |
5.0.2 | 6.1.0 |
dio |
^5.0.0 |
5.7.0 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
gql |
^1.0.0+1 |
1.0.1-alpha+1730759315362 | 1.0.1-alpha+1730759315362 |
graphql |
^5.1.3 |
5.2.0-beta.9 | 5.2.0-beta.9 |
graphql_flutter |
^5.1.2 |
5.2.0-beta.6 | 5.2.0-beta.7 |
provider |
^6.0.5 |
6.1.2 | 6.1.2 |
sensors_plus |
^6.1.0 |
6.1.0 | 6.1.0 |
share_plus |
^7.0.2 |
7.2.2 | 10.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
dbus |
- | 0.7.10 | 0.7.10 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_hooks |
- | 0.20.5 | 0.20.5 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
gql_dedupe_link |
- | 2.0.4-alpha+1715521079596 | 2.0.4-alpha+1715521079596 |
gql_error_link |
- | 1.0.0+1 | 1.0.0+1 |
gql_exec |
- | 1.1.1-alpha+1699813812660 | 1.1.1-alpha+1699813812660 |
gql_http_link |
- | 1.1.0 | 1.1.0 |
gql_link |
- | 1.0.1-alpha+1730759315378 | 1.0.1-alpha+1730759315378 |
gql_transform_link |
- | 1.0.0 | 1.0.0 |
hive |
- | 2.2.3 | 2.2.3 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
js |
- | 0.6.7 | 0.7.1 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mime |
- | 1.0.6 | 2.0.0 |
nested |
- | 1.0.0 | 1.0.0 |
nm |
- | 0.5.0 | 0.5.0 |
normalize |
- | 0.8.2+1 | 0.9.1 |
path |
- | 1.9.1 | 1.9.1 |
path_provider |
- | 2.1.5 | 2.1.5 |
path_provider_android |
- | 2.2.12 | 2.2.12 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
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 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
rxdart |
- | 0.28.0 | 0.28.0 |
sensors_plus_platform_interface |
- | 2.0.0 | 2.0.0 |
share_plus_platform_interface |
- | 3.4.0 | 5.0.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
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.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
uuid |
- | 4.5.1 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
web_socket_channel |
- | 2.4.0 | 3.0.1 |
win32 |
- | 5.8.0 | 5.8.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.0.2` on connectivity_plus does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
to update the constraint.
The constraint `^7.0.2` on share_plus does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions share_plus
to update the constraint.
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/src/requests_inspector_interceptor.dart:59:16
- 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.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.