Branch Coverage

lib/XML/Parser/Style/ETree.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
213 0 0 if (@_)
224 0 0 if (@{$$t{'context'}{'text'};})
225 0 0 if $TEXT{'TRIM'}
227 0 0 unless length ${$$t{'context'}{'text'};}[$#{$$t{'context'}{'text'};}]
251 0 0 unless ($FORCE_ARRAY{''})
254 0 0 if $FORCE_ARRAY{$key}
255 0 0 if 1 < scalar @{$$tree{$key};}
259 0 0 if (@$text) { }
0 0 elsif (not $haschild) { }
261 0 0 if $TEXT{'TRIM'}
263 0 0 unless length ${$text;}[$#$text]
266 0 0 if (@$text == 1) { }
274 0 0 if ($haschild) { }
292 0 0 if ref $elem
299 0 0 if (ref $child eq 'HASH') { }
300 0 0 if ($hasattr) { }
310 0 0 if ($hasattr) { }
0 0 elsif ($forcehash) { }
330 0 0 if @_
338 0 0 unless ($$t{'context'}{'textflag'})
339 0 0 if $TEXT{'TRIM'}
341 0 0 if (length $text)
343 0 0 if ($$t{'context'}{'textflag'}) { }
355 0 0 unless ($FORCE_ARRAY{''})
357 0 0 if $FORCE_ARRAY{$key}
358 0 0 if 1 < scalar @{$$tree{$key};}