Condition Coverage

lib/Badger/Filesystem/Virtual.pm
Criterion Covered Total %
condition 12 22 54.5


and 3 conditions

line !l l&&!r l&&r condition
90 8 0 57 @paths and --$max
220 0 4 0 ref $self and $self->{'all_entries'}

or 2 conditions

line l !l condition
91 57 0 shift @paths || (next)
202 10 0 'IO::Dir'->new($full) || (next)

or 3 conditions

line l !l&&r !l&&!r condition
51 5 1 0 $config->{'root'} || $self->{'rootdir'}
93 33 21 3 ref $dir || do { '???'; push @roots, $dir; next }
128 22 0 0 $dir->can('path') || $dir->can('paths') || $dir->can('roots')
220 0 0 4 $all or ref $self and $self->{'all_entries'}