Branch Coverage

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 9 if (not defined $rr) { }
2 7 elsif (16 > $rr) { }
174 0 2 if ($rr)
182 0 7 unless (defined $rr)
185 0 7 if ($incl_len > $rr)
206 3 0 if ($fname) { }
207 3 0 if (open my $fh, '<', $fname) { }
224 3 0 if $self->{'fh'}
237 0 3 unless (24 == read($fh, $data, 24))
242 3 0 if (2712847316 == $magic or 2712812621 == $magic) { }
243 0 3 if (2 != $vmajor or 4 != $vminor)