blib/lib/HealthCheck/Diagnostic/RemoteHealth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 11 | 54.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
16 | 1 | 0 | 0 | @params == 1 && (ref $params[0] || '') eq 'HASH' |
37 | 2 | 0 | 4 | @{[] unless $result->{'results'};} == 2 and $result->{'results'}[0]{'status'} eq "OK" |
line | l | !l | condition |
---|---|---|---|
19 | 0 | 1 | $params{'status_code'} //= "200, 503" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 1 | 0 | 3 | $@ or ref $remote_result ne "HASH" |