Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Prolog.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
249 0 0 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment'))
261 0 0 if ($self->testKeyword($text, 'keywordl', 0, undef, 0, '#stay', 'Keyword'))
268 0 0 if ($self->testKeyword($text, 'keywordu', 0, undef, 0, '#stay', 'Keyword'))
275 0 0 if ($self->testKeyword($text, 'arith', 0, undef, 0, '#stay', 'Arithmetic'))
282 0 0 if ($self->testKeyword($text, 'compiler', 0, undef, 0, '#stay', 'Keyword'))
289 0 0 if ($self->testKeyword($text, 'special', 0, undef, 0, '#stay', 'Keyword'))
296 0 0 if ($self->testKeyword($text, 'basetype', 0, undef, 0, '#stay', 'Data Type'))
303 0 0 if ($self->testRegExpr($text, '[A-Z_][A-Za-z0-9_]*', 0, 0, 0, undef, 0, '#stay', 'Variable'))
310 0 0 if ($self->testRegExpr($text, '[a-z][A-Za-z0-9_]*', 0, 0, 0, undef, 0, '#stay', 'Identifier'))
317 0 0 if ($self->testDetectChar($text, '%', 0, 0, 0, undef, 0, 'comment', 'Comment'))
325 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'comment region', 'Comment'))
331 0 0 if ($self->testInt($text, 0, undef, 0, '#stay', 'Integer'))
338 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'string', 'String'))
345 0 0 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'string2', 'String'))
352 0 0 if ($self->testAnyChar($text, '~!^*()-+=[]|\\:;,./?&<>', 0, 0, undef, 0, '#stay', 'Symbol'))
364 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String'))
376 0 0 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, '#pop', 'String'))