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
538 1 250 8 ref $_[1] and $_[1]->isa("Net::IPAM::IP")
542 1 1 249 ref $_[1] and $_[1]->isa("Net::IPAM::Block")
698 17 41 44 defined $next and $next->cmp($_->{'base'}) == 0

or 3 conditions

line l !l&&r !l&&!r condition
92 376 2 0 $_[1] // Carp::croak("missing argument")
449 437 100 10 $_[0]{'base'}->cmp($_[1]{'base'}) || $_[1]{'last'}->cmp($_[0]{'last'})
507 55 1 63 $_[0]->contains($_[1]) or $_[1]->contains($_[0])