| line |
true |
false |
branch |
|
25
|
5 |
15 |
@args == 1 && &Scalar::Util::reftype($args[0]) eq 'HASH' ? : |
|
27
|
18 |
2 |
if ($params{'health_check'}) { } |
|
29
|
1 |
17 |
unless do {
local $@;
eval {
do {
local $SIG{'__DIE__'};
$params{'health_check'}->can('check')
}
}
} |
|
38
|
10 |
7 |
unless exists $params{'allowed_params'} |
|
44
|
1 |
16 |
if (not $ref) { } |
|
|
1 |
15 |
elsif ($ref ne 'ARRAY') { } |
|
52
|
1 |
16 |
if (my $ref = &Scalar::Util::reftype($param)) { } |
|
|
1 |
15 |
elsif (lc $param eq 'env') { } |
|
69
|
23 |
3 |
if $self->should_serve_health_check($env) |
|
79
|
6 |
35 |
unless $self->health_check_paths |
|
80
|
27 |
15 |
if $path eq $_ |
|
96
|
21 |
25 |
if (exists $query_params->{$param}) |
|
98
|
21 |
0 |
if exists $query_params->{$param} |
|
103
|
6 |
17 |
if (exists $check_params{'runtime'}) { } |
|
|
1 |
16 |
elsif (exists $req->query_parameters->{'pretty'}) { } |
|
105
|
3 |
3 |
$check_params{'runtime'}[0] eq '' ? : |
|
120
|
5 |
20 |
if $req and exists $req->query_parameters->{'pretty'} |
|
122
|
25 |
6 |
($result->{'status'} || '') eq 'OK' ? : |