Branch Coverage

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


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