Branch Coverage

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


line true false branch
33 0 0 exists $self->config_hash->{$name} ? :
43 0 0 $config_file ? :
83 0 0 unless name_ok($from)
84 0 0 unless name_ok($to)
91 0 0 if $table eq $self->filetable
96 0 0 if $self->verbose
107 0 0 unless name_ok($name)
114 0 0 if ($rv) { }
115 0 0 if $self->verbose
117 0 0 if $self->verbose
126 0 0 unless name_ok($fdbname)
142 0 0 unless name_ok($fdbname)
144 0 0 unless open my $fh, '>', $pathname
160 0 0 unless ($fh)
164 0 0 if defined $fh
176 0 0 unless name_ok($fdbname)
178 0 0 unless open my $fh, '<', $pathname
183 0 0 if ($total_length == 0)
187 0 0 if $bytecount != $total_length
190 0 0 unless close $fh
212 0 0 if $verbose and $part % 25 == 0
221 0 0 if $verbose
235 0 0 unless name_ok($fdbname)
240 0 0 if $verbose
251 0 0 unless ($row and defined $row->[0])
255 0 0 if $verbose
256 0 0 unless ($row->[0] =~ /\s+(\d+)$/)
264 0 0 if ($row->[2] ne $orig_c_md5)
265 0 0 unless $rownum == $name_num
269 0 0 unless $row->[1] eq md5_base64($block)
280 0 0 unless $retrieved_md5 eq $orig_c_md5
289 0 0 if ($self->uselocks)
295 0 0 if ($self->uselocks)
306 0 0 if (not defined $file or $file eq '')
310 0 0 if ($file and $file =~ /\s/)
314 0 0 if (length $file > 75)