line |
true |
false |
branch |
27
|
5 |
1056 |
if &Scalar::Util::isvstring($ival) |
30
|
597 |
459 |
if (eval {
do {
$ival->isa('version')
}
}) |
42
|
48 |
411 |
unless defined $major |
50
|
250 |
373 |
if (defined $pre) |
54
|
33 |
590 |
if (defined $meta) |
67
|
579 |
219 |
if &Scalar::Util::isvstring($ival) or eval {
do {
$ival->isa('version')
}
} |
77
|
7 |
212 |
unless defined $v |
80
|
9 |
203 |
if $v and $v =~ s/_//g |
97
|
1 |
1360 |
if $str =~ s/_//g |
134
|
30 |
580 |
shift() ? : |
137
|
138 |
472 |
if (my $ret = $left->SUPER::vcmp($right, 0)) { } |
142
|
215 |
257 |
if (defined $left->{'prerelease'}) |
145
|
206 |
266 |
if (defined $right->{'prerelease'}) |
149
|
257 |
215 |
if ($lenLeft == 0) { } |
150
|
243 |
14 |
if ($lenRight == 0) { } |
157
|
23 |
192 |
if ($lenRight == 0) { } |
166
|
0 |
225 |
if (not $isNumLeft and $isNumRight) { } |
|
1 |
224 |
elsif ($isNumLeft and not $isNumRight) { } |
|
32 |
192 |
elsif ($isNumLeft and $isNumRight) { } |
172
|
26 |
6 |
if ($left->{'prerelease'}[$i] == $right->{'prerelease'}[$i]) { } |
|
0 |
6 |
elsif ($left->{'prerelease'}[$i] > $right->{'prerelease'}[$i]) { } |
181
|
131 |
61 |
if (lc $left->{'prerelease'}[$i] eq lc $right->{'prerelease'}[$i]) { } |
|
10 |
51 |
elsif (lc $left->{'prerelease'}[$i] gt lc $right->{'prerelease'}[$i]) { } |
191
|
0 |
124 |
if ($lenLeft > $lenRight) { } |
|
6 |
118 |
elsif ($lenLeft < $lenRight) { } |