Branch Coverage

blib/lib/NetPacket/IPX.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
21 0 9 unless defined $packet{$key}
24 0 1 unless $packet{'tc'} =~ /^\d+$/ and $packet{'tc'} <= 255
25 0 1 unless $packet{'type'} =~ /^\d+$/ and $packet{'type'} <= 255
39 0 2 unless $network =~ /^$OCTET(:$OCTET){3}$/
40 0 2 unless $node =~ /^$OCTET(:$OCTET){5}$/
41 0 2 unless $socket =~ /^\d+$/ and $socket <= 65535
57 2 0 if (defined $pkt)