blib/lib/Sort/strverscmp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
21 | 48 | 75 | if (_isdigit($ai->head) and _isdigit($bi->head)) { } |
24 | 7 | 41 | if ($an =~ /^0\d/ or $bn =~ /^0\d/) { } |
27 | 26 | 15 | if ($an <=> $bn) |
32 | 5 | 70 | if ($ai->head cmp $bi->head) |
40 | 0 | 1 | $bi->head ? : |
0 | 1 | $ai->head ? : | |
60 | 1 | 6 | if (length $lz == length $rz) { } |
63 | 1 | 5 | length $lz > length $rz ? : |