Branch Coverage

blib/lib/BackupPC/Backups/Info.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
51 0 0 unless (defined $dir)
79 0 0 unless (-d $dir)
88 0 0 unless (-d $dir . '/pc')
112 0 0 unless ($self->errorblank)
146 0 0 unless ($self->errorblank)
150 0 0 unless (defined $machine)
157 0 0 if ($machine =~ m[/])
164 0 0 if (not defined $self->{'last'}{$machine} or $force)
169 0 0 if ($self->error)
193 0 0 unless ($self->errorblank)
218 0 0 unless ($self->errorblank)
222 0 0 unless (defined $machine)
229 0 0 if ($machine =~ m[/])
238 0 0 if ($self->error)
258 0 0 if ($backup{'compress'} eq '')
296 0 0 unless ($self->errorblank)
300 0 0 unless (defined $machine)
307 0 0 if ($machine =~ m[/])
317 0 0 unless (-d $machineDir)
327 0 0 unless (open $fh, '<', $backupsFile)
355 0 0 unless ($self->errorblank)
362 0 0 unless (opendir $dh, $pcdir)
370 0 0 if (-d $pcdir . '/' . $entry and not $entry =~ /^\./)
394 0 0 unless ($self->errorblank)
420 0 0 unless ($self->errorblank)
425 0 0 if ($self->error)
433 0 0 if (-f $pcdir . '/' . $machines[$int] . '/backups')