Branch Coverage

blib/lib/Xtract/Publish.pm
Criterion Covered Total %
branch 51 64 79.6


line true false branch
59 0 4 if ($self->has_from and not -f $self->from)
91 2 2 if (defined $sqlite)
97 2 2 defined $sqlite ? :
101 3 1 if (defined $gz)
109 0 3 unless ($rv)
116 3 1 if (defined $bz2)
124 0 3 unless ($rv)
131 3 1 if (defined $lz)
138 1 3 if ($self->atomic)
139 1 0 if ($sqlite ne $self->sqlite)
142 0 1 if (defined $gz)
145 1 0 if (defined $bz2)
148 1 0 if (defined $lz)
154 1 3 unless (defined $gz)
157 1 3 unless (defined $bz2)
160 1 3 unless (defined $lz)
163 1 3 if ($self->from and not $self->raw)
172 6 2 if (defined $self->from and $self->sqlite ne $self->from)
173 3 3 if ($self->atomic) { }
184 5 3 if ($self->gz)
185 0 5 if ($self->atomic) { }
196 5 3 if ($self->bz2)
197 3 2 if ($self->atomic) { }
208 5 3 if ($self->lz)
209 3 2 if ($self->atomic) { }
226 0 19 if (&Params::Util::_CODE($_[0]->trace)) { }
0 19 elsif ($_[0]->trace) { }
237 0 2 unless (File::Copy::copy(@_))
245 1 2 if (-f $_[1]) { }
251 0 3 unless (File::Copy::move(@_))
262 2 13 if (-f $file)
264 0 2 unless (&File::Remove::remove($file))