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
27 7 9 35 $addr and $addr =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/
37 6 6 32 $ip and length $ip == 4

or 2 conditions

line l !l condition
47 8 3 shift() || 0
53 5 3 shift() || 0
62 10 0 shift() || 0