| blib/lib/Data/XHash/Splice.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 18 | 22 | 81.8 | 
| line | true | false | branch | 
|---|---|---|---|
| 64 | 0 | 11 | ref $_[0] eq 'HASH' ? : | 
| 72 | 11 | 0 | ref $_[0] eq 'HASH' ? : | 
| 78 | 11 | 0 | unless exists $options{'to'} | 
| 81 | 2 | 9 | unless defined $offset | 
| 82 | 1 | 10 | if $offset < 0 | 
| 83 | 3 | 8 | if (not defined $length) { } | 
| 1 | 7 | elsif ($length < 0) { } | |
| 88 | 0 | 11 | if ($offset < 0) | 
| 93 | 7 | 4 | if ($offset < @keys and $length > 0) { } | 
| 100 | 7 | 4 | if ($elements and @$elements) | 
| 101 | 4 | 3 | if ($offset > 0) { } |