Branch Coverage

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


line true false branch
218 0 0 if ($self->testRegExpr($text, "[^ ]+", 0, 0, 0, undef, 0, "#pop", "Data Type"))
230 0 0 if ($self->testRegExpr($text, "(FIXME|TODO)", 0, 0, 0, undef, 0, "#stay", "Alert"))
242 0 0 if ($self->testRegExpr($text, "(FIXME|TODO)", 0, 0, 0, undef, 0, "#stay", "Alert"))
250 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment"))
263 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment"))
275 0 0 if ($self->testRegExpr($text, "begin\\ *:", 0, 0, 0, undef, 0, "Block name", "Keyword"))
282 0 0 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
289 0 0 if ($self->testKeyword($text, "types", 0, undef, 0, "#stay", "Data Type"))
296 0 0 if ($self->testKeyword($text, "strength", 0, undef, 0, "#stay", "Drive/charge strength"))
303 0 0 if ($self->testKeyword($text, "gates", 0, undef, 0, "#stay", "Gate instantiation"))
310 0 0 if ($self->testRegExpr($text, "[a-zA-Z]+[\\w\$]*", 0, 0, 0, undef, 0, "#stay", "Normal Text"))
317 0 0 if ($self->testRegExpr($text, "\\\\[^ ]+ ", 0, 0, 0, undef, 0, "#stay", "Normal Text"))
324 0 0 if ($self->testRegExpr($text, "[\\d_]*'d[\\d_]+", 0, 0, 0, undef, 0, "#stay", "Decimal"))
331 0 0 if ($self->testRegExpr($text, "[\\d_]*'o[0-7xXzZ_]+", 0, 0, 0, undef, 0, "#stay", "Octal"))
338 0 0 if ($self->testRegExpr($text, "[\\d_]*'h[\\da-fA-FxXzZ_]+", 0, 0, 0, undef, 0, "#stay", "Hex"))
345 0 0 if ($self->testRegExpr($text, "[\\d_]*'b[01_zZxX]+", 0, 0, 0, undef, 0, "#stay", "Binary"))
351 0 0 if ($self->testFloat($text, 0, undef, 0, "#stay", "Float"))
357 0 0 if ($self->testInt($text, 0, undef, 0, "#stay", "Integer"))
364 0 0 if ($self->testRegExpr($text, "[^\\w\$]\\.[a-zA-Z]+[\\w\$]*", 0, 0, 0, undef, 0, "#stay", "Port connection"))
371 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
379 0 0 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
387 0 0 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
394 0 0 if ($self->testAnyChar($text, "!%&()+,-<=+/:;>?[]^{|}~\@", 0, 0, undef, 0, "#stay", "Symbol"))
403 0 0 if ($self->testStringDetect($text, "#if 0", 0, 0, 0, undef, 1, "Some Context2", "Comment"))
411 0 0 if ($self->testDetectChar($text, "`", 0, 0, 0, 0, 0, "Preprocessor", "Preprocessor"))
418 0 0 if ($self->testRegExpr($text, "\\`[a-zA-Z_]+\\w*", 0, 0, 0, undef, 0, "#stay", "Preprocessor"))
425 0 0 if ($self->testRegExpr($text, "\\\$[a-zA-Z_]+\\w*", 0, 0, 0, undef, 0, "#stay", "System Task"))
432 0 0 if ($self->testRegExpr($text, "#[\\d_]+", 0, 0, 0, undef, 0, "#stay", "Delay"))
443 0 0 if ($self->testLineContinue($text, 0, undef, 0, "Some Context", "Preprocessor"))
451 0 0 if ($self->testRangeDetect($text, "\"", "\"", 0, 0, undef, 0, "#stay", "Prep. Lib"))
459 0 0 if ($self->testRangeDetect($text, "<", ">", 0, 0, undef, 0, "#stay", "Prep. Lib"))
467 0 0 if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
475 0 0 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar/Preprocessor", "Comment"))
492 0 0 if ($self->testRegExpr($text, "(FIXME|TODO)", 0, 0, 0, undef, 0, "#stay", "Alert"))
500 0 0 if ($self->testStringDetect($text, "#endif", 0, 0, 0, undef, 1, "#pop", "Comment"))
511 0 0 if ($self->testLineContinue($text, 0, undef, 0, "Some Context", "String"))
517 0 0 if ($self->testHlCStringChar($text, 0, undef, 0, "#stay", "String Char"))
524 0 0 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String"))