Branch Coverage

blib/lib/CPAN/Perl/Releases.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
301 1 98 unless defined $vers
302 1 97 if eval { do { $vers->isa("CPAN::Perl::Releases") } }
303 1 97 unless exists $CPAN::Perl::Releases::data->{$vers}
304 2 95 if (exists $CPAN::Perl::Releases::cache->{$vers})
309 11 84 $vers =~ /^5\.0/ ? :
311 28 67 if $vers =~ /(?-xism:5.(?:00(?:4(?:_0[12345])?|5(?:_0[1234])?|3_07)|1(?:0.0(?:-RC[12])?|6.0-RC0)|6.(?:[02]|1(?:-TRIAL[123])?)|9.[12345]|7.[0123]|8.[01]))/ or $CPAN::Perl::Releases::data->{$vers}{'onlygz'}
312 0 95 if $CPAN::Perl::Releases::data->{$vers}{'onlybz2'}
313 0 95 if $CPAN::Perl::Releases::data->{$vers}{'noxz'}
320 2 93 if scalar @parts < 3
324 95 0 unless $onlybz2
325 67 28 unless $onlygz or $lvers > "5.027005"
326 2 93 if $lvers > "5.021005" and not $noxz
327 5 90 if $pumpkin eq "SHAY" and $lvers < "5.028"