Branch Coverage

lib/App/CPANTS/Lint.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
12 0 0 unless defined $opts{'no_capture'}
13 0 0 if $opts{'yaml'} or $opts{'json'}
20 0 0 unless -f $dist
29 0 0 if (-f $dist and my $error = $mca->unpack)
30 0 0 if warn "${dist}: $error\n"
37 0 0 unless $mca->d->{'error'}
40 0 0 if ($$ind{'needs_db'})
44 0 0 if ($mca->can('x_opts') and $mca->x_opts->{'ignore'}{$$ind{'name'}} and $$ind{'ignorable'})
48 0 0 if ($$kwl{$$ind{'name'}} || 0) > 0
49 0 0 $$ind{'is_experimental'} ? :
0 0 $$ind{'is_extra'} ? :
52 0 0 if $type eq 'experimental' and not $$self{'opts'}{'experimental'}
54 0 0 if ($error and ref $error)
67 0 0 !$fails{'core'} && (!$fails{'extra'} || $$self{'opts'}{'core_only'}) ? :
72 0 0 if ($$self{'opts'}{'yaml'} and eval { do { require CPAN::Meta::YAML } }) { }
0 0 elsif ($$self{'opts'}{'json'} and eval { do { require JSON::PP } }) { }
76 0 0 if $pretty
81 0 0 unless $pretty
93 0 0 unless $$self{'res'}{'fails'}
96 0 0 unless $fails{'core'}
0 0 unless $fails{'extra'}
100 0 0 if ($wants_detail)
110 0 0 if ($$self{'opts'}{'dump'}) { }
0 0 elsif ($$self{'opts'}{'colour'} and $self->_supports_colour) { }
122 0 0 if ($$res{'ignored'})
126 0 0 if ($$res{'ok'})
130 0 0 if (my $fails = $$res{'fails'}{$type})
139 0 0 if ($$fail{'error'})
154 0 0 if $^O eq 'MSWin32'
170 0 0 if ($^O eq 'MSWin32')
179 0 0 $^O eq 'MSWin32' ? :
200 0 0 if ($failed{$$ind{'name'}}) { }
202 0 0 if $type eq 'Core'
204 0 0 if $failed{$$ind{'name'}}{'error'}
222 0 0 if keys %failed
223 0 0 if $core_fails
235 0 0 if ($$self{'opts'}{'save'}) { }
237 0 0 unless open my $fh, '>:utf8', $file
249 0 0 unless ($vname)
253 0 0 $$self{'opts'}{'dump'} ? :
0 0 $$self{'opts'}{'json'} ? :
0 0 $$self{'opts'}{'yaml'} ? :