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
193 25 198 9 $visit_element and (my $result = &$code($kydx, $vref, $context, \%meta)) != 2
209 1 0 0 not $revisit_element and !$result & 2
260 1 2 0 not $revisit_element and !$result & 2
305 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'}
334 26 0 1 defined $idx_sort && is_coderef($idx_sort)

or 2 conditions

line l !l condition
288 8 19 delete $opts{'context'} // {}
315 0 27 delete $opts{'revisit_limit'} // 10
337 2 25 delete $opts{'cycle'} // "die"
338 15 12 delete $opts{'visit'} // 7

or 3 conditions

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