Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/XML.pm
Criterion Covered Total %
branch 62 112 55.3


line true false branch
134 20 6 if ($self->testDetectChar($text, "=", 0, 0, 0, undef, 0, "Value", "Attribute"))
141 0 6 if ($self->testRegExpr($text, "\\S", 0, 0, 0, undef, 0, "#stay", "Error"))
150 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef))
154 0 0 if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef))
162 0 0 if ($self->testStringDetect($text, "]]>", 0, 0, 0, undef, 0, "#pop", "CDATA"))
169 0 0 if ($self->testStringDetect($text, "]]>", 0, 0, 0, undef, 0, "#stay", "EntityRef"))
178 64 72 if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef))
186 10 62 if ($self->testStringDetect($text, "-->", 0, 0, 0, undef, 0, "#pop", "Comment"))
193 0 62 if ($self->testRegExpr($text, "-(-(?!->))+", 0, 0, 0, undef, 0, "#stay", "Error"))
198 0 62 if ($self->includePlugin("Alerts", $text))
202 48 14 if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef))
215 4 176 if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop", "Doctype"))
223 0 176 if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "Doctype Internal Subset", "Doctype"))
236 0 0 if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop", "Doctype"))
243 0 0 if ($self->testRegExpr($text, "
251 0 0 if ($self->testStringDetect($text, "