Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/GLSL.pm
Criterion Covered Total %
branch 37 42 88.1


line true false branch
306 6 648 if ($self->testKeyword($text, "attention", 0, undef, 0, "#stay", "Alert"))
320 2 58 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment"))
327 0 58 if ($self->testKeyword($text, "attention", 0, undef, 0, "#stay", "Alert"))
339 4 0 if ($self->testRegExpr($text, "\\b[_\\w][_\\w\\d]*(?=[\\s]*)", 0, 0, 0, undef, 0, "#pop", "Function"))
351 26 514 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
358 56 458 if ($self->testKeyword($text, "types", 0, undef, 0, "#stay", "Data Type"))
365 14 444 if ($self->testKeyword($text, "typequal", 0, undef, 0, "#stay", "Type Qualifier"))
372 16 428 if ($self->testKeyword($text, "stdlib", 0, undef, 0, "#stay", "StdFunction"))
379 6 422 if ($self->testKeyword($text, "stdvar", 0, undef, 0, "#stay", "StdVariable"))
385 8 414 if ($self->testFloat($text, 0, undef, 0, "#stay", "Float"))
391 0 414 if ($self->testHlCOct($text, 0, undef, 0, "#stay", "Octal"))
397 0 414 if ($self->testHlCHex($text, 0, undef, 0, "#stay", "Hex"))
403 0 414 if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal"))
411 34 380 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
420 2 378 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
428 4 374 if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Symbol"))
436 4 370 if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Symbol"))
444 4 366 if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 1, "Preprocessor", "Preprocessor"))
451 4 362 if ($self->testRegExpr($text, "\\b[_\\w][_\\w\\d]*(?=[\\s]*[(])", 0, 0, 0, undef, 0, "#stay", "Function"))
458 4 358 if ($self->testRegExpr($text, "[.]{1,1}", 0, 0, 0, undef, 0, "Member", "Symbol"))
465 38 320 if ($self->testAnyChar($text, ".+-/*%<>[]()^|&~=!:;,?;", 0, 0, undef, 0, "#stay", "Symbol"))