| line |
true |
false |
branch |
|
25
|
5 |
17 |
@args == 1 && builtin::reftype($args[0]) eq 'HASH' ? : |
|
27
|
20 |
2 |
if ($params{'health_check'}) { } |
|
29
|
1 |
19 |
unless do {
local $@;
eval {
do {
local $SIG{'__DIE__'};
$params{'health_check'}->can("check")
}
}
} |
|
38
|
12 |
7 |
unless exists $params{'allowed_params'} |
|
44
|
1 |
18 |
if (not $ref) { } |
|
|
1 |
17 |
elsif ($ref ne 'ARRAY') { } |
|
52
|
1 |
18 |
if (my $ref = builtin::reftype($param)) { } |
|
|
1 |
17 |
elsif (lc $param eq 'env') { } |
|
69
|
23 |
3 |
if $self->should_serve_health_check($env) |
|
72
|
0 |
3 |
if $self->should_serve_tags_list($env) |
|
82
|
6 |
35 |
unless $self->health_check_paths |
|
83
|
27 |
15 |
if $path eq $_ |
|
93
|
3 |
12 |
unless $self->health_check_paths |
|
94
|
4 |
15 |
if $path eq "$_/tags" |
|
110
|
21 |
25 |
if (exists $query_params->{$param}) |
|
112
|
21 |
0 |
if exists $query_params->{$param} |
|
117
|
6 |
17 |
if (exists $check_params{'runtime'}) { } |
|
|
1 |
16 |
elsif (exists $req->query_parameters->{'pretty'}) { } |
|
119
|
3 |
3 |
$check_params{'runtime'}[0] eq '' ? : |
|
143
|
6 |
23 |
if $req and exists $req->query_parameters->{'pretty'} |
|
145
|
29 |
8 |
ref $result eq 'ARRAY' || ($result->{'status'} || '') eq 'OK' ? : |