Condition Coverage

blib/lib/Net/DHCP/Packet/IPv4Utils.pm
Criterion Covered Total %
condition 11 12 91.6


and 3 conditions

line !l l&&!r l&&r condition
29 7 9 35 $addr and $addr =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/
39 6 6 32 $ip and length $ip == 4

or 2 conditions

line l !l condition
49 8 3 shift() || 0
55 5 3 shift() || 0
64 10 0 shift() || 0