Branch Coverage

blib/lib/Net/DHCP/Packet/IPv4Utils.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
27 35 16 if ($addr and $addr =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/)
37 12 32 unless $ip and length $ip == 4
57 4 7 unless @_