Branch Coverage

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


line true false branch
367 0 0 if ($self->includeRules("PropDefVal rules", $text))
380 0 0 if ($self->testRegExpr($text, "^[\\t ]*has ", 1, 0, 0, undef, 0, "has_decl", "Keyword"))
387 0 0 if ($self->testKeyword($text, "ClassDeclOps", 0, undef, 0, "#stay", "Keyword"))
394 0 0 if ($self->testRegExpr($text, "[a-zA-Z_]+\\w*", 0, 0, 0, undef, 0, "prop_def", "Function"))
402 0 0 if ($self->testDetectChar($text, ";", 0, 0, 0, undef, 0, "#pop", "Pragma"))
414 0 0 if ($self->testDetectChar($text, "!", 0, 0, 0, undef, 0, "comment", "Comment"))
421 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "string", "String"))
428 0 0 if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "word", "Word"))
435 0 0 if ($self->testKeyword($text, "inline_pragmas", 0, undef, 0, "#stay", "Pragma"))
442 0 0 if ($self->testRegExpr($text, "--?>", 0, 0, 0, undef, 0, "#stay", "Operator"))
449 0 0 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
456 0 0 if ($self->testKeyword($text, "actions", 0, undef, 0, "#stay", "Actions"))
463 0 0 if ($self->testKeyword($text, "functions", 0, undef, 0, "#stay", "PredefFunction"))
470 0 0 if ($self->testKeyword($text, "special_vals", 0, undef, 0, "#stay", "Values"))
477 0 0 if ($self->testKeyword($text, "operators", 0, undef, 0, "#stay", "Operator"))
484 0 0 if ($self->testRegExpr($text, "##[a-zA-Z_]+\\w*", 0, 0, 0, undef, 0, "#stay", "Actions"))
491 0 0 if ($self->testRegExpr($text, "\@[a-zA-Z_]+\\w*", 0, 0, 0, undef, 0, "#stay", "OpCode"))
498 0 0 if ($self->testRegExpr($text, "\\\$[0-9a-fA-F]{1,4}", 0, 0, 0, undef, 0, "#stay", "Number"))
505 0 0 if ($self->testRegExpr($text, "[a-zA-Z_]+\\w*", 0, 0, 0, undef, 0, "#stay", "Normal Text"))
512 0 0 if ($self->testRegExpr($text, "\\d+", 0, 0, 0, undef, 0, "#stay", "Number"))
520 0 0 if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Keyword"))
528 0 0 if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Keyword"))
535 0 0 if ($self->testAnyChar($text, "%&()+-<=>{|}~", 0, 0, undef, 0, "#stay", "Operator"))
547 0 0 if ($self->testDetectChar($text, "!", 0, 0, 0, undef, 0, "comment", "Comment"))
554 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "string", "String"))
561 0 0 if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "word", "Word"))
569 0 0 if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "prop_func_def", "Function"))
576 0 0 if ($self->testDetectChar($text, ",", 0, 0, 0, undef, 0, "#pop", "Operator"))
583 0 0 if ($self->testRegExpr($text, "\\\$[0-9a-fA-F]{1,4}", 0, 0, 0, undef, 0, "#stay", "Number"))
590 0 0 if ($self->testRegExpr($text, "\\d+", 0, 0, 0, undef, 0, "#stay", "Number"))
602 0 0 if ($self->testDetectChar($text, "!", 0, 0, 0, undef, 0, "comment", "Comment"))
609 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "string", "String"))
617 0 0 if ($self->testRegExpr($text, "[[]\\s*[a-zA-Z_]+\\w*", 0, 0, 0, undef, 0, "funcdef", "Function"))
627 0 0 if ($self->testRegExpr($text, " *object | *class ", 1, 0, 0, 0, 0, "ClassDecl", "Pragma"))
634 0 0 if ($self->testKeyword($text, "pragmas", 0, undef, 0, "#stay", "Pragma"))
641 0 0 if ($self->testKeyword($text, "inline_pragmas", 0, undef, 0, "#stay", "Pragma"))
648 0 0 if ($self->testRegExpr($text, "--?>", 0, 0, 0, undef, 0, "#stay", "Operator"))
655 0 0 if ($self->testRegExpr($text, "[a-zA-Z_]+\\d*", 0, 0, 0, undef, 0, "#stay", "Normal Text"))
662 0 0 if ($self->testRegExpr($text, "\\\$[0-9a-fA-F]{1,4}", 0, 0, 0, undef, 0, "#stay", "Number"))
669 0 0 if ($self->testRegExpr($text, "\\d+", 0, 0, 0, undef, 0, "#stay", "Number"))
684 0 0 if ($self->includeRules("Normal", $text))
693 0 0 if ($self->testDetect2Chars($text, "]", ";", 0, 0, 0, undef, 0, "#pop", "Function"))
706 0 0 if ($self->testDetectChar($text, ";", 0, 0, 0, undef, 0, "#pop#pop#pop", "Pragma"))
711 0 0 if ($self->includeRules("PropDefVal rules", $text))
724 0 0 if ($self->testDetectChar($text, ",", 0, 0, 0, undef, 0, "#pop", "Function"))
732 0 0 if ($self->testDetectChar($text, ";", 0, 0, 0, undef, 0, "#pop#pop#pop", "Pragma"))
740 0 0 if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "prop_func_def", "Function"))
745 0 0 if ($self->includeRules("PropDefVal rules", $text))
758 0 0 if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop", "Function"))
763 0 0 if ($self->includeRules("Normal", $text))
775 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String"))
787 0 0 if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "#pop", "Word"))