blib/lib/File/PCAP/Reader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 24 | 54.1 |
line | true | false | branch |
---|---|---|---|
114 | 1 | 0 | if (defined $File::PCAP::linktypes->{$llht}) { } |
170 | 0 | 8 | if (not defined $rr) { } |
2 | 6 | elsif (16 > $rr) { } | |
174 | 0 | 2 | if ($rr) |
182 | 0 | 6 | unless (defined $rr) |
185 | 0 | 6 | if ($incl_len > $rr) |
206 | 2 | 0 | if ($fname) { } |
207 | 2 | 0 | if (open my $fh, '<', $fname) { } |
223 | 2 | 0 | if $self->{'fh'} |
236 | 0 | 2 | unless (24 == read($fh, $data, 24)) |
241 | 2 | 0 | if (2712847316 == $magic or 2712812621 == $magic) { } |
242 | 0 | 2 | if (2 != $vmajor or 4 != $vminor) |