Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/HTML.pm
Criterion Covered Total %
branch 60 174 34.4


line true false branch
167 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef))
171 0 0 if ($self->testDetectIdentifier($text, 0, undef, 0, '#stay', undef))
179 0 0 if ($self->testStringDetect($text, ']]>', 0, 0, 0, undef, 0, '#pop', 'CDATA'))
186 0 0 if ($self->testStringDetect($text, ']]>', 0, 0, 0, undef, 0, '#stay', 'EntityRef'))
200 0 0 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop', 'Element'))
207 0 0 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, 'CSS content', 'Element'))
212 0 0 if ($self->includeRules('FindAttributes', $text))
219 0 0 if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'Error'))
233 0 0 if ($self->testRegExpr($text, '
239 0 0 if ($self->includePlugin('CSS', $text))
248 0 24 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef))
253 0 24 if ($self->includePlugin('Alerts', $text))
257 8 16 if ($self->testDetectIdentifier($text, 0, undef, 0, '#stay', undef))
265 4 12 if ($self->testStringDetect($text, '-->', 0, 0, 0, undef, 0, '#pop', 'Comment'))
272 0 12 if ($self->testRegExpr($text, '-(-(?!->))+', 0, 0, 0, undef, 0, '#stay', 'Error'))
285 2 196 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'Doctype'))
293 0 196 if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'Doctype Internal Subset', 'Doctype'))
306 0 0 if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'Doctype'))
311 0 0 if ($self->includeRules('FindDTDRules', $text))
319 0 0 if ($self->testStringDetect($text, '