Condition Coverage

blib/lib/Path/Iterator/Rule.pm
Criterion Covered Total %
condition 39 43 90.7


and 3 conditions

line !l l&&!r l&&r condition
145 6 61 13 ref $_[0] && !&Scalar::Util::blessed($_[0])
6 56 5 ref $_[-1] && !&Scalar::Util::blessed($_[-1])
222 473 6 34 $opt_visitor and $interest
229 289 22 202 -d $string_item and CORE::not $prune
311 6 196 -d $string_item and CORE::not $prune and !$opt_loop_safe || $self->_is_unique($string_item, $stash)
267 10 12 9 $interest and $opt_depthfirst > 0
395 42 769 1 CORE::not ref $result and $result eq '0 but true'
417 128 1 25 &Scalar::Util::blessed($arg) and $arg->isa('Path::Iterator::Rule')

or 2 conditions

line l !l condition
394 433 379 &$rule($item, $base, $stash) || 0
453 3 39 $add ||= ''
477 1 2 $orig ||= ''
484 0 0 $pos ||= ''
485 0 0 $neg ||= ''

or 3 conditions

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