blib/lib/Sort/strverscmp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
12 | 0 | 30 | unless ($string) |
41 | 3 | 323 | if ($self->pos >= $self->len) { } |
90 | 1 | 6 | if (length $lz == length $rz) { } |
93 | 1 | 5 | length $lz > length $rz ? : |
110 | 13 | 53 | if (isdigit($ai->head) and isdigit($bi->head)) { } |
113 | 7 | 6 | if ($an =~ /^0\d/ or $bn =~ /^0\d/) { } |
116 | 2 | 4 | if ($an <=> $bn) |
121 | 5 | 48 | if ($ai->head cmp $bi->head) |
129 | 0 | 1 | $bi->head ? : |
0 | 1 | $ai->head ? : |