Branch Coverage

blib/lib/Module/CPANTS/Analyse.pm
Criterion Covered Total %
branch 31 58 53.4


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'})
78 0 0 if ($_[0] =~ /^Making (?:hard|symbolic) link from '([^']+)'/)
82 0 0 if ($_[0] =~ /^Invalid header/)
93 0 3 if ($entry->name eq "pax_global_header" or $entry->type eq "x" or $entry->type eq "g")
100 0 1 if (my $error = $@)
112 0 1 if (@link_errors or @warnings) { }
116 0 0 if @link_errors
117 0 0 if @warnings
118 0 0 if %errors
124 0 1 if (@pax_headers) { }
133 0 1 unless opendir my $fh_testdir, $me->testdir
136 1 0 if (@stuff == 1) { }
138 1 0 if (-d $me->distdir) { }
144 0 1 if ($vname ne $stuff[0])
173 10 2 unless $me->x_opts->{'ignore'}
175 0 396 if $i->{'needs_db'}
178 2 1 if ($x_ignore{$i->{'name'}} and $i->{'ignorable'})
180 2 0 if ($me->d->{'error'}{$i->{'name'}})
196 8 3 if $me->_testdir
197 0 3 if ($me->_dont_cleanup) { }
211 3 2 if $me->_tarball
218 0 12 if $me->_x_opts
220 2 10 if (my $x_cpants = $me->d->{'meta_yml'}{'x_cpants'})
221 2 0 if (my $ignore = $x_cpants->{'ignore'})
222 2 0 if (ref $ignore eq ref {}) { }