Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Stata.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
507 14 534 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment'))
519 132 3546 if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword'))
526 46 3500 if ($self->testKeyword($text, 'types', 0, undef, 0, '#stay', 'Data Type'))
533 32 3468 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'string', 'String'))
541 122 3346 if ($self->testRangeDetect($text, '`', q['], 0, 0, undef, 0, '#stay', 'Macro'))
549 0 3346 if ($self->testDetect2Chars($text, '/', '/', 0, 0, 0, undef, 0, 'Comment 1', 'Comment'))
558 14 3332 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'Comment 2', 'Comment'))
566 24 3308 if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, '#stay', 'Normal Text'))
574 24 3284 if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#stay', 'Normal Text'))
585 0 208 if ($self->testHlCStringChar($text, 0, undef, 0, '#stay', 'String Char'))
592 32 176 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String'))