| blib/lib/Versioning/Scheme/Semantic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 30 | 86.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 80 | 1 | 3 | 5 | $opts->{'reset_smaller'} and $opts->{'num'} > 0 |
| line | l | !l | condition |
|---|---|---|---|
| 43 | 0 | 2 | $opts //= {} |
| 55 | 2 | 2 | $pre1 // '' |
| 2 | 2 | $pre2 // '' | |
| 62 | 11 | 3 | $opts //= {} |
| 63 | 6 | 8 | $opts->{'num'} //= 1 |
| 64 | 6 | 8 | $opts->{'part'} //= -1 |
| 65 | 1 | 13 | $opts->{'reset_smaller'} //= 1 |
| 76 | 10 | 0 | $parts[$idx] //= 0 |
| 83 | 3 | 0 | $parts[$i] //= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 55 | 1 | 1 | 6 | $x1 <=> $x2 or $y1 <=> $y2 |
| 2 | 0 | 6 | $x1 <=> $x2 or $y1 <=> $y2 or $z1 <=> $z2 | |
| 1 | 2 | 4 | $x1 <=> $x2 or $y1 <=> $y2 or $z1 <=> $z2 or (defined $pre1 ? 0 : 1) <=> (defined $pre2 ? 0 : 1) |