Condition Coverage

blib/lib/Net/CIDR/Lookup/IPv6.pm
Criterion Covered Total %
condition 23 37 62.1


and 3 conditions

line !l l&&!r l&&r condition
69 0 0 2 defined $net and defined $bits
328 52 30 0 $checksub and defined $node->[$bit]
82 0 0 $checksub and defined $node->[$bit] and 'Net::CIDR::Lookup::IPv6' eq ref $node->[$bit]
337 82 0 0 not @node_stack and defined $$node[$bit ^ 1]
82 0 0 not @node_stack and defined $$node[$bit ^ 1] and $$node[$bit ^ 1] eq $val
342 6 46 30 defined $$node->[0] and defined $$node->[1]
52 30 0 defined $$node->[0] and defined $$node->[1] and $$node->[0] eq $$node->[1]
463 80 30 2308 $ix2 <= $ix1 and not $start->bit_test($ix2)
110 44 2264 $ix2 <= $ix1 and not $start->bit_test($ix2) and $end->bit_test($ix2)

or 2 conditions

line l !l condition
320 0 837 $node->[$bit] ||= bless([], 'Net::CIDR::Lookup::IPv6')
341 82 0 pop @node_stack // (last MERGECHECK)

or 3 conditions

line l !l&&r !l&&!r condition
92 0 0 6 defined $crud or not defined $end
459 2 152 886 -1 == $ix1 or $xor->bit_test($ix1)