Condition Coverage

lib/Badger/Filesystem/Path.pm
Criterion Covered Total %
condition 23 61 37.7


and 3 conditions

line !l l&&!r l&&r condition
207 0 0 0 &blessed($that) and $that->isa("Badger::Filesystem::Path")
216 0 0 0 &blessed($that) and $that->isa("Badger::Filesystem::Path")
281 0 0 4 @_ and $_[0]

or 2 conditions

line l !l condition
137 33 0 $config->{'path'} || (return $self->error_msg('missing', 'path'))
156 0 0 $self->filesystem->definitive_read($self->{'path'}) || (return)
162 0 0 $self->filesystem->definitive_read($self->{'path'}) || (return)
206 0 0 shift() || (return $self->error_msg('bad_look', 'above'))
215 0 0 shift() || (return $self->error_msg('bad_look', 'above'))
227 48 37 shift() || 0
300 38 0 $self->filesystem->stat_path($self->{'path'}) || (return $self->decline_msg('not_found', 'file', $self->{'path'}))
380 2 1 $self->{'metadata'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
89 0 3 0 $_[0]{$method} ||= $TIMESTAMP->new($_[0]->stats->[$statno])
110 1 570 0 ref $class || $class
114 1 13 0 ref $_[0] eq 'ARRAY' || !ref($_[0])
124 0 0 0 $args->{'filesystem'} ||= $args->{'fs'}
125 0 1 0 $args->{'directory'} ||= $args->{'dir'}
126 0 0 0 $args->{'volume'} ||= $args->{'vol'}
192 0 4 0 $self->{'stats'} && $self->{'stats'}[17] || $self->filesystem->definitive($self->{'path'})
222 0 0 3 $self->{'directory'} || $self->{'path'}
230 44 20 0 $self->{'directory'} ||= $self->path_up
21 64 0 $self->{'parent'} ||= $self->filesystem->directory($self->{'directory'} ||= $self->path_up)
312 21 38 0 $_[0]{'stats'} ||= $_[0]->stat
355 1144 25 0 $self->{'filesystem'} ||= $self->class->any_var("FILESYSTEM")->prototype