Condition Coverage

blib/lib/Net/IPAM/Block.pm
Criterion Covered Total %
condition 17 18 94.4


and 3 conditions

line !l l&&!r l&&r condition
535 1 250 8 ref $_[1] and $_[1]->isa("Net::IPAM::IP")
539 1 1 249 ref $_[1] and $_[1]->isa("Net::IPAM::Block")
695 17 41 44 defined $next and $next->cmp($_->{'base'}) == 0

or 3 conditions

line l !l&&r !l&&!r condition
92 377 2 0 $_[1] // Carp::croak("missing argument")
446 434 102 10 $_[0]{'base'}->cmp($_[1]{'base'}) || $_[1]{'last'}->cmp($_[0]{'last'})
504 55 1 63 $_[0]->contains($_[1]) or $_[1]->contains($_[0])