Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Scheme.pm
Criterion Covered Total %
branch 78 92 84.7


line true false branch
409 0 5740 if ($self->testRegExpr($text, ';+\\s*BEGIN.*$', 0, 0, 0, undef, 0, '#stay', 'Region Marker'))
417 0 5740 if ($self->testRegExpr($text, ';+\\s*END.*$', 0, 0, 0, undef, 0, '#stay', 'Region Marker'))
424 0 5740 if ($self->testRegExpr($text, ';.*$', 0, 0, 0, undef, 0, '#stay', 'Comment'))
433 2 5738 if ($self->testDetect2Chars($text, '#', '!', 0, 0, 0, undef, 0, 'MultiLineComment', 'Comment'))
440 114 5624 if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword'))
447 2 5622 if ($self->testKeyword($text, 'operators', 0, undef, 0, '#stay', 'Operator'))
454 36 5586 if ($self->testKeyword($text, 'defines', 0, undef, 0, 'function_decl', 'Definition'))
461 0 5586 if ($self->testKeyword($text, 'characters', 0, undef, 0, '#stay', 'Char'))
468 30 5556 if ($self->testRegExpr($text, '#\\\\.', 0, 0, 0, undef, 0, '#stay', 'Char'))
475 10 5546 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'String', 'String'))
482 6 5540 if ($self->testRegExpr($text, '#[bodxei]', 0, 0, 0, undef, 0, 'SpecialNumber', 'Char'))
489 12 5528 if ($self->testRegExpr($text, '#[tf]', 0, 0, 0, undef, 0, '#stay', 'Decimal'))
495 80 5448 if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float'))
501 0 5448 if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal'))
508 0 5448 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level1', 'Brackets1'))
520 72 2188 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level1', 'Brackets1'))
525 58 2130 if ($self->includeRules('Default', $text))
537 82 1070 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level2', 'Brackets2'))
544 76 994 if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Brackets1'))
549 82 912 if ($self->includeRules('Default', $text))
561 94 918 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level3', 'Brackets3'))
568 82 836 if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Brackets2'))
573 44 792 if ($self->includeRules('Default', $text))
585 42 754 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level4', 'Brackets4'))
592 94 660 if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Brackets3'))
597 50 610 if ($self->includeRules('Default', $text))
609 24 432 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level5', 'Brackets5'))
616 42 390 if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Brackets4'))
621 42 348 if ($self->includeRules('Default', $text))
633 10 474 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level6', 'Brackets6'))
640 24 450 if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Brackets5'))
645 10 440 if ($self->includeRules('Default', $text))
657 4 232 if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'Level1', 'Brackets1'))
664 10 222 if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Brackets6'))
669 6 216 if ($self->includeRules('Default', $text))
683 0 894 if ($self->testRegExpr($text, '!#\\s*$', 0, 0, 0, 0, 0, '#pop', 'Comment'))
694 0 244 if ($self->testFloat($text, 0, undef, 0, '#pop', 'Float'))
700 0 244 if ($self->testInt($text, 0, undef, 0, '#pop', 'Decimal'))
706 0 244 if ($self->testHlCOct($text, 0, undef, 0, '#pop', 'BaseN'))
712 0 244 if ($self->testHlCHex($text, 0, undef, 0, '#pop', 'Float'))
724 0 272 if ($self->testKeyword($text, 'characters', 0, undef, 0, '#stay', 'Char'))
731 0 272 if ($self->testRegExpr($text, '#\\\\.', 0, 0, 0, undef, 0, '#stay', 'Char'))
739 4 268 if ($self->testDetect2Chars($text, '\\', '"', 0, 0, 0, undef, 0, '#stay', 'Char'))
747 2 266 if ($self->testDetect2Chars($text, '\\', '\\', 0, 0, 0, undef, 0, '#stay', 'Char'))
754 10 256 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String'))
766 36 0 if ($self->testRegExpr($text, '\\s*[A-Za-z0-9-+\\<\\>//\\*]*\\s*', 0, 0, 0, undef, 0, '#pop', 'Function'))