Branch Coverage

blib/lib/XML/Maker.pm
Criterion Covered Total %
branch 25 58 43.1


line true false branch
42 0 0 if defined $new
58 0 0 if (defined $$self{'parent'})
85 0 1 if $found
86 1 0 if $$self{'subtag'}[$i] == $child
89 0 1 unless ($found)
93 1 0 if $found
100 5 0 if defined $name
109 0 2 if (defined $$self{'params'}{$key})
113 2 0 if (defined $value)
124 0 0 if (defined $$self{'params'}{$key})
143 0 0 if (defined $$self{'params'}) { }
160 0 4 if $$self{'name'} eq ''
163 0 4 if defined $tabs
174 0 4 if ($$self{'text'} ne '') { }
3 1 elsif ($$self{'subtag'}) { }
182 0 3 if defined $newtabs
183 0 3 if defined $tabs
188 0 3 if defined $tabs
191 3 1 if ($tmp) { }
198 0 4 if defined $tabs
204 0 0 if defined $$self{'subtag'}
212 1 0 if defined $$self{'subtag'}
213 0 0 if defined $text
221 0 2 if $$self{'text'}
231 0 2 if $$self{'text'}
240 1 0 if ($subt->_curparent == $self) { }
251 1 5 unless $$self{'subtag'}
264 0 0 if ($text =~ /[\&\<\>]/)
277 0 2 if ($text =~ /[\&\<\>\"]/)