Branch Coverage

blib/lib/NetPacket/IPv6.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
88 19 0 if (defined $pkt)
105 2 6 if $header_type == 59 or $header_type == 50
107 0 6 if ($header_type == 44) { }
112 0 6 $header_type == 51 ? :
122 19 0 if length $self->{'src_ip'} == 16
123 19 0 if length $self->{'dest_ip'} == 16
155 0 3 if ($header->{'type'} == 44) { }
0 3 elsif ($header->{'type'} == 50) { }
0 3 elsif ($header->{'type'} == 59) { }
170 0 3 if $data_bytes < 6
172 0 3 $header->{'type'} == 51 ? :
190 7 0 if defined $self->{'data'}