Condition Coverage

blib/lib/Path/Iterator/Rule.pm
Criterion Covered Total %
condition 38 43 88.3


and 3 conditions

line !l l&&!r l&&r condition
145 6 61 10 ref $_[0] && !&Scalar::Util::blessed($_[0])
6 56 5 ref $_[-1] && !&Scalar::Util::blessed($_[-1])
216 473 6 10 $opt_visitor and $interest
223 274 22 193 -d $string_item and CORE::not $prune
296 193 0 -d $string_item and CORE::not $prune and !$opt_loop_safe || $self->_is_unique($string_item, $stash)
257 10 9 6 $interest and $opt_depthfirst > 0
384 42 769 1 CORE::not ref $result and $result eq '0 but true'
406 128 1 25 &Scalar::Util::blessed($arg) and $arg->isa('Path::Iterator::Rule')

or 2 conditions

line l !l condition
383 433 379 &$rule($item, $base, $stash) || 0
442 3 39 $add ||= ''
466 1 2 $orig ||= ''
473 0 0 $pos ||= ''
474 0 0 $neg ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
223 8 183 2 !$opt_loop_safe || $self->_is_unique($string_item, $stash)
333 1 5 107 $prune ||= ref $result eq 'SCALAR'
388 4 42 765 $prune ||= ref $result eq 'SCALAR'