Branch Coverage

blib/lib/DBIx/FileStore.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
22 0 0 unless (ref $self)
25 0 0 if ($opts{'verbose'})
92 0 0 unless name_ok($from)
93 0 0 unless name_ok($to)
100 0 0 if $table eq $$self{'filetable'}
105 0 0 if $$self{'verbose'}
116 0 0 unless name_ok($name)
123 0 0 if ($rv) { }
124 0 0 if $$self{'verbose'}
126 0 0 if $$self{'verbose'}
135 0 0 unless name_ok($fdbname)
151 0 0 unless name_ok($fdbname)
153 0 0 unless open my $fh, '>', $pathname
169 0 0 unless ($fh)
173 0 0 if defined $fh
185 0 0 unless name_ok($fdbname)
187 0 0 unless open my $fh, '<', $pathname
192 0 0 if ($total_length == 0)
196 0 0 if $bytecount != $total_length
199 0 0 unless close $fh
221 0 0 if $verbose and $part % 25 == 0
230 0 0 if $verbose
244 0 0 unless name_ok($fdbname)
249 0 0 if $verbose
260 0 0 unless ($row and defined $$row[0])
264 0 0 if $verbose
265 0 0 unless ($$row[0] =~ /\s+(\d+)$/)
273 0 0 if ($$row[2] ne $orig_c_md5)
274 0 0 unless $rownum == $name_num
278 0 0 unless $$row[1] eq md5_base64($block)
289 0 0 unless $retrieved_md5 eq $orig_c_md5
298 0 0 if ($$self{'uselocks'})
304 0 0 if ($$self{'uselocks'})
315 0 0 if (not defined $file or $file eq '')
319 0 0 if ($file and $file =~ /\s/)
323 0 0 if (length $file > 75)