Condition Coverage

blib/lib/CXC/Data/Visitor.pm
Criterion Covered Total %
condition 18 29 62.0


and 3 conditions

line !l l&&!r l&&r condition
191 25 198 9 $visit_element and (my $result = &$code($kydx, $vref, $context, \%meta)) != 2
207 1 0 0 not $revisit_element and !$result & 2
258 1 2 0 not $revisit_element and !$result & 2
303 0 0 0 &looks_like_number($opts{'revisit_limit'}) && floor($opts{'revisit_limit'}) == $opts{'revisit_limit'}
27 0 0 defined $opts{'revisit_limit'} and not &looks_like_number($opts{'revisit_limit'}) && floor($opts{'revisit_limit'}) == $opts{'revisit_limit'}
332 26 0 1 defined $idx_sort && is_coderef($idx_sort)

or 2 conditions

line l !l condition
286 8 19 delete $opts{'context'} // {}
313 0 27 delete $opts{'revisit_limit'} // 10
335 2 25 delete $opts{'cycle'} // "die"
336 15 12 delete $opts{'visit'} // 7

or 3 conditions

line l !l&&r !l&&!r condition
214 47 36 0 is_plain_arrayref($ref) or is_plain_hashref($ref)