Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/PureBasic.pm
Criterion Covered Total %
branch 43 70 61.4


line true false branch
905 0 694 if ($self->includePlugin("Alerts", $text))
919 0 1506 if ($self->testRegExpr($text, "\\b(if)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
928 0 1506 if ($self->testRegExpr($text, "\\b(endif)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
937 0 1506 if ($self->testRegExpr($text, "\\b(while)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
946 0 1506 if ($self->testRegExpr($text, "\\b(wend)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
955 0 1506 if ($self->testRegExpr($text, "\\b(repeat)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
964 0 1506 if ($self->testRegExpr($text, "\\b(until)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
973 0 1506 if ($self->testRegExpr($text, "\\b(select)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
982 0 1506 if ($self->testRegExpr($text, "\\b(endselect)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
991 0 1506 if ($self->testRegExpr($text, "\\b(for|foreach)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1000 0 1506 if ($self->testRegExpr($text, "\\b(next)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1009 0 1506 if ($self->testRegExpr($text, "\\b(procedure|proceduredll)([.\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1018 0 1506 if ($self->testRegExpr($text, "\\b(endprocedure)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1027 0 1506 if ($self->testRegExpr($text, "\\b(structure)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1036 0 1506 if ($self->testRegExpr($text, "\\b(endstructure)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1045 0 1506 if ($self->testRegExpr($text, "\\b(interface)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1054 0 1506 if ($self->testRegExpr($text, "\\b(endinterface)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1063 0 1506 if ($self->testRegExpr($text, "\\b(enumeration)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1072 0 1506 if ($self->testRegExpr($text, "\\b(endenumeration)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1081 0 1506 if ($self->testRegExpr($text, "\\b(datasection)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1090 0 1506 if ($self->testRegExpr($text, "\\b(enddatasection)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1099 0 1506 if ($self->testRegExpr($text, "\\b(compilerif)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1108 0 1506 if ($self->testRegExpr($text, "\\b(compilerendif)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1117 0 1506 if ($self->testRegExpr($text, "\\b(compilerselect)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1126 0 1506 if ($self->testRegExpr($text, "\\b(compilerendselect)([\\s]|\$)", 1, 0, 0, undef, 0, "#stay", "Keyword"))
1133 54 1452 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
1140 50 1402 if ($self->testKeyword($text, "functions", 0, undef, 0, "#stay", "Functions"))
1147 16 1386 if ($self->testRegExpr($text, "\\#+[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*", 0, 0, 0, undef, 0, "#stay", "Constant"))
1153 14 1372 if ($self->testFloat($text, 0, undef, 0, "#stay", "Number"))
1159 8 1364 if ($self->testInt($text, 0, undef, 0, "#stay", "Number"))
1166 28 1336 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
1174 0 1336 if ($self->testRegExpr($text, "^\\s*;+\\s*BEGIN.*\$", 0, 0, 0, undef, 0, "#stay", "Region Marker"))
1182 0 1336 if ($self->testRegExpr($text, "^\\s*;+\\s*END.*\$", 0, 0, 0, undef, 0, "#stay", "Region Marker"))
1189 18 1318 if ($self->testDetectChar($text, ";", 0, 0, 0, undef, 0, "Comment1", "Comment"))
1201 28 198 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String"))