Branch Coverage

blib/lib/App/MBUtiny/Storage/Local.pm
Criterion Covered Total %
branch 1 48 2.0


line true false branch
132 0 0 if (-e $dir and -d $dir || -l $dir) { }
135 0 0 if (preparedir($dir))
139 0 0 if $local_dirs{$dir}
144 0 1 if $uselocal
158 0 0 if $self->storage_status($sign) <= 0
162 0 0 if (-e $dir) { }
175 0 0 if $self->storage_status('Local') <= 0
187 0 0 if (copy($file, $dst)) { }
190 0 0 if ($size == $params{'size'}) { }
203 0 0 @dirs ? :
205 0 0 if value($local_node, 'fixup')
207 0 0 unless $status
212 0 0 if ($self->storage_status('Local') <= 0)
224 0 0 if (copy($src, $file)) { }
226 0 0 if ($src_size == $dst_size) { }
227 0 0 unless ($self->validate($file))
247 0 0 if $self->storage_status('Local') <= 0
255 0 0 unless -e $file
256 0 0 if (unlink $file) { }
257 0 0 if (-e $file)
266 0 0 if value($local_node, 'fixup')
268 0 0 unless $status
273 0 0 if $self->storage_status('Local') <= 0
278 0 0 if (-e $dir)