blib/lib/Sort/filevercmp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 32 | 39 | 82.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 0 | 577 | 12 | $with_suffix =~ s/^([^0-9]*)([0-9]*)// and length $1 || length $2 |
45 | 0 | 466 | 12 | $without_suffix =~ s/^([^0-9]*)([0-9]*)// and length $1 || length $2 |
95 | 0 | 0 | 64 | defined $anum and length $anum |
96 | 0 | 0 | 64 | defined $bnum and length $bnum |
110 | 105 | 1 | 4 | $first->{'special'} and $second->{'special'} |
115 | 79 | 24 | 1 | $first->{'hidden'} and not $second->{'hidden'} |
116 | 24 | 78 | 1 | not $first->{'hidden'} and $second->{'hidden'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
24 | 2 | 3 | 161 | $name eq '' or $name eq '.' |
5 | 3 | 158 | $name eq '' or $name eq '.' or $name eq '..' | |
35 | 419 | 12 | 158 | length $1 || length $2 |
45 | 308 | 12 | 158 | length $1 || length $2 |
71 | 586 | 26 | 64 | @achars or @bchars |
85 | 145 | 5 | 0 | @aparts or @bparts |