line |
!l |
l&&!r |
l&&r |
condition |
135
|
7 |
51 |
0 |
$options->{'validate_data'} and $options->{'validate_json_string'}
|
141
|
57 |
0 |
1 |
$options->{'add_resource'} and -d $self->additional_resources
|
148
|
4 |
0 |
5 |
$path->is_file and $path =~ /\.json$/u
|
153
|
2 |
2 |
1 |
$topdir =~ /^draft/u and not grep(($topdir eq $_), @{$self->supported_specifications})
|
176
|
191 |
9 |
23 |
$options->{'tests'} and $options->{'tests'}{'file'}
|
|
9 |
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'})
|
184
|
885 |
15 |
38 |
$options->{'tests'} and $options->{'tests'}{'group_description'}
|
|
15 |
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'})
|
195
|
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'})
|
196
|
844 |
54 |
16 |
$options->{'todo_tests'} and &any(sub {
|
205
|
0 |
0 |
0 |
XXX && $test_group->{'schema'}{'$schema'}
|
221
|
2988 |
40 |
48 |
$options->{'tests'} and $options->{'tests'}{'test_description'}
|
|
40 |
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'})
|
227
|
2940 |
58 |
47 |
ref $options->{'skip_tests'} eq "ARRAY" and grep((($test_group->{'description'} . " - " . $test->{'description'}) =~ /$_/u), @{$$options{"skip_tests"}})
|
237
|
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'})
|
239
|
2835 |
149 |
61 |
$options->{'todo_tests'} and &any(sub {
|
257
|
3 |
56 |
153 |
!($_->{'file'} =~ m[^optional/]u) && $_->{'todo_fail'} + $_->{'fail'}
|
|
0 |
13 |
45 |
not $self->test_dir =~ /\boptional\b/u and grep((!($_->{'file'} =~ m[^optional/]u) && $_->{'todo_fail'} + $_->{'fail'}), @results)
|
477
|
0 |
31 |
3 |
$submodule_status->exists and $submodule_status->parent->subsumes($self->test_dir)
|
|
31 |
0 |
0 |
$test_dir eq $orig_dir and not -d ".git"
|
line |
l |
!l&&r |
!l&&!r |
condition |
132
|
51 |
7 |
0 |
$options->{'validate_data'} or $options->{'validate_json_string'}
|
195
|
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'})
|
237
|
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'})
|