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)
272 10 12 9 $interest and $opt_depthfirst > 0
400 42 769 1 CORE::not ref $result and $result eq '0 but true'
422 128 1 25 &Scalar::Util::blessed($arg) and $arg->isa('Path::Iterator::Rule')

or 2 conditions

line l !l condition
399 433 379 &$rule($item, $base, $stash) || 0
458 3 39 $add ||= ''
482 1 2 $orig ||= ''
489 0 0 $pos ||= ''
490 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)
349 1 5 107 $prune ||= ref $result eq 'SCALAR'
404 4 42 765 $prune ||= ref $result eq 'SCALAR'