Branch Coverage

lib/Mediawiki/POD/HTML.pm
Criterion Covered Total %
branch 28 42 66.6


line true false branch
83 0 44 if ($element_name eq 'X' and $$storage{'in_x'} == 0)
88 0 44 if ($element_name ne 'X' and $$storage{'in_x'} != 0)
95 5 39 if ($$storage{'in_graph_common'} and not $element_name =~ /^Data/i)
100 4 40 if ($$storage{'in_graph'} and not $element_name =~ /^Data/i)
105 7 37 if ($element_name eq 'for' and ($$attr{'target'} || '') eq 'graph')
113 5 32 if ($element_name eq 'for' and ($$attr{'target'} || '') eq 'graph-common')
120 7 25 if ($element_name =~ /^head/)
137 7 37 if ($element_name =~ /^head/)
141 5 39 if ($element_name eq 'Document')
143 3 2 if $$storage{'in_graph'}
155 7 20 if ($$storage{'in_headline'})
159 11 16 if ($$storage{'in_graph'})
164 5 11 if ($$storage{'in_graph_common'})
169 0 11 if ($$storage{'in_x'})
175 0 0 if ($url =~ /##KEYWORD##/) { }
178 0 0 unless defined $$storage{'search_space'}
183 0 0 unless defined $$storage{'search_space'}
186 0 0 if defined $$storage{'search_space'}
207 0 1 if defined $_[0]
209 0 1 if defined @_ == 2
212 1 0 wantarray ? :