Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Xorg_Configuration.pm
Criterion Covered Total %
branch 31 40 77.5


line true false branch
75 96 284 if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef))
80 0 284 if ($self->includePlugin("Alerts", $text))
84 106 178 if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef))
96 230 1742 if ($self->testRangeDetect($text, "\"", "\"", 0, 0, undef, 0, "#stay", "Value"))
103 0 1742 if ($self->testRangeDetect($text, "'", "'", 0, 0, undef, 0, "#stay", "Value"))
108 74 1668 if ($self->testFloat($text, 0, undef, 0, "#stay", "Float"))
113 0 1668 if ($self->testInt($text, 0, undef, 0, "#stay", "Int"))
119 4 1664 if ($self->testRegExpr($text, "[\\w\\d]+", 0, 0, 0, undef, 0, "#stay", "Value2"))
125 0 1664 if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 0, "Comment", undef))
138 34 66 if ($self->testRangeDetect($text, "\"", "\"", 0, 0, undef, 0, "Section Content", "Section Name"))
146 0 66 if ($self->testRangeDetect($text, "'", "'", 0, 0, undef, 0, "Section Content", "Section Name"))
151 0 66 if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", "Alert"))
157 0 66 if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 0, "Comment", undef))
171 26 1174 if ($self->testStringDetect($text, "EndSection", 1, 0, 0, undef, 0, "#pop#pop", "Section"))
180 8 1166 if ($self->testStringDetect($text, "EndSubSection", 1, 0, 0, undef, 0, "#pop#pop", "Section"))
189 8 1158 if ($self->testStringDetect($text, "SubSection", 1, 0, 0, undef, 0, "Section", "Section"))
195 206 952 if ($self->testRegExpr($text, "\\b\\w+\\b", 0, 0, 0, undef, 0, "Keyword", undef))
201 0 952 if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 0, "Comment", undef))
215 26 26 if ($self->testStringDetect($text, "Section", 1, 0, 0, undef, 0, "Section", "Section"))
221 26 0 if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 0, "Comment", undef))