Condition Coverage

blib/lib/Net/CIDR/Lookup/IPv6.pm
Criterion Covered Total %
condition 22 35 62.8


and 3 conditions

line !l l&&!r l&&r condition
65 0 0 2 defined $net and defined $bits
324 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]
333 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
339 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]
460 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
316 0 837 $node->[$bit] ||= bless([], 'Net::CIDR::Lookup::IPv6')

or 3 conditions

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