Branch Coverage

blib/lib/Mozilla/Backup/Plugin/Tar.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
119 0 0 if $$self{'debug'}
145 0 0 if $args{'options'}
146 0 0 if (@opts) { }
174 0 0 if $$self{'compress'}
176 0 0 unless $file =~ /$ext$/i
197 0 0 unless ($$self{'status'} eq 'closed')
207 0 0 if ($$self{'tar'} = 'Archive::Tar'->new) { }
231 0 0 unless ($$self{'status'} eq 'closed')
240 0 0 if ($$self{'tar'} = 'Archive::Tar'->new($path, $$self{'compress'})) { }
260 0 0 unless ($$self{'status'} ne 'closed')
281 0 0 unless ($$self{'status'} eq 'open for backup')
290 0 0 if ($$self{'tar'}->add_files($file)) { }
293 0 0 if ($$self{'tar'}->rename($nix_name, $name)) { }
317 0 0 unless ($$self{'status'} eq 'open for restore')
327 0 0 unless (-d $dest)
332 0 0 if (-e $path)
339 0 0 unless (-e $path)
356 0 0 unless ($$self{'status'} eq 'open for backup')
365 0 0 if ($$self{'tar'}->write($path, $$self{'compress'})) { }
385 0 0 unless ($$self{'status'} eq 'open for restore')
418 0 0 unless $args{'message'} =~ /\n$/
419 0 0 if $$self{'log'}