Branch Coverage

blib/lib/CPAN/YACSmoke.pm
Criterion Covered Total %
branch 3 124 2.4


line true false branch
87 0 0 if ($TiedObj) { }
99 0 1 if ($TiedObj)
118 0 0 if $CpanPlus
125 0 0 if ($CPANPLUS::Backend::VERSION >= 0.052)
148 0 0 if ($mod->package =~ /^(.+)$extn$/) { }
156 0 0 unless ($TiedObj)
167 0 0 if ($package =~ $re->re)
173 0 0 if (defined $checked and $checked =~ /aborted|fail|unknown|na|ungraded/)
176 0 0 if ($$self{'ignore_bad_prereqs'}) { }
193 0 0 unless ($TiedObj)
198 0 0 if ($$mod{'package'} =~ /^(.+)$extn$/) { }
204 0 0 unless $$self{'cpantest'}
206 0 0 if defined $checked and $checked eq 'aborted' && $grade ne 'pass' || $checked eq 'unknown' && $grade eq 'unknown' || $checked eq 'ungraded' && $grade eq 'fail' || $checked =~ /pass|na/ || $checked eq 'fail' && $grade =~ /unknown|na|fail/
345 0 0 if ($config{'config_file'} and -r $config{'config_file'})
349 0 0 if defined $val
352 0 0 if @list
355 0 0 if ($$self{'audit_log'})
357 0 0 unless ($vol or $path)
365 0 0 if (exists $config{$field})
375 0 0 if $$self{'test_max'} < 0
384 0 0 if $_ =~ /$config{'list_from'}/
387 0 0 unless $plugin
389 0 0 if $@
420 0 0 if @_
422 0 0 unless (defined $$self{'homedir'})
423 0 0 if ($^O eq 'MSWin32') { }
446 0 0 if @_
448 0 0 unless (defined $$self{'basedir'})
463 0 0 if ($dist =~ $re->re) { }
471 0 0 if $removed
481 0 0 if ($line =~ /^(.*)\-(.+)(\.tar\.gz)$/) { }
0 0 elsif ($line =~ /^(.*)\-(.+)$/) { }
488 0 0 if ($$self{'ignore_cpanplus_bugs'} or @dirs == 4 and $ver =~ /^[\d\.\_]+$/) { }
491 0 0 if (exists $paths{$dist}) { }
508 0 0 if (@dirs == 1)
509 0 0 if (exists $paths{$dist}) { }
517 0 0 if $ignored
553 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
557 0 0 ref $_[0] eq 'HASH' ? :
563 0 0 unless (@distros)
565 0 0 unless (@distros)
579 0 0 unless $$smoker{'test_max'} > 0
603 0 0 if (not defined $grade or $grade =~ /(unknown|ungraded|none)/) { }
606 0 0 unless my $mod = $$smoker{'cpan'}->parse_module('module', $distpathver)
609 0 0 if ($mod and not $mod->is_bundle)
646 0 0 unless $passed
684 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
689 0 0 ref $_[0] eq 'HASH' ? :
697 0 0 if ($grade) { }
698 0 0 unless ($grade =~ /(pass|fail|unknown|na|none|ungraded|aborted)/)
701 0 0 if ($grade eq 'none')
707 0 0 $distver ? :
714 0 0 if ($grade) { }
723 0 0 if $distver
742 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
746 0 0 ref $_[0] eq 'HASH' ? :
752 0 0 unless (@distros)
754 0 0 unless (@distros)
780 0 0 unless $$self{'debug'}
786 0 1 if $$self{'audit_cb'}
787 1 0 unless $$self{'audit_log'}
789 0 0 unless my $FH = 'IO::File'->new('>>' . $$self{'audit_log'})