Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/CMake.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
256 16 804 if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Normal Text'))
263 22 782 if ($self->testKeyword($text, 'special_args', 0, undef, 0, '#stay', 'Special Args'))
270 0 782 if ($self->testRegExpr($text, '#.*$', 0, 0, 0, undef, 0, '#stay', 'Comment'))
277 22 760 if ($self->testRegExpr($text, '\\$\\{\\s*\\w+\\s*\\}', 0, 0, 0, undef, 0, '#stay', 'Variable'))
289 16 1224 if ($self->testKeyword($text, 'commands', 0, undef, 0, 'Function Args', 'Commands'))
298 0 1224 if ($self->testRegExpr($text, '#\\s*BEGIN.*$', 0, 0, 0, undef, 1, '#stay', 'Region Marker'))
307 0 1224 if ($self->testRegExpr($text, '#\\s*END.*$', 0, 0, 0, undef, 1, '#stay', 'Region Marker'))
314 0 1224 if ($self->testRegExpr($text, '#.*$', 0, 0, 0, undef, 0, '#stay', 'Comment'))
321 8 1216 if ($self->testRegExpr($text, '\\$\\{\\s*\\w+\\s*\\}', 0, 0, 0, undef, 0, '#stay', 'Variable'))
328 4 1212 if ($self->testRegExpr($text, '\\s*\\w+\\s*(?=\\(.*\\))', 0, 0, 0, undef, 0, '#stay', 'Macros'))