Condition Coverage

blib/lib/Net/IPAM/Block/Private.pm
Criterion Covered Total %
condition 23 25 92.0


and 3 conditions

line !l l&&!r l&&r condition
106 0 0 4 &Scalar::Util::blessed($ip) and $ip->isa("Net::IPAM::IP")
127 1 3 4 $_[0]{'base'}->cmp($_[1]) <= 0 && $_[0]{'last'}->cmp($_[1]) >= 0
136 82 101 64 $_[0]{'base'}->cmp($_[1]{'base'}) <= 0 && $_[0]{'last'}->cmp($_[1]{'last'}) >= 0
241 19 9 121 $is_all_zeros && $is_all_ones
256 6 7 86 $is_all_zeros && $is_all_ones

or 2 conditions

line l !l condition
39 225 2 "Net::IPAM::IP"->new($prefix_str) // (return)
43 6 1 "Net::IPAM::IP"->new($suffix_str) // (return)
72 79 1 "Net::IPAM::IP"->new($base_str) // (return)
73 77 2 "Net::IPAM::IP"->new($last_str) // (return)
93 63 2 "Net::IPAM::IP"->new($addr) // (return)