Branch Coverage

blib/lib/File/PCAP/ACAP2PCAP.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
61 2 0 if (exists $args->{'dlt'})
64 2 0 if (exists $args->{'output'}) { }
132 2 9 $line =~ /$r_strt/ ? :
137 2 0 $line =~ /$r_dscr/ ? :
1 2 $line =~ /$r_empt/ ? :
143 1 0 $line =~ /$r_empt/ ? :
0 1 $line =~ /$r_stop/ ? :
4 1 $line =~ /$r_dump/ ? :
0 5 $line =~ /$r_mdsc/ ? :
0 5 $line =~ /$r_dscr/ ? :
152 0 0 $line =~ /$r_stop/ ? :
3 0 $line =~ /$r_dscr/ ? :
18 3 $line =~ /$r_dump/ ? :
164 0 40 if ($self->{'debug'})
199 22 0 if ($len == 2 * hex($offset)) { }
219 5 2 if (my $len = length $self->{'packet_bytes'})
220 1 4 if ($self->{'last_sec'} > $self->{'packet_secs'})