Condition Coverage

blib/lib/NetAddr/IP.pm
Criterion Covered Total %
condition 17 27 62.9


and 3 conditions

line !l l&&!r l&&r condition
426 5 0 1 $NetAddr::IP::rfc3021 and $_[0]->masklen == 31
461 3 0 2 not $_[0]{'isv6'} and isIPv4($_[0]{'addr'})
852 11 13 75 not $_[0]{'isv6'} and isIPv4($_[0]{'addr'})
854 12 0 10 $o[1] == 0 and $o[2] == 0
1180 91 0 15 ref $_[0] eq 'NetAddr::IP' and ref $_[1] eq 'ARRAY'
1256 0 0 12 ref $masklen and ref $masklen eq 'NetAddr::IP'
1483 0 0 0 $n . '' eq 0 and $b =~ /F/

or 3 conditions

line l !l&&r !l&&!r condition
426 2 0 6 (notcontiguous($_[0]{'mask'}))[1] == 128 or $NetAddr::IP::rfc3021 and $_[0]->masklen == 31
1032 71 62 99 $dif or $#bits