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

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

59
likes
100/ 160
pub points
13.8k
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/leancodepl/patrol/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

0 out of 0 API elements (100.0 %) have documentation comments.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:patrol_cli/src/analytics/analytics.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
adb ^0.2.5 0.2.5 0.5.0
ansi_styles ^0.3.2 0.3.2+1 0.3.2+1
args ^2.4.0 2.6.0 2.6.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 2.4.4
glob ^2.1.1 2.1.3 2.1.3
http ^0.13.5 0.13.6 1.3.0
mason_logger >=0.2.4 <=0.2.5 0.2.5 0.3.2
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
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
_fe_analyzer_shared - 80.0.0 80.0.0
analyzer - 7.3.0 7.3.0
async - 2.13.0 2.13.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
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
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.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 - 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.25.15 1.25.15
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.2 3.0.2
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 8 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.

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

Failed check 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.22.18, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: