Branch Coverage

blib/lib/Mozilla/Backup/Plugin/FileCopy.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
134 0 0 if $args{'options'}
135 0 0 if (@opts) { }
179 0 0 unless ($$self{'status'} eq 'closed')
192 0 0 if ($$self{'path'} = _catdir($path)) { }
217 0 0 unless ($$self{'status'} eq 'closed')
224 0 0 if ($$self{'path'} = _catdir($path)) { }
244 0 0 unless ($$self{'status'} ne 'closed')
257 0 0 if ($name)
260 0 0 if -d $file
269 0 0 unless (@files)
290 0 0 unless ($$self{'status'} eq 'open for backup')
300 0 0 if (-d $file) { }
0 0 elsif (-r $file) { }
302 0 0 if ($self->_create_dir($name))
307 0 0 unless _catdir($dest)
311 0 0 if ($self->_create_dir($name))
317 0 0 unless copy($file, $dest)
320 0 0 unless _catfile($dest)
351 0 0 unless (-d $root)
357 0 0 _catdir($root) ? :
373 0 0 unless ($$self{'status'} eq 'open for restore')
382 0 0 unless (-d $dest)
387 0 0 if (-e $path)
396 0 0 if (-d $src) { }
0 0 elsif (-r $src) { }
397 0 0 if ($self->_create_dir($file, $dest))
402 0 0 unless _catdir($path)
405 0 0 if ($self->_create_dir($file, $dest))
410 0 0 unless copy($src, $path)
414 0 0 unless _catfile($path)
477 0 0 unless $args{'message'} =~ /\n$/
478 0 0 if $$self{'log'}