blib/lib/Sort/Rank.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 5 | if (ref $array eq 'HASH') |
24 | 0 | 5 | unless ref $array eq 'ARRAY' |
30 | 0 | 1007 | unless ref $item eq 'HASH' and exists $$item{'score'} |
35 | 0 | 5 | unless ref $extract eq 'CODE' |
39 | 0 | 31291 | unless $$b[0] <=> $$a[0] |
55 | 2204 | 1803 | if ($i == 0 or $ar[$i][0] != $ar[$i - 1][0]) |
63 | 1 | 4 | wantarray ? : |
73 | 3 | 1 | @$g > 1 ? : |
79 | 0 | 1 | wantarray ? : |