Branch Coverage

blib/lib/XML/Tiny/Simple.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
64 1 0 if (fileno $_[0])
82 1 6 unless $node
84 7 0 if (ref $obj eq 'HASH') { }
0 0 elsif (ref $obj eq 'ARRAY') { }
85 5 2 if ($$obj{'type'} eq 'e') { }
2 0 elsif ($$obj{'type'} eq 't') { }
89 5 0 exists $$obj{'attrib'} ? :
97 2 3 if ($name) { }
98 0 2 if (exists $$node{$class}{$name}) { }
100 0 0 if (ref $first eq 'ARRAY') { }
112 1 2 if (exists $$node{$class}) { }
114 0 1 if (ref $first eq 'ARRAY') { }