line |
true |
false |
branch |
159
|
0 |
13 |
@params == 1 && (ref $params[0] || '') eq 'HASH' ? : |
171
|
3 |
13 |
unless ref $_[0] |
180
|
1 |
7 |
unless ref $_[0] |
|
3 |
4 |
unless +(shift())->{'tags'} |
188
|
0 |
5 |
unless ref $_[0] |
196
|
0 |
5 |
unless ref $_[0] |
204
|
0 |
7 |
unless ref $_[0] |
257
|
0 |
45 |
@params == 1 && (ref $params[0] || '') eq 'HASH' ? : |
260
|
2 |
43 |
unless $class_or_self->can("run") |
266
|
5 |
38 |
exists $params{'summarize_result'} ? : |
269
|
4 |
39 |
$params{'runtime'} ? : |
271
|
1 |
42 |
if $@ |
273
|
27 |
16 |
if (@res == 1 and (ref $res[0] || '') eq 'HASH') { } |
|
12 |
4 |
elsif (@res % 2 == 0) { } |
280
|
4 |
39 |
if $start |
282
|
4 |
39 |
unless $summarize |
346
|
68 |
138 |
if (ref $self) |
370
|
52 |
228 |
unless exists $statuses->{$status} |
373
|
44 |
236 |
if (exists $result->{'results'}) |
374
|
40 |
4 |
if ((ref $result->{'results'} || '') eq 'ARRAY') { } |
378
|
5 |
35 |
if (@results == 1 and $self->collapse_single_result) |
389
|
3 |
1 |
defined $result->{'results'} ? : |
401
|
10 |
89 |
if (exists $r->{'id'} and my $i = $seen_ids{$r->{'id'} // ""}++) |
402
|
5 |
5 |
defined $r->{'id'} && length $r->{'id'} ? : |
405
|
99 |
0 |
if (defined(my $s = $r->{'status'})) |
407
|
4 |
95 |
if $s =~ /^[0-3]$/ |
411
|
36 |
63 |
if exists $statuses->{$s} and $statuses->{$s} < ($statuses->{$status} // 5) |
418
|
259 |
16 |
if $status |
422
|
75 |
200 |
if (exists $result->{'id'}) |
424
|
14 |
61 |
unless (defined $rid and $rid =~ /^[a-z0-9_]+$/) |
425
|
10 |
4 |
defined $rid ? : |
429
|
125 |
150 |
if (exists $result->{'timestamp'}) |
431
|
121 |
4 |
unless (defined $ts and $ts =~ /$rfc3339_timestamp/x) |
432
|
121 |
0 |
defined $ts ? : |
440
|
4 |
271 |
if (not exists $result->{'status'}) { } |
|
1 |
270 |
elsif (not defined $result->{'status'}) { } |
|
11 |
259 |
elsif (not exists $$statuses{uc($result->{'status'} // '')}) { } |
451
|
6 |
269 |
unless defined $result->{'status'} and length $result->{'status'} |
453
|
151 |
124 |
if (@errors) |
458
|
135 |
15 |
if $result->{'status'} and $$statuses{$result->{'status'}} and $statuses->{'UNKNOWN'} < $$statuses{$result->{'status'}} |