Branch Coverage

blib/lib/ORDB/CPANMeta/Generator.pm
Criterion Covered Total %
branch 19 40 47.5


line true false branch
79 0 1 unless (defined $self->sqlite)
80 0 0 $^O eq 'MSWin32' ? :
89 1 0 unless (exists $$self{'publish'})
142 0 1 $self->prefer_bin ? :
146 0 1 unless (-d $self->dir)
151 1 0 unless ($self->delta)
152 0 1 if (-f $self->sqlite)
155 0 1 if (-f $self->sqlite)
161 0 1 if (&Params::Util::_HASH($self->minicpan))
172 0 1 unless ($dbh)
205 0 1 if ($self->delta)
220 0 0 if (-f $path)
261 0 4 if $self->trace
275 0 4 if (-f $json_file) { }
4 0 elsif (-f $yaml_file) { }
284 4 0 unless ($@ or not defined $meta)
329 1 6 $$_{'module'} eq 'perl' ? :
330 0 4 unless ($$the{'counter'} % 100)
348 1 0 if (defined $self->publish)
349 0 1 if $self->trace