blib/lib/POE/Component/Client/NRPE.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 31 | 54.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 8 | 0 | 1 | $params{'version'} and $params{'version'} eq '1' |
29 | 1 | 0 | 8 | defined $params{'usessl'} and $params{'usessl'} eq '0' |
30 | 4 | 0 | 5 | defined $params{'timeout'} and $params{'timeout'} =~ /^\d+$/ |
47 | 9 | 0 | 0 | $kernel == $sender and not $$self{'session'} |
102 | 1 | 6 | 0 | $$self{'version'} == 2 and $$self{'usessl'} |
line | l | !l | condition |
---|---|---|---|
153 | 1 | 0 | $args[4] || 'CHECK_NRPE: No output returned from NRPE daemon.' |
170 | 1 | 0 | $args[4] || 'CHECK_NRPE: No output returned from NRPE daemon.' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
146 | 0 | 0 | 1 | $args[0] ne '2' or $args[1] ne '1' |
0 | 0 | 1 | $args[0] ne '2' or $args[1] ne '1' or not $args[2] =~ /^[0123]$/ | |
163 | 1 | 0 | 1 | $args[0] ne '2' or $args[1] ne '2' |
1 | 0 | 1 | $args[0] ne '2' or $args[1] ne '2' or not $args[3] =~ /^[0123]$/ |