Branch Coverage

blib/lib/CPAN/Version.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
11 0 145 if $CPAN::DEBUG
14 2 143 if $l eq "undef"
15 6 139 if $r eq "undef"
17 6 139 if $l eq $r
22 0 139 if $CPAN::DEBUG
24 172 106 unless tr/.// > 1 or /^v/
28 0 139 if $CPAN::DEBUG
29 76 63 if ($l =~ /^v/ <=> $r =~ /^v/)
31 76 76 if /^v/
35 0 139 if $CPAN::DEBUG
38 91 48 if ($] >= "5.006" and $l =~ /^v/ and $r =~ /^v/)
43 0 91 if $CPAN::DEBUG
79 0 182 unless $n =~ s/^v//
94 0 120 unless $mantissa =~ s/(\d{1,3})//
107 1 0 if defined $1 and length $1 > 0
112 0 0 if ($] < "5.006")
119 0 0 if (defined $CPAN::Frontend) { }
127 0 0 if $CPAN::DEBUG