line |
true |
false |
branch |
19
|
1 |
2 |
$@ ? : |
27
|
1 |
1 |
if $@ |
57
|
1 |
12 |
unless $opts->{'num'} != 0 |
59
|
10 |
2 |
if ($opts->{'part'} =~ /\A-?\d+\z/) { } |
|
2 |
0 |
elsif ($opts->{'part'} =~ /\A(a|b|rc)\z/) { } |
|
0 |
0 |
elsif ($opts->{'part'} eq 'post') { } |
|
0 |
0 |
elsif ($opts->{'part'} eq 'dev') { } |
|
0 |
0 |
elsif ($opts->{'part'} eq 'epoch') { } |
61
|
1 |
9 |
if $opts->{'part'} < -@{$vp->{'_base_version'};} |
63
|
0 |
9 |
if $opts->{'part'} > $#{$$vp{'_base_version'};} |
65
|
8 |
1 |
if $idx < 0 |
69
|
1 |
8 |
if $vp->{'_base_version'}[$idx] + $opts->{'num'} < 0 |
73
|
8 |
0 |
if ($i == 0 or $vp->{'_base_version'}[$i] + $left < 1000) { } |
85
|
4 |
4 |
if ($opts->{'reset_smaller'} and $opts->{'num'} > 0) |
86
|
0 |
4 |
if $idx < 0 |
93
|
1 |
1 |
unless $vp->{'_prerelease'} and $vp->{'_prerelease'}[0] eq $opts->{'part'} |
95
|
0 |
1 |
if $vp->{'_prerelease'}[1] + $opts->{'num'} < 0 |
99
|
0 |
0 |
unless $vp->{'_postrelease'} |
101
|
0 |
0 |
if $vp->{'_postrelease'}[1] + $opts->{'num'} < 0 |
105
|
0 |
0 |
unless $vp->{'_devrelease'} |
107
|
0 |
0 |
if $vp->{'_devrelease'}[1] + $opts->{'num'} < 0 |
112
|
0 |
0 |
if $vp->{'_epoch'} + $opts->{'num'} < 0 |