Branch Coverage

blib/lib/XML/Invisible/Receiver.pm
Criterion Covered Total %
branch 16 20 80.0


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 $_ && $_->{'type'}) { }
4 0 elsif ($_->{'type'} eq 'attr') { }
35 4 11 if $attr
36 11 4 if $ret{'type'} eq 'element'
42 0 4 ref $_ ? :