Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/PostScript.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
477 430 2988 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
485 2 2986 if ($self->testDetect2Chars($text, "%", "!", 0, 0, 0, undef, 0, "Header", "Header"))
492 34 2952 if ($self->testDetectChar($text, "%", 0, 0, 0, undef, 0, "Comment", "Comment"))
498 392 2560 if ($self->testFloat($text, 0, undef, 0, "#stay", "Float"))
504 36 2524 if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal"))
511 16 2508 if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "String", "String"))
518 144 2364 if ($self->testRegExpr($text, "\\/{1,2}[^\\s\\(\\)\\{\\}\\[\\]%/]*", 0, 0, 0, undef, 0, "#stay", "Data Type"))
530 16 250 if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "String"))