Branch Coverage

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


line true false branch
146 0 0 if ($self->includePlugin("Alerts", $text))
160 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment"))
165 0 0 if ($self->includePlugin("Alerts", $text))
179 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment"))
190 0 0 if ($self->testLineContinue($text, 0, undef, 0, "#stay", "Preprocessor"))
199 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef))
208 0 0 if ($self->testRegExpr($text, "#\\s*if\\s+0", 0, 0, 0, undef, 1, "Outscoped", "Preprocessor"))
216 0 0 if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 1, "Preprocessor", "Preprocessor"))
225 0 0 if ($self->testStringDetect($text, "//BEGIN", 0, 0, 0, undef, 1, "Region Marker", "Region Marker"))
234 0 0 if ($self->testStringDetect($text, "//END", 0, 0, 0, undef, 1, "Region Marker", "Region Marker"))
241 0 0 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
248 0 0 if ($self->testKeyword($text, "types", 0, undef, 0, "#stay", "Data Type"))
252 0 0 if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef))
260 0 0 if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Symbol"))
268 0 0 if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Symbol"))
275 0 0 if ($self->testFloat($text, 0, undef, 0, "#stay", "Float"))
280 0 0 if ($self->testAnyChar($text, "fF", 0, 0, undef, 0, "#stay", "Float"))
287 0 0 if ($self->testHlCOct($text, 0, undef, 0, "#stay", "Octal"))
293 0 0 if ($self->testHlCHex($text, 0, undef, 0, "#stay", "Hex"))
300 0 0 if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal"))
306 0 0 if ($self->testStringDetect($text, "ULL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
314 0 0 if ($self->testStringDetect($text, "LUL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
322 0 0 if ($self->testStringDetect($text, "LLU", 1, 0, 0, undef, 0, "#stay", "Decimal"))
330 0 0 if ($self->testStringDetect($text, "UL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
338 0 0 if ($self->testStringDetect($text, "LU", 1, 0, 0, undef, 0, "#stay", "Decimal"))
346 0 0 if ($self->testStringDetect($text, "LL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
354 0 0 if ($self->testStringDetect($text, "U", 1, 0, 0, undef, 0, "#stay", "Decimal"))
362 0 0 if ($self->testStringDetect($text, "L", 1, 0, 0, undef, 0, "#stay", "Decimal"))
369 0 0 if ($self->testHlCChar($text, 0, undef, 0, "#stay", "Char"))
376 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
381 0 0 if ($self->includePlugin("Doxygen", $text))
389 0 0 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
398 0 0 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
405 0 0 if ($self->testAnyChar($text, ":!%&()+,-/.*<=>?[]|~^;", 0, 0, undef, 0, "#stay", "Symbol"))
414 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef))
419 0 0 if ($self->includePlugin("Alerts", $text))
423 0 0 if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef))
430 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
435 0 0 if ($self->includePlugin("Doxygen", $text))
443 0 0 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
452 0 0 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
461 0 0 if ($self->testRegExpr($text, "#\\s*if", 0, 0, 0, undef, 1, "Outscoped intern", "Comment"))
470 0 0 if ($self->testRegExpr($text, "#\\s*(endif|else|elif)", 0, 0, 0, undef, 1, "#pop", "Preprocessor"))
479 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef))
484 0 0 if ($self->includePlugin("Alerts", $text))
488 0 0 if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef))
495 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
500 0 0 if ($self->includePlugin("Doxygen", $text))
508 0 0 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
517 0 0 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
526 0 0 if ($self->testRegExpr($text, "#\\s*if", 0, 0, 0, undef, 1, "Outscoped intern", "Comment"))
535 0 0 if ($self->testRegExpr($text, "#\\s*endif", 0, 0, 0, undef, 1, "#pop", "Comment"))
546 0 0 if ($self->testLineContinue($text, 0, undef, 0, "#stay", "Preprocessor"))
553 0 0 if ($self->testRegExpr($text, "define.*((?=\\\\))", 0, 0, 0, undef, 0, "Define", "Preprocessor"))
560 0 0 if ($self->testRegExpr($text, "define.*", 0, 0, 0, undef, 0, "#stay", "Preprocessor"))
568 0 0 if ($self->testRangeDetect($text, "\"", "\"", 0, 0, undef, 0, "#stay", "Prep. Lib"))
576 0 0 if ($self->testRangeDetect($text, "<", ">", 0, 0, undef, 0, "#stay", "Prep. Lib"))
581 0 0 if ($self->includePlugin("Doxygen", $text))
590 0 0 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar/Preprocessor", "Comment"))
606 0 0 if ($self->testLineContinue($text, 0, undef, 0, "#stay", "String"))
612 0 0 if ($self->testHlCStringChar($text, 0, undef, 0, "#stay", "String Char"))
619 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String"))