| blib/lib/Fern.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 16 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 11 | 98 | 12 | if (not ref $attributes or ref $attributes ne 'HASH' and ref $attributes ne 'ARRAY') |
| 12 | 16 | 82 | if (defined $attributes) |
| 23 | 111 | 31 | ref $atom && ref $atom eq 'CODE' ? : |
| 38 | 99 | 11 | unless keys %$attribute_hash |
| 44 | 0 | 1 | unless @$attribute_array |
| 50 | 110 | 1 | if (ref $attributes eq 'HASH') { } |
| 63 | 27 | 84 | @all_content ? : |
| 73 | 0 | 5 | if ($stringified_content) { } |