| blib/lib/XML/Invisible/Receiver.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 9 | 90 | 35 | @_ == 1 ? : |
| 10 | 0 | 125 | unless defined $param |
| 15 | 13 | 112 | if $flatten |
| 16 | 52 | 60 | if ref $param ne 'ARRAY' |
| 18 | 12 | 100 | $attr ? : |
| 20 | 108 | 12 | if (not ref $_ && $_->{'type'}) { } |
| 12 | 0 | elsif ($_->{'type'} eq 'attr') { } | |
| 28 | 100 | 12 | if $ret{'type'} eq 'element' |
| 34 | 0 | 12 | ref $_ ? : |