Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/AWK.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
129 4 132 if ($self->testRegExpr($text, "\\b(BEGIN|END)\\b", 0, 0, 0, undef, 0, "#stay", "Pattern"))
136 10 122 if ($self->testRegExpr($text, "/([^\\/[]|\\\\.|\\[\\]?(\\[[^]]+\\]|.)+\\])+/", 0, 0, 0, undef, 0, "#stay", "Pattern"))
144 8 114 if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Keyword"))
152 8 106 if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Keyword"))
159 10 96 if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 0, "Comment", "Comment"))
166 2 94 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
173 4 90 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
180 0 90 if ($self->testKeyword($text, "builtins", 0, undef, 0, "#stay", "Builtin"))
187 0 90 if ($self->testKeyword($text, "functions", 0, undef, 0, "#stay", "Function"))
193 4 86 if ($self->testFloat($text, 0, undef, 0, "#stay", "Float"))
199 0 86 if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal"))
206 2 84 if ($self->testRegExpr($text, "\\\$[A-Za-z0-9_]+", 0, 0, 0, undef, 0, "#stay", "Field"))
216 0 352 if ($self->includePlugin("Alerts", $text))
228 2 20 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String"))
234 0 20 if ($self->testHlCStringChar($text, 0, undef, 0, "#stay", "String"))