| blib/lib/App/RecordStream/Operation/flatten.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 12 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 71 | 0 | 9 | if ($@ =~ /Cannot flatten into/) { } |
| 0 | 9 | elsif ($@) { } | |
| 95 | 0 | 9 | if ($new_spec) |
| 100 | 9 | 0 | if (not grep({$_ eq $ref_type;} @$INVALID_REF_TYPES)) { } |
| 113 | 3 | 21 | if ($depth != 0 and ref $value eq 'ARRAY') |
| 120 | 9 | 12 | if ($depth != 0 and ref $value eq 'HASH') |