blib/lib/Hash/Rename.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
13 | 6 | 15 | if defined $args{'prepend'} |
14 | 10 | 11 | if defined $args{'append'} |
15 | 8 | 13 | if (defined $args{'code'}) |
16 | 0 | 8 | unless ref $args{'code'} eq 'CODE' |
22 | 1 | 20 | if defined $args{'strict'} and exists $new_hash{$key} |
27 | 1 | 19 | if ($args{'recurse'} and (ref $val || '') eq 'HASH') |