patrol_cli 0.9.4 copy "patrol_cli: ^0.9.4" to clipboard
patrol_cli: ^0.9.4 copied to clipboard

Command-line tool for Patrol, a powerful Flutter-native UI testing framework.

58
likes
90/ 160
pub points
12.6k
downloads

We analyzed this package 3 days ago, and awarded it 90 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

failed
Platform support
20 / 20trigger folding of the section

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

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 28 issues. Showing the first 2:

ERROR: 'Logger.warn' ('void Function(String?, {String tag})') isn't a valid override of 'Logger.warn' ('void Function(String?, {String? Function(String?)? style, String tag})').

lib/src/common/logger.dart:60:8

   ╷
60 │   void warn(String? message, {String tag = ''}) {
   │        ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/common/logger.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/common/artifacts_repository.freezed.dart:171:17

    ╷
171 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/common/artifacts_repository.freezed.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
adb ^0.2.4 0.2.5 0.5.0
ansi_styles ^0.3.2+1 0.3.2+1 0.3.2+1
archive ^3.3.6 3.6.1 4.0.2
args ^2.3.2 2.6.0 2.6.0
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 2.4.4
http ^0.13.5 0.13.6 1.2.2
mason_logger ^0.2.4 0.2.16 0.3.1
meta ^1.9.0 1.16.0 1.16.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.3
pub_updater ^0.2.4 0.2.4 0.5.0
tuple ^2.0.1 2.0.2 2.0.2
yaml ^3.1.1 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 78.0.0 78.0.0
_macros - 0.3.3 0.3.3
analyzer - 7.1.0 7.1.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
convert - 3.1.2 3.1.2
coverage - 1.11.1 1.11.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.1 4.1.1
io - 1.0.5 1.0.5
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.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.1.1 2.1.1
pool - 1.5.1 1.5.1
pub_semver - 2.1.5 2.1.5
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 - 2.0.1 2.0.1
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.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test - 1.25.14 1.25.14
test_api - 0.7.4 0.7.4
test_core - 0.6.8 0.6.8
typed_data - 1.4.0 1.4.0
vm_service - 15.0.0 15.0.0
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
webkit_inspection_protocol - 1.2.1 1.2.1
win32 - 5.9.0 5.9.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 7 issues. Showing the first 2:

The constraint `^0.2.4` 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 `^3.3.6` on archive does not support the stable version `4.0.0`, that was published 15 days ago.

When archive is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions archive to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

58
likes
90
points
12.6k
downloads

Publisher

verified publisherleancode.co

Weekly Downloads

Command-line tool for Patrol, a powerful Flutter-native UI testing framework.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

adb, ansi_styles, archive, args, collection, dispose_scope, equatable, file, freezed_annotation, http, mason_logger, meta, path, platform, process, pub_updater, tuple, yaml

More

Packages that depend on patrol_cli