Condition Coverage

lib/Path/Extended/Tiny.pm
Criterion Covered Total %
condition 34 51 66.6


and 3 conditions

line !l l&&!r l&&r condition
115 1 48 1 $mode and $mode =~ /:/
261 9 3 3 $filter and not $line =~ /$filter/
287 27 0 0 $$opts{'lock'} and not $self->lock_ex
373 1 0 15 $self->exists and -d $self->_path
397 0 69 0 not $opts{'all'} and $path eq '.' || $path eq '..'
422 4 0 1 @_ == 1 && ref $_[0] eq ref sub { }
446 3 1 1 $opts{'depthfirst'} && $opts{'preorder'}
466 0 0 0 -d $self && (-e $other || -l $other) && $self->subsumes($other)
469 37 0 4 @_ == 1 && ref $_[0] eq ref {}

or 2 conditions

line l !l condition
116 48 1 $mode || 'r'
144 1 0 shift() || 0
220 0 12 $$opts{'iomode'} || 'r'

or 3 conditions

line l !l&&r !l&&!r condition
55 46 5 127 $_[0][1] || $_[0][2]
252 4 0 8 @callbacks or $filter
2 0 6 @callbacks or $filter or wantarray
282 0 0 27 $$opts{'mode'} || $$opts{'append'}
397 18 18 33 $path eq '.' || $path eq '..'
399 25 0 8 $opts{'prune'} or $opts{'no_hidden'}