Branch Coverage

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


line true false branch
12 0 0 unless defined $opts{'no_capture'}
13 0 0 if $opts{'yaml'} or $opts{'json'}
14 0 0 if ($opts{'metrics_path'})
23 0 0 unless -f $dist
32 0 0 if (-f $dist and my $error = $mca->unpack)
33 0 0 if warn "${dist}: $error\n"
40 0 0 unless $mca->d->{'error'}
43 0 0 if ($$ind{'needs_db'})
47 0 0 if ($mca->can('x_opts') and $mca->x_opts->{'ignore'}{$$ind{'name'}} and $$ind{'ignorable'})
51 0 0 if ($$kwl{$$ind{'name'}} || 0) > 0
52 0 0 $$ind{'is_experimental'} ? :
0 0 $$ind{'is_extra'} ? :
55 0 0 if $type eq 'experimental' and not $$self{'opts'}{'experimental'}
57 0 0 if ($error and ref $error)
70 0 0 !$fails{'core'} && (!$fails{'extra'} || $$self{'opts'}{'core_only'}) ? :
75 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 } }) { }
79 0 0 if $pretty
84 0 0 unless $pretty
96 0 0 unless $$self{'res'}{'fails'}
99 0 0 unless $fails{'core'}
0 0 unless $fails{'extra'}
103 0 0 if ($wants_detail)
113 0 0 if ($$self{'opts'}{'dump'}) { }
0 0 elsif ($$self{'opts'}{'colour'} and $self->_supports_colour) { }
125 0 0 if ($$res{'ignored'})
129 0 0 if ($$res{'ok'})
133 0 0 if (my $fails = $$res{'fails'}{$type})
142 0 0 if ($$fail{'error'})
157 0 0 if $^O eq 'MSWin32'
173 0 0 if ($^O eq 'MSWin32')
182 0 0 $^O eq 'MSWin32' ? :
203 0 0 if ($failed{$$ind{'name'}}) { }
205 0 0 if $type eq 'Core'
207 0 0 if $failed{$$ind{'name'}}{'error'}
225 0 0 if keys %failed
226 0 0 if $core_fails
238 0 0 if ($$self{'opts'}{'save'}) { }
240 0 0 unless open my $fh, '>:utf8', $file
252 0 0 unless ($vname)
256 0 0 $$self{'opts'}{'dump'} ? :
0 0 $$self{'opts'}{'json'} ? :
0 0 $$self{'opts'}{'yaml'} ? :