Condition Coverage

blib/lib/CXC/Data/Visitor.pm
Criterion Covered Total %
condition 15 20 75.0


and 3 conditions

line !l l&&!r l&&r condition
136 16 89 6 $visit_element and (my $result = &$code($idx, $vref, $context, \%meta)) != 1
422 14 1 0 exists $opts{'sort_keys'} and not is_coderef($opts{'sort_keys'})
437 0 0 15 &looks_like_number($metadata{'revisit_limit'}) and floor($metadata{'revisit_limit'}) == $metadata{'revisit_limit'}

or 2 conditions

line l !l condition
424 6 9 delete $opts{'context'} // {}
433 0 15 delete $opts{'revisit_limit'} // 10
440 2 13 delete $opts{'cycle'} // "die"
441 6 9 delete $opts{'visit'} // 7

or 3 conditions

line l !l&&r !l&&!r condition
154 26 25 0 is_plain_arrayref($ref) or is_plain_hashref($ref)