| blib/lib/Tie/Hash/Sorted.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 16 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 1 | 17 | if @_ % 2 |
| 47 | 6 | 1 | if (exists $$self[0]{$key}) |
| 56 | 19 | 8 | if $$self[6] eq 'none' or $$self[5] |
| 75 | 1 | 17 | unless isa($sort, 'CODE') |
| 84 | 1 | 16 | unless $type =~ /^(?:default|none|keys|values)$/ |
| 112 | 0 | 15 | unless isa($hash, 'HASH') |
| 139 | 4 | 1 | unless exists $$self[0]{$key} |
| 146 | 0 | 1 | if $value ne $$self[0]{$key} |