| blib/lib/Sort/Hash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 31 | 34 | 91.1 |
| line | true | false | branch |
|---|---|---|---|
| 97 | 15 | 17 | if (ref $_ eq 'HASH') |
| 98 | 4 | 28 | if ($_ eq 'nofatal') |
| 99 | 2 | 30 | if ($_ eq 'silent') |
| 100 | 1 | 31 | if ($_ eq 'noempty') |
| 101 | 1 | 31 | if ($_ eq 'desc') |
| 102 | 0 | 32 | if ($_ eq 'asc') |
| 103 | 4 | 28 | if ($_ eq 'alpha') |
| 104 | 1 | 31 | if ($_ eq 'strictalpha') |
| 109 | 4 | 28 | if ($_ eq 'numeric') |
| 113 | 2 | 2 | unless $silent |
| 4 | 2 | if ($nofatal) { } | |
| 118 | 1 | 14 | if ($noempty) |
| 119 | 1 | 0 | unless (scalar keys %$H) |
| 124 | 1 | 13 | if ($strictalpha) |
| 126 | 1 | 0 | if (&Scalar::Util::looks_like_number($_)) |
| 133 | 4 | 9 | if ($alpha) { } |
| 145 | 1 | 11 | if ($desc) { } |