flutter_alice 1.1.1 flutter_alice: ^1.1.1 copied to clipboard
Alice is an HTTP Inspector tool which helps debugging http requests. It catches and stores http requests and responses, which can be viewed via simple UI.
We analyzed this package 25 hours 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
.
10/10 points: 20% or more of the public API has dartdoc comments
63 out of 226 API elements (27.9 %) have documentation comments.
Some symbols that are missing documentation: alice
, alice.Alice
, alice_alert_helper
, alice_alert_helper.AliceAlertHelper
, alice_alert_helper.AliceAlertHelper.AliceAlertHelper
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.dart
that imports:package:share/share.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.dart
that imports:package:share/share.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.dart
that imports:package:share/share.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.dart
that imports:package:share/share.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_alice/alice.dart
that imports:package:flutter_alice/model/alice_http_call.dart
that imports:package:flutter_alice/model/alice_http_request.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 10 issues. Showing the first 2:
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/core/alice_core.dart:83:9
╷
83 │ if (callsSubject.value.length > 0) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/alice_core.dart
INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.
lib/core/alice_dio_interceptor.dart:30:9
╷
30 │ if (path.length == 0) {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/alice_dio_interceptor.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
chopper |
^4.0.1 |
4.0.6 | 8.0.3 |
dio |
^5.1.1 |
5.7.0 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
http |
^0.13.3 |
0.13.6 | 1.2.2 |
overlay_support |
^2.1.0 |
2.1.0 | 2.1.0 |
rxdart |
^0.27.1 |
0.27.7 | 0.28.0 |
share |
^2.0.4 |
2.0.4 | 2.0.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
http_parser |
- | 4.0.2 | 4.1.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 |
path |
- | 1.9.1 | 1.9.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^4.0.1` on chopper does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions chopper
to update the constraint.
The constraint `^0.13.3` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
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/core/alice_dio_interceptor.dart:117: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.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.