| blib/lib/Sort/ByExample.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 28 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 171 | 9 | 1 | _ARRAYLIKE $example ? : |
| 2 | 10 | _HASHLIKE $example ? : | |
| 175 | 7 | 4 | if (_HASHLIKE $arg) { } |
| 182 | 0 | 11 | if $fallback and not _CODELIKE $fallback |
| 193 | 4 | 9 | $fallback ? : |
| 17 | 13 | exists $$score{$b} ? : | |
| 26 | 30 | exists $$score{$a} ? : | |
| 78 | 56 | exists $$score{$a} && exists $$score{$b} ? : | |
| 206 | 0 | 2 | if $$arg{'xform'} |
| 217 | 2 | 7 | if (my $xf = $$arg{'xform'}) |
| 219 | 2 | 0 | $fallback ? : |
| 0 | 2 | exists $$score{$$b[0]} ? : | |
| 6 | 2 | exists $$score{$$a[0]} ? : | |
| 6 | 8 | exists $$score{$$a[0]} && exists $$score{$$b[0]} ? : |