blib/lib/Nagios/NRPE/Packet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 22 | 54.5 |
line | true | false | branch |
---|---|---|---|
264 | 0 | 4 | unless defined $options{'check'} |
266 | 2 | 2 | if ($options{'version'} eq 2) { } |
360 | 0 | 2 | unless ($unpacked->{'packet_version'}) |
377 | 2 | 0 | if (crc32($packed) != $checksum) { } |
390 | 0 | 4 | unless ($packet) |
394 | 2 | 2 | unless ($novalidate) |
396 | 2 | 0 | unless ($self->validate($packet)) |
403 | 4 | 0 | if ($ver) { } |
405 | 2 | 2 | if ($ver eq 2) { } |
462 | 0 | 0 | if ($l > length $packet) |
472 | 0 | 0 | if ($c >= 32 and $c <= 126) { } |