Branch Coverage

blib/lib/CPAN/YACSmoke.pm
Criterion Covered Total %
branch 3 160 1.8


line true false branch
158 0 0 if ($TiedObj) { }
170 0 1 if ($TiedObj)
189 0 0 if $CpanPlus
195 0 0 if ($CPANPLUS::Backend::VERSION >= 0.052)
204 0 0 if $$self{'suppress_extracted'}
219 0 0 if ($mod->package =~ /^(.+)$extn$/) { }
227 0 0 unless ($TiedObj)
238 0 0 if ($self->_is_excluded_dist($package))
244 0 0 if (defined $checked and $checked =~ /aborted|fail|na/)
247 0 0 if ($$self{'ignore_bad_prereqs'}) { }
264 0 0 unless ($TiedObj)
269 0 0 if ($$mod{'package'} =~ /^(.+)$extn$/) { }
275 0 0 unless $$self{'cpantest'}
283 0 0 if defined $checked and $checked eq $grade || $checked ne 'pass' && $grade ne 'pass'
469 0 0 if ($config{'config_file'} and -r $config{'config_file'})
473 0 0 if defined $val
478 0 0 if @list
481 0 0 if ($$self{'audit_log'})
483 0 0 unless ($vol or $path)
491 0 0 if (exists $config{$field})
501 0 0 if $$self{'test_max'} < 0
510 0 0 if $_ =~ /$config{'list_from'}/
513 0 0 unless $plugin
515 0 0 if $@
552 0 0 if @_
570 0 0 if @_
572 0 0 unless (defined $$self{'basedir'})
602 0 0 unless ($$self{'re'})
607 0 0 if $dist =~ $$self{'re'}->re
618 0 0 if ($self->_is_excluded_dist($file)) { }
626 0 0 if $removed
636 0 0 if ($line =~ /^(.*)\-(.+)$extn$/) { }
0 0 elsif ($line =~ /^(.*)\-(.+)$/) { }
643 0 0 if ($$self{'ignore_cpanplus_bugs'} or @dirs == 4 and $ver =~ /^[\d\.\_]+$/) { }
646 0 0 if (exists $paths{$dist}) { }
663 0 0 if (@dirs == 1)
664 0 0 if (exists $paths{$dist}) { }
672 0 0 if $ignored
708 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
712 0 0 ref $_[0] eq 'HASH' ? :
718 0 0 unless (@distros)
720 0 0 unless (@distros)
734 0 0 unless $$smoker{'test_max'} > 0
758 0 0 if ($grade eq 'ungraded' or $$smoker{'allow_retries'} and $grade =~ /$$smoker{'allow_retries'}/) { }
761 0 0 unless my $mod = $$smoker{'cpan'}->parse_module('module', $distpathver)
764 0 0 if ($mod and not $mod->is_bundle)
788 0 0 if $$smoker{'suppress_extracted'}
805 0 0 if ($report == 1)
812 0 0 unless $passed
815 0 0 if ($passed)
860 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
865 0 0 ref $_[0] eq 'HASH' ? :
875 0 0 if ($grade) { }
876 0 0 unless ($grade =~ /(pass|fail|unknown|na|none|ungraded|aborted|ignored)/)
879 0 0 if ($grade eq 'none')
885 0 0 $distver ? :
894 0 0 if ($grade) { }
903 0 0 if $distver
922 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
926 0 0 ref $_[0] eq 'HASH' ? :
932 0 0 unless (@distros)
934 0 0 unless (@distros)
971 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
975 0 0 ref $_[0] eq 'HASH' ? :
982 0 0 if (@_) { }
985 0 0 unless /^(.*)\-(.+)$/
990 0 0 unless /^(.*)\-(.+)$/
1000 0 0 if ($passed) { }
0 0 elsif ($$smoker{'checked'}{"$dist-$vers"} eq 'pass') { }
1005 0 0 if ($flush)
1008 0 0 if -d $builddir
1046 0 0 if (ref $_[0] and $_[0]->isa('CPAN::YACSmoke'))
1050 0 0 ref $_[0] eq 'HASH' ? :
1058 0 0 if $dir =~ /^\.+$/
1060 0 0 if ($param eq 'old') { }
1070 0 0 if ($param eq 'old')
1091 0 0 unless $$self{'debug'}
1097 0 1 if $$self{'audit_cb'}
1098 1 0 unless $$self{'audit_log'}
1100 0 0 unless my $FH = 'IO::File'->new('>>' . $$self{'audit_log'})