Branch Coverage

blib/lib/Module/License/Report/CPANPLUSModule.pm
Criterion Covered Total %
branch 1 58 1.7


line true false branch
134 1 0 $$self{'mod'} ? :
172 0 0 if ($license)
192 0 0 if ($licensefile)
195 0 0 if (-f $filename)
198 0 0 if ($content =~ /=head\d\s+(?:licen[cs]e|licensing|copyright|legal)\b(.*?)(=head\\d.*|=cut.*|)\z/imsx)
207 0 0 if ($licensetext =~ /$regex/imsx)
229 0 0 unless ($$self{'yml'})
235 0 0 if (-f $filename)
239 0 0 if (not $meta) { }
247 0 0 if ($$meta{$key})
272 0 0 unless ($$self{'dslip'})
278 0 0 if ($dslip_str)
286 0 0 if ($public_license)
308 0 0 unless ($$self{'makefile'})
312 0 0 if (-f $filename)
317 0 0 if ($makefile =~ /([\'\"]?)VERSION_FROM\1\s*(?:=>|,)\s*(\"[^\"]+|\'[^\']+)/msx)
340 0 0 unless ($$self{'buildfile'})
344 0 0 if (-f $filename)
349 0 0 if ($buildfile =~ /([\'\"]?)module_name\1\s*(?:=>|,)\s*(\"[^\"]+|\'[^\']+)/msx) { }
0 0 elsif ($buildfile =~ /([\'\"]?)dist_version_from\1\s*(?:=>|,)\s*(\"[^\"]+|\'[^\']+)/msx) { }
389 0 0 if ($filename and -f 'File::Spec'->catfile($self->extract_dir, $filename))
410 0 0 if ($version_from and $version_from =~ / \.pm \z /msx)
429 0 0 if (@licenses > 0)
439 0 0 if (-f $filename)
442 0 0 if ($content =~ /\b(?:licen[sc]e|licensing|copyright)\b/imsx)
530 0 0 unless ($$self{'mod'}->status->extract)
534 0 0 if ($self->verbose)
552 0 0 unless ($$self{'mod'}->status->fetch)
565 0 0 if ($verbose)