Branch Coverage

lib/App/Perlbrew/Util.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
23 12160 63377 if $_ < $m
41 1585 25179 $a[$i - 1] eq $b[$j - 1] ? :
58 2 50 if not defined $_->[1] or $_->[1] == 0
59 14 36 unless ($stats0 eq join(" ", $_->[0], $_->[1]))
70 1 208 if ($version eq 'blead') { }
75 0 209 if @v < 2
77 24 185 if ($v[1] <= 5) { }
82 141 0 $v[1] >= 6 ? :
95 32 196 $d < $SIMILAR_DISTANCE ? :
98 6 2 if (@similar_tokens)
112 65 3 unless $str =~ m[ \Q$prefix\E / $version_re / $name_re ]x
143 0 62 if ($str =~ /\Askaji-relocatable-perl-(5\.[0-9][0-9]\.[0-9][0-9]?.[0-9])\z/)
147 0 0 if $arch eq "x86_64" or $arch eq "i386"