Branch Coverage

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


line true false branch
32 0 15 unless defined $opts->{'dist'}
37 12 3 if -d $opts->{'dist'}
44 1 11 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 0 1 if ($vname ne $stuff[0])
146 10 2 unless $me->x_opts->{'ignore'}
148 0 396 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 12 if $me->_x_opts
193 2 10 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 {}) { }