blib/lib/Sort/ByExample.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 15 | 73.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
182 | 5 | 6 | 0 | $fallback and not _CODELIKE $fallback |
193 | 30 | 26 | 78 | exists $$score{$a} && exists $$score{$b} |
219 | 2 | 6 | 6 | exists $$score{$$a[0]} && exists $$score{$$b[0]} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
193 | 48 | 0 | 30 | $$score{$a} <=> $$score{$b} || ($fallback ? &$fallback($a, $b) : 0) |
219 | 6 | 0 | 0 | $$score{$$a[0]} <=> $$score{$$b[0]} || ($fallback ? &$fallback($$a[0], $$b[0], $$a[1], $$b[1]) : 0) |