Branch Coverage

blib/lib/Module/MakefilePL/Parse.pm
Criterion Covered Total %
branch 38 56 67.8


line true false branch
38 17 2 if ($script =~ /use\s+ExtUtils::MakeMaker/) { }
2 0 elsif ($script =~ /use\s+(inc::)?Module::Install/) { }
50 5 14 unless ($self->required)
59 5 27 if (ref $$self{'REQUIRED'} ne 'HASH') { }
72 13 1 if (ref $hashref eq 'HASH') { }
75 4 17 if ($module =~ /[\'\"](.+)[\'\"]/)
94 17 2 if ($$self{'INSTALLER'} == 1) { }
0 2 elsif ($$self{'INSTALLER'} == 3) { }
2 0 elsif ($$self{'INSTALLER'} == 2) { }
97 0 17 if ($key_start < 0)
98 0 0 if warnings::enabled()
104 1 16 if ($key_start < 0) { }
110 2 14 if ($block_start < $key_start)
111 0 2 if warnings::enabled()
119 1 13 unless ($op =~ /^[\'\"]?PREREQ_PM[\'\"]?\s*(=>|\,)\s*$/)
120 0 1 if warnings::enabled()
126 1 12 unless ($prereq_pm)
127 0 1 if warnings::enabled()
140 1 11 if ($prereq_pm =~ /[\&\$\@\%\*]/)
141 0 1 if warnings::enabled()
162 4 0 if ($start > $index) { }
164 4 0 if ($reqstr) { }
168 3 1 defined $version ? :
191 0 13 if (@_)
192 0 0 if warnings::enabled()
195 11 2 if ($$self{'INSTALLER'} == 1) { }
2 0 elsif ($$self{'INSTALLER'} == 2) { }
0 0 elsif ($$self{'INSTALLER'} == 3) { }