Branch Coverage

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


line true false branch
300 1 98 unless defined $vers
301 1 97 if eval { do { $vers->isa("CPAN::Perl::Releases") } }
302 1 97 unless exists $CPAN::Perl::Releases::data->{$vers}
303 2 95 if (exists $CPAN::Perl::Releases::cache->{$vers})
308 11 84 $vers =~ /^5\.0/ ? :
310 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'}
311 0 95 if $CPAN::Perl::Releases::data->{$vers}{'onlybz2'}
312 0 95 if $CPAN::Perl::Releases::data->{$vers}{'noxz'}
319 2 93 if scalar @parts < 3
323 95 0 unless $onlybz2
324 67 28 unless $onlygz or $lvers > "5.027005"
325 2 93 if $lvers > "5.021005" and not $noxz
326 5 90 if $pumpkin eq "SHAY" and $lvers < "5.028"