Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Xslt.pm
Criterion Covered Total %
branch 30 120 25.0


line true false branch
309 0 100 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop#pop#pop', 'Invalid'))
316 0 100 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop#pop#pop', 'Invalid'))
323 100 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'string', 'Attribute Value'))
330 0 0 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'sqstring', 'Attribute Value'))
343 38 736 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop#pop', 'Tag'))
350 36 700 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop#pop', 'Tag'))
357 100 600 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'attrValue', 'Normal Text'))
370 10 700 if ($self->testStringDetect($text, '-->', 0, 0, 0, undef, 0, '#pop', 'Comment'))
377 0 700 if ($self->testRegExpr($text, '-(-(?!->))+', 0, 0, 0, undef, 0, '#stay', 'Invalid'))
384 2 698 if ($self->testRegExpr($text, '(FIXME|TODO|HACK)', 0, 0, 0, undef, 0, '#stay', 'Alert'))
396 0 1860 if ($self->testRegExpr($text, '&(#[0-9]+|#[xX][0-9A-Fa-f]+|[A-Za-z_:][\\w.:_-]*);', 0, 0, 0, undef, 0, '#stay', 'Entity Reference'))
409 10 842 if ($self->testStringDetect($text, '