Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/UnrealScript.pm
Criterion Covered Total %
branch 45 66 68.1


line true false branch
199 2 90 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment"))
211 256 8268 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
218 80 8188 if ($self->testKeyword($text, "types", 0, undef, 0, "#stay", "Data Type"))
225 166 8022 if ($self->testFloat($text, 0, undef, 0, "#stay", "Float"))
230 0 166 if ($self->testAnyChar($text, "fF", 0, 0, undef, 0, "#stay", "Float"))
237 0 8188 if ($self->testHlCOct($text, 0, undef, 0, "#stay", "Octal"))
243 0 8188 if ($self->testHlCHex($text, 0, undef, 0, "#stay", "Hex"))
250 10 8178 if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal"))
256 0 10 if ($self->testStringDetect($text, "ULL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
264 0 10 if ($self->testStringDetect($text, "LUL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
272 0 10 if ($self->testStringDetect($text, "LLU", 1, 0, 0, undef, 0, "#stay", "Decimal"))
280 0 10 if ($self->testStringDetect($text, "UL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
288 0 10 if ($self->testStringDetect($text, "LU", 1, 0, 0, undef, 0, "#stay", "Decimal"))
296 0 10 if ($self->testStringDetect($text, "LL", 1, 0, 0, undef, 0, "#stay", "Decimal"))
304 0 10 if ($self->testStringDetect($text, "U", 1, 0, 0, undef, 0, "#stay", "Decimal"))
312 0 10 if ($self->testStringDetect($text, "L", 1, 0, 0, undef, 0, "#stay", "Decimal"))
319 0 8188 if ($self->testHlCChar($text, 0, undef, 0, "#stay", "Char"))
327 0 8188 if ($self->testRegExpr($text, "//BEGIN.*\$", 0, 0, 0, undef, 0, "#stay", "Region Marker"))
335 0 8188 if ($self->testRegExpr($text, "//END.*\$", 0, 0, 0, undef, 0, "#stay", "Region Marker"))
342 6 8182 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
349 22 8160 if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "String", "String"))
357 18 8142 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
366 2 8140 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
374 58 8082 if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Normal Text"))
382 58 8024 if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Normal Text"))
389 954 7070 if ($self->testAnyChar($text, "!%&()+,-<=>?[]^{|}~", 0, 0, undef, 0, "#stay", "Symbol"))
397 0 7070 if ($self->testRegExpr($text, "#exec", 1, 0, 0, undef, 0, "Preprocessor", "Preprocessor"))
410 0 0 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
418 0 0 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
429 0 526 if ($self->testLineContinue($text, 0, undef, 0, "#stay", "String"))
435 0 526 if ($self->testHlCStringChar($text, 0, undef, 0, "#stay", "String Char"))
442 6 520 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String"))
449 22 498 if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "#pop", "String"))