Branch Coverage

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


line true false branch
19 0 9 unless defined $packet{$key}
22 0 1 unless $packet{'tc'} =~ /^\d+$/ and $packet{'tc'} <= 255
23 0 1 unless $packet{'type'} =~ /^\d+$/ and $packet{'type'} <= 255
37 0 2 unless $network =~ /^$OCTET(:$OCTET){3}$/
38 0 2 unless $node =~ /^$OCTET(:$OCTET){5}$/
39 0 2 unless $socket =~ /^\d+$/ and $socket <= 65535
55 2 0 if (defined $pkt)