| line |
true |
false |
branch |
|
25
|
5 |
12 |
@args == 1 && &Scalar::Util::reftype($args[0]) eq 'HASH' ? : |
|
27
|
15 |
2 |
if ($params{'health_check'}) { } |
|
29
|
1 |
14 |
unless do {
local $@;
eval {
do {
local $SIG{'__DIE__'};
$params{'health_check'}->can('check')
}
}
} |
|
37
|
5 |
9 |
if ($params{'allowed_params'}) |
|
41
|
1 |
4 |
if (not $ref) { } |
|
|
1 |
3 |
elsif ($ref ne 'ARRAY') { } |
|
49
|
1 |
3 |
if (my $ref = &Scalar::Util::reftype($param)) { } |
|
|
1 |
2 |
elsif (lc $param eq 'env') { } |
|
67
|
15 |
3 |
if $self->should_serve_health_check($env) |
|
77
|
6 |
27 |
unless $self->health_check_paths |
|
78
|
19 |
15 |
if $path eq $_ |
|
95
|
14 |
7 |
if exists $query_params->{$param} |
|
107
|
1 |
16 |
if $req and exists $req->query_parameters->{'pretty'} |
|
109
|
17 |
6 |
($result->{'status'} || '') eq 'OK' ? : |