Branch Coverage

lib/Petal/Parser/HTB.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
48 131 0 ref $data_ref ? :
68 0 131 if defined $@ and $@
83 1164 1620 if (ref $tree) { }
88 10 1154 if ($tag eq '~comment') { }
121 1001 153 scalar @Petal::Parser::HTB::NameSpaces ? :
125 48 2068 if ($value eq $Petal::NS_URI)
127 0 48 unless $key =~ /^xmlns\:/
138 1001 153 scalar @Petal::Parser::HTB::XI_NameSpaces ? :
142 37 2031 if ($value eq $Petal::XI_NS_URI)
144 0 37 unless $key =~ /^xmlns\:/