blib/lib/Sort/Sub/by_num_in_text.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
25 | 0 | 18 | @_ ? : |
26 | 0 | 18 | @_ ? : |
30 | 14 | 4 | if $a =~ /(\d+)/ |
31 | 16 | 2 | if $b =~ /(\d+)/ |
34 | 12 | 6 | if (defined $num_a and defined $num_b) { } |
2 | 4 | elsif (defined $num_a and not defined $num_b) { } | |
4 | 0 | elsif (not defined $num_a and defined $num_b) { } | |
36 | 12 | 0 | if $cmp |
45 | 0 | 0 | if ($is_ci) { } |
52 | 0 | 18 | $is_reverse ? : |