Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/AVR_Assembler.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
202 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment"))
220 8 704 if ($self->testRegExpr($text, "[A-Za-z0-9_.\$]+:", 0, 0, 0, undef, 1, "#stay", "Label"))
227 36 668 if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword"))
233 0 668 if ($self->testHlCOct($text, 0, undef, 0, "#stay", "Octal"))
239 0 668 if ($self->testHlCHex($text, 0, undef, 0, "#stay", "Hex"))
246 0 668 if ($self->testRegExpr($text, "0[bB][01]+", 0, 0, 0, undef, 0, "#stay", "Binary"))
252 4 664 if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal"))
259 0 664 if ($self->testRegExpr($text, "0[fFeEdD][-+]?[0-9]*\\.?[0-9]*[eE]?[-+]?[0-9]+", 0, 0, 0, undef, 0, "#stay", "Float"))
266 72 592 if ($self->testRegExpr($text, "[A-Za-z_.\$][A-Za-z0-9_.\$]*", 0, 0, 0, undef, 0, "#stay", "Normal Text"))
273 0 592 if ($self->testRegExpr($text, "'(\\\\x[0-9a-fA-F][0-9a-fA-F]?|\\\\[0-7]?[0-7]?[0-7]?|\\\\.|.)", 0, 0, 0, undef, 0, "#stay", "Char"))
280 2 590 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String"))
288 0 590 if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Commentar 1", "Comment"))
295 0 590 if ($self->testDetectChar($text, "\@", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
302 80 510 if ($self->testDetectChar($text, ";", 0, 0, 0, undef, 0, "Commentar 2", "Comment"))
309 20 490 if ($self->testAnyChar($text, "!#%&*()+,-<=>?/:[]^{|}~", 0, 0, undef, 0, "#stay", "Symbol"))
316 0 490 if ($self->testRegExpr($text, "^#", 0, 0, 0, undef, 0, "Preprocessor", "Preprocessor"))
337 0 24 if ($self->testLineContinue($text, 0, undef, 0, "Some Context", "String"))
343 0 24 if ($self->testHlCStringChar($text, 0, undef, 0, "#stay", "String Char"))
350 2 22 if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String"))