Branch Coverage

blib/lib/Module/CPANTS/Analyse.pm
Criterion Covered Total %
branch 30 46 65.2


line true false branch
32 0 14 unless defined $opts->{'dist'}
37 11 3 if -d $opts->{'dist'}
44 1 10 unless $me->d->{'is_local_distribution'}
52 0 1 unless $me->dist
66 0 1 unless ($me->d->{'package'})
77 0 3 if ($entry->name eq 'pax_global_header' or $entry->type eq 'x' or $entry->type eq 'g')
84 0 1 if (@pax_headers) { }
91 0 1 if (my $error = $@)
106 0 1 unless opendir my $fh_testdir, $me->testdir
109 1 0 if (@stuff == 1) { }
111 1 0 if (-d $me->distdir) { }
117 1 0 if ($vname eq $stuff[0])
146 9 2 unless $me->x_opts->{'ignore'}
148 0 363 if $i->{'needs_db'}
151 2 1 if ($x_ignore{$i->{'name'}} and $i->{'ignorable'})
153 2 0 if ($me->d->{'error'}{$i->{'name'}})
169 8 3 if $me->_testdir
170 0 3 if ($me->_dont_cleanup) { }
184 3 2 if $me->_tarball
191 0 11 if $me->_x_opts
193 2 9 if (my $x_cpants = $me->d->{'meta_yml'}{'x_cpants'})
194 2 0 if (my $ignore = $x_cpants->{'ignore'})
195 2 0 if (ref $ignore eq ref {}) { }