patrol_cli 1.1.11
patrol_cli: ^1.1.11 copied to clipboard
Command-line tool for Patrol, a powerful Flutter-native UI testing framework.
We analyzed this package 4 days ago, and awarded it 100 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
0 out of 0 API elements (100.0 %) have documentation comments.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Linux
-
✓ macOS
-
✓ Windows
These platforms are not supported:
Android
Cannot assign Android automatically to a binary only package.
iOS
Cannot assign iOS automatically to a binary only package.
Web
Cannot assign Web automatically to a binary only package.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:patrol_cli/src/analytics/analytics.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/commands/test.freezed.dart:294:17
╷
294 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/commands/test.freezed.dart
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: PatrolPubspecConfig.android, PatrolPubspecConfig.ios
lib/src/pubspec_reader.dart:6:7
╷
6 │ class PatrolPubspecConfig with EquatableMixin {
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/pubspec_reader.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adb |
^0.2.5 |
0.2.5 | 0.6.0 | |
ansi_styles |
^0.3.2 |
0.3.2+1 | 0.3.2+1 | |
args |
^2.4.0 |
2.7.0 | 2.7.0 | |
ci |
^0.1.0 |
0.1.0 | 0.1.0 | |
cli_completion |
^0.3.0 |
0.3.0 | 0.5.1 | |
collection |
^1.17.1 |
1.19.1 | 1.19.1 | |
dispose_scope |
^2.0.1 |
2.1.0 | 2.1.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
file |
^6.1.4 |
6.1.4 | 7.0.1 | |
freezed_annotation |
^2.2.0 |
2.4.4 | 3.1.0 | |
glob |
^2.1.1 |
2.1.3 | 2.1.3 | |
http |
^0.13.5 |
0.13.6 | 1.5.0 | |
mason_logger |
>=0.2.4 <=0.2.5 |
0.2.5 | 0.3.3 | |
meta |
^1.9.0 |
1.17.0 | 1.17.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
platform |
^3.1.0 |
3.1.6 | 3.1.6 | |
process |
^4.2.4 |
4.2.4 | 5.0.5 | |
pub_updater |
^0.2.4 |
0.2.4 | 0.5.0 | |
tuple |
^2.0.1 |
2.0.2 | 2.0.2 | |
uuid |
^3.0.7 |
3.0.7 | 4.5.1 | |
yaml |
^3.1.1 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 92.0.0 | |
analyzer |
- | 8.4.1 | 9.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
cli_config |
- | 0.2.0 | 0.2.0 | |
convert |
- | 3.1.2 | 3.1.2 | |
coverage |
- | 1.15.0 | 1.15.0 | |
crypto |
- | 3.0.6 | 3.0.6 | |
frontend_server_client |
- | 4.0.0 | 4.0.0 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
mime |
- | 2.0.0 | 2.0.0 | |
mocktail |
- | 0.3.0 | 1.0.4 | |
node_preamble |
- | 2.0.2 | 2.0.2 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pool |
- | 1.5.2 | 1.5.2 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_packages_handler |
- | 3.0.2 | 3.0.2 | |
shelf_static |
- | 1.1.3 | 1.1.3 | |
shelf_web_socket |
- | 3.0.0 | 3.0.0 | |
source_map_stack_trace |
- | 2.1.2 | 2.1.2 | |
source_maps |
- | 0.10.13 | 0.10.13 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test |
- | 1.26.3 | 1.26.3 | |
test_api |
- | 0.7.7 | 0.7.7 | |
test_core |
- | 0.6.12 | 0.6.12 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
webkit_inspection_protocol |
- | 1.2.1 | 1.2.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 9 issues. Showing the first 2:
The constraint `^0.2.5` on adb does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions adb to update the constraint.
The constraint `^0.3.0` on cli_completion does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions cli_completion 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 5 errors:
URI_DOES_NOT_EXIST-lib/src/commands/test.dart:3:8- Target of URI doesn't exist: 'package:ansi_styles/extension.dart'.UNDEFINED_GETTER-lib/src/commands/test.dart:320:23- The getter 'bgGreen' isn't defined for the type 'String'.UNDEFINED_GETTER-lib/src/commands/test.dart:324:23- The getter 'bgRed' isn't defined for the type 'String'.
Run dart pub downgrade and then dart 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.0, Dart 3.9.4.
Check the analysis log for details.