Branch Coverage

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


line true false branch
127 0 0 if ($self->testLineContinue($text, 0, undef, 0, '#stay', 'Preprocessor'))
136 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef))
145 0 0 if ($self->testRegExpr($text, '#\\s*if\\s+0', 0, 0, 0, undef, 1, 'Outscoped', 'Preprocessor'))
153 0 0 if ($self->testDetectChar($text, '#', 0, 0, 0, undef, 1, 'Preprocessor', 'Preprocessor'))
160 0 0 if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword'))
167 0 0 if ($self->testKeyword($text, 'types', 0, undef, 0, '#stay', 'Data Type'))
171 0 0 if ($self->testDetectIdentifier($text, 0, undef, 0, '#stay', undef))
179 0 0 if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, '#stay', 'Symbol'))
187 0 0 if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#stay', 'Symbol'))
194 0 0 if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float'))
199 0 0 if ($self->testAnyChar($text, 'fF', 0, 0, undef, 0, '#stay', 'Float'))
206 0 0 if ($self->testHlCOct($text, 0, undef, 0, '#stay', 'Octal'))
212 0 0 if ($self->testHlCHex($text, 0, undef, 0, '#stay', 'Hex'))
219 0 0 if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal'))
225 0 0 if ($self->testStringDetect($text, 'ULL', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
233 0 0 if ($self->testStringDetect($text, 'LUL', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
241 0 0 if ($self->testStringDetect($text, 'LLU', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
249 0 0 if ($self->testStringDetect($text, 'UL', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
257 0 0 if ($self->testStringDetect($text, 'LU', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
265 0 0 if ($self->testStringDetect($text, 'LL', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
273 0 0 if ($self->testStringDetect($text, 'U', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
281 0 0 if ($self->testStringDetect($text, 'L', 1, 0, 0, undef, 0, '#stay', 'Decimal'))
288 0 0 if ($self->testHlCChar($text, 0, undef, 0, '#stay', 'Char'))
295 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'String', 'String'))
304 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'comment', 'Comment'))
311 0 0 if ($self->testAnyChar($text, ':!%&()+,-/.*<=>?[]|~^;', 0, 0, undef, 0, '#stay', 'Symbol'))
325 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'comment', 'Comment'))
330 0 0 if ($self->includePlugin('Alerts', $text))
339 0 0 if ($self->testRegExpr($text, '#\\s*if', 0, 0, 0, undef, 1, 'Outscoped intern', 'Comment'))
348 0 0 if ($self->testRegExpr($text, '#\\s*(endif|else|elif)', 0, 0, 0, undef, 1, '#pop', 'Preprocessor'))
362 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'comment', 'Comment'))
371 0 0 if ($self->testRegExpr($text, '#\\s*if', 0, 0, 0, undef, 1, 'Outscoped intern', 'Comment'))
380 0 0 if ($self->testRegExpr($text, '#\\s*endif', 0, 0, 0, undef, 1, '#pop', 'Comment'))
391 0 0 if ($self->testLineContinue($text, 0, undef, 0, '#stay', 'Preprocessor'))
398 0 0 if ($self->testRegExpr($text, 'define.*((?=\\\\))', 0, 0, 0, undef, 0, 'Define', 'Preprocessor'))
405 0 0 if ($self->testRegExpr($text, 'define.*', 0, 0, 0, undef, 0, '#stay', 'Preprocessor'))
413 0 0 if ($self->testRangeDetect($text, '"', '"', 0, 0, undef, 0, '#stay', 'Prep. Lib'))
421 0 0 if ($self->testRangeDetect($text, '<', '>', 0, 0, undef, 0, '#stay', 'Prep. Lib'))
430 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'comment', 'Comment'))
441 0 0 if ($self->testLineContinue($text, 0, undef, 0, '#stay', 'String'))
447 0 0 if ($self->testHlCStringChar($text, 0, undef, 0, '#stay', 'String Char'))
454 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String'))
468 0 0 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment'))
473 0 0 if ($self->includePlugin('Alerts', $text))