Branch Coverage

blib/lib/File/Rotate/Backup.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
185 0 0 defined $$params{'archive_copies'} ? :
186 0 0 defined $$params{'dir_copies'} ? :
188 0 0 if $dir eq ''
196 0 0 if defined $$params{'dir_regex'}
197 0 0 if defined $$params{'file_regex'}
198 0 0 defined $$params{'no_archive'} ? :
235 0 0 if (ref $entry eq 'ARRAY') { }
243 0 0 unless ($$self{'_no_archive'})
247 0 0 unless $ext eq ''
250 0 0 if $self->_getVerbose
276 0 0 if $secondary_backup_dir eq ''
298 0 0 if ($num_archives > $archive_copies)
327 0 0 if ($num_dirs > $dir_copies)
345 0 0 if ($num_archives > $archive_copies)
350 0 0 unless ($secondary_backup_dir eq '')
358 0 0 if ($num_dirs > $dir_copies)
389 0 0 unless $$self{'_debug'}
434 0 0 unless ($copy)
441 0 0 if ($$self{'_debug'}) { }
0 0 elsif ($self->_getVerbose) { }
464 0 0 if (exists $$self{'_archive_file_regex'}) { }
479 0 0 if $dir eq ''
481 0 0 unless opendir DIR, $dir
483 0 0 if /^$regex/
495 0 0 if (exists $$self{'_archive_dir_regex'}) { }
497 0 0 unless defined $regex
511 0 0 if $dir eq ''
513 0 0 unless opendir DIR, $dir
516 0 0 if /^$regex/
526 0 0 unless $time
544 0 0 if ($path eq '')
571 0 0 if (exists $$self{'_compress_ext'})
577 0 0 if ($compress_prog_path =~ m[(?:\A|/)([^/\s]+)([^/]*)$])
599 0 0 unless $ext eq '.'
606 0 0 if ($path eq '')
629 0 0 if ($path eq '')
644 0 0 if ($path eq '')