Branch Coverage

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


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 8 136 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef))
186 10 126 if ($self->testStringDetect($text, '-->', 0, 0, 0, undef, 0, '#pop', 'Comment'))
193 0 126 if ($self->testRegExpr($text, '-(-(?!->))+', 0, 0, 0, undef, 0, '#stay', 'Error'))
198 0 126 if ($self->includePlugin('Alerts', $text))
202 48 78 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, '