Branch Coverage

blib/lib/XML/Handler/EasyTree/Generator.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
174 17 17 if (ref $_[0] eq $1) { }
181 16 18 if (ref $_[0] eq 'HASH')
188 6 28 if ($program eq $$this{'t'}) { }
6 22 elsif ($program eq $$this{'c'}) { }
12 10 elsif ($program eq $$this{'pi'}) { }
198 6 6 if (exists $$args{'target'}) { }
203 0 12 unless $target
220 8 2 if (ref \$_ eq 'SCALAR') { }
2 0 elsif (ref $_ eq 'HASH') { }