blib/lib/Versioning/Scheme/Python.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 19 | 78.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
85 | 1 | 3 | 4 | $opts->{'reset_smaller'} and $opts->{'num'} > 0 |
93 | 1 | 0 | 1 | $vp->{'_prerelease'} and $vp->{'_prerelease'}[0] eq $opts->{'part'} |
line | l | !l | condition |
---|---|---|---|
51 | 12 | 2 | $opts //= {} |
52 | 6 | 8 | $opts->{'num'} //= 1 |
53 | 7 | 7 | $opts->{'part'} //= -1 |
54 | 1 | 13 | $opts->{'reset_smaller'} //= 1 |
110 | 0 | 0 | $vp->{'_epoch'} //= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
73 | 1 | 7 | 0 | $i == 0 or $vp->{'_base_version'}[$i] + $left < 1000 |