| line |
!l |
l&&!r |
l&&r |
condition |
|
143
|
7 |
49 |
0 |
$$options{"validate_data"} and $$options{"validate_json_string"} |
|
149
|
55 |
0 |
1 |
$$options{"add_resource"} and -d $self->additional_resources |
|
156
|
4 |
0 |
5 |
$path->is_file and $path =~ /\.json$/u |
|
162
|
2 |
2 |
1 |
$topdir =~ /^(?:draft(?:[3467]|2019-09|2020-12)|v1)\z/u and not grep(($topdir eq $_), @{$self->supported_specifications}) |
|
186
|
183 |
9 |
23 |
$$options{"tests"} and $$options{"tests"}{"file"} |
|
|
192 |
12 |
11 |
$$options{"tests"} and $$options{"tests"}{"file"} and not grep(($_ eq $$one_file{"file"}), ref $$options{"tests"}{"file"} eq "ARRAY" ? @{$$options{"tests"}{"file"}} : $$options{"tests"}{"file"}) |
|
194
|
907 |
15 |
38 |
$$options{"tests"} and $$options{"tests"}{"group_description"} |
|
|
922 |
14 |
24 |
$$options{"tests"} and $$options{"tests"}{"group_description"} and not grep(($_ eq $$test_group{"description"}), ref $$options{"tests"}{"group_description"} eq "ARRAY" ? @{$$options{"tests"}{"group_description"}} : $$options{"tests"}{"group_description"}) |
|
205
|
27 |
19 |
28 |
!$$o{'file'} || grep(($_ eq $$one_file{'file'}), ref $$o{'file'} eq 'ARRAY' ? @{$$o{'file'}} : $$o{'file'}) and !$$o{'group_description'} || grep(($_ eq $$test_group{'description'}), ref $$o{'group_description'} eq 'ARRAY' ? @{$$o{'group_description'}} : $$o{'group_description'}) |
|
206
|
866 |
54 |
16 |
$$options{"todo_tests"} and &any(sub {
my $o = $_;
not $$o{"test_description"} if !$$o{'file'} || grep(($_ eq $$one_file{'file'}), ref $$o{'file'} eq 'ARRAY' ? @{$$o{'file'}} : $$o{'file'}) and !$$o{'group_description'} || grep(($_ eq $$test_group{'description'}), ref $$o{'group_description'} eq 'ARRAY' ? @{$$o{'group_description'}} : $$o{'group_description'});
}
, @{$$options{"todo_tests"}}) |
|
215
|
0 |
0 |
0 |
Ref::Util::XS::is_plain_hashref($$test_group{'schema'}) && $$test_group{'schema'}{'$schema'} |
|
231
|
3118 |
40 |
48 |
$$options{"tests"} and $$options{"tests"}{"test_description"} |
|
|
3158 |
17 |
31 |
$$options{"tests"} and $$options{"tests"}{"test_description"} and not grep(($_ eq $$test{"description"}), ref $$options{"tests"}{"test_description"} eq "ARRAY" ? @{$$options{"tests"}{"test_description"}} : $$options{"tests"}{"test_description"}) |
|
237
|
3070 |
58 |
47 |
ref $$options{"skip_tests"} eq "ARRAY" and grep((($$test_group{"description"} . ' - ' . $$test{"description"}) =~ /$_/u), @{$$options{"skip_tests"}}) |
|
247
|
81 |
57 |
84 |
!$$o{'file'} || grep(($_ eq $$one_file{'file'}), ref $$o{'file'} eq 'ARRAY' ? @{$$o{'file'}} : $$o{'file'}) and !$$o{'group_description'} || grep(($_ eq $$test_group{'description'}), ref $$o{'group_description'} eq 'ARRAY' ? @{$$o{'group_description'}} : $$o{'group_description'}) |
|
249
|
2965 |
149 |
61 |
$$options{"todo_tests"} and &any(sub {
my $o = $_;
not $$o{"test_description"} or grep(($_ eq $$test{"description"}), ref $$o{"test_description"} eq "ARRAY" ? @{$$o{"test_description"}} : $$o{"test_description"}) if !$$o{'file'} || grep(($_ eq $$one_file{'file'}), ref $$o{'file'} eq 'ARRAY' ? @{$$o{'file'}} : $$o{'file'}) and !$$o{'group_description'} || grep(($_ eq $$test_group{'description'}), ref $$o{'group_description'} eq 'ARRAY' ? @{$$o{'group_description'}} : $$o{'group_description'});
}
, @{$$options{"todo_tests"}}) |
|
266
|
3 |
56 |
145 |
!($our $_{'file'} =~ m[^optional/]u) && $our $_{'todo_fail'} + $our $_{'fail'} |
|
|
0 |
13 |
43 |
not $self->test_dir =~ /\boptional\b/u and grep((!($our $_{'file'} =~ m[^optional/]u) && $our $_{'todo_fail'} + $our $_{'fail'}), @results) |
|
496
|
0 |
29 |
3 |
$submodule_status->exists and $submodule_status->parent->subsumes($self->test_dir) |
|
|
29 |
0 |
0 |
$test_dir eq $orig_dir and not -d ".git" |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
140
|
49 |
7 |
0 |
$$options{"validate_data"} or $$options{"validate_json_string"} |
|
205
|
25 |
22 |
27 |
!$$o{'file'} || grep(($_ eq $$one_file{'file'}), ref $$o{'file'} eq 'ARRAY' ? @{$$o{'file'}} : $$o{'file'}) |
|
|
17 |
11 |
19 |
!$$o{'group_description'} || grep(($_ eq $$test_group{'description'}), ref $$o{'group_description'} eq 'ARRAY' ? @{$$o{'group_description'}} : $$o{'group_description'}) |
|
247
|
48 |
13 |
23 |
not $$o{"test_description"} or grep(($_ eq $$test{"description"}), ref $$o{"test_description"} eq "ARRAY" ? @{$$o{"test_description"}} : $$o{"test_description"}) |
|
|
75 |
66 |
81 |
!$$o{'file'} || grep(($_ eq $$one_file{'file'}), ref $$o{'file'} eq 'ARRAY' ? @{$$o{'file'}} : $$o{'file'}) |
|
|
51 |
33 |
57 |
!$$o{'group_description'} || grep(($_ eq $$test_group{'description'}), ref $$o{'group_description'} eq 'ARRAY' ? @{$$o{'group_description'}} : $$o{'group_description'}) |
|
311
|
0 |
1174 |
51 |
$result // $result_bool |