Branch Coverage

blib/lib/XML/Invisible/Receiver.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
9 19 1 @_ == 1 ? :
10 0 20 unless defined $param
15 0 20 if $attr and $flatten
17 5 15 if ($flatten)
20 12 3 if ref $param ne 'ARRAY'
27 17 4 if (not ref $_ or $_->{'type'} eq 'element') { }
4 0 elsif ($_->{'type'} eq 'attr') { }
35 4 11 if $attr
41 0 4 ref $_ ? :