Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/XHarbour.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
510 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'ml_comment', 'Comment'))
518 0 0 if ($self->testDetectChar($text, '*', 0, 0, 0, undef, 1, 'comment', 'Comment'))
526 0 0 if ($self->testDetect2Chars($text, '/', '/', 0, 0, 0, undef, 0, 'comment', 'Comment'))
533 0 0 if ($self->testKeyword($text, 'class_keywords', 0, undef, 0, '#stay', 'Keyword'))
543 0 0 if ($self->testRegExpr($text, 'END(CLASS)? *$', 1, 0, 0, undef, 1, '#pop', 'Keyword'))
557 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'ml_comment', 'Comment'))
565 0 0 if ($self->testDetectChar($text, '*', 0, 0, 0, undef, 1, 'comment', 'Comment'))
573 0 0 if ($self->testDetect2Chars($text, '/', '/', 0, 0, 0, undef, 0, 'comment', 'Comment'))
580 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'string', 'String'))
587 0 0 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'stringc', 'String'))
595 0 0 if ($self->testStringDetect($text, '.and.', 1, 0, 0, undef, 0, '#stay', 'Operator'))
603 0 0 if ($self->testStringDetect($text, '.or.', 1, 0, 0, undef, 0, '#stay', 'Operator'))
611 0 0 if ($self->testStringDetect($text, '.not.', 1, 0, 0, undef, 0, '#stay', 'Operator'))
619 0 0 if ($self->testStringDetect($text, '.f.', 1, 0, 0, undef, 0, '#stay', 'Operator'))
627 0 0 if ($self->testStringDetect($text, '.t.', 1, 0, 0, undef, 0, '#stay', 'Operator'))
634 0 0 if ($self->testAnyChar($text, ':=!', 0, 0, undef, 0, '#stay', 'Operator'))
641 0 0 if ($self->testDetectChar($text, '@', 0, 0, 0, undef, 0, '#stay', 'Keyword'))
651 0 0 if ($self->testRegExpr($text, 'CLASS[\\t ]+', 1, 0, 0, undef, 1, 'ClassContext', 'Keyword'))
661 0 0 if ($self->testRegExpr($text, 'DO[\\t ]+CASE[\\t ]*$', 1, 0, 0, undef, 1, '#stay', 'Keyword'))
669 0 0 if ($self->testKeyword($text, 'context_beginners', 0, undef, 0, '#stay', 'Keyword'))
677 0 0 if ($self->testKeyword($text, 'context_terminators', 0, undef, 0, '#stay', 'Keyword'))
687 0 0 if ($self->testRegExpr($text, 'return ?', 1, 0, 0, 0, 0, '#stay', 'Keyword'))
694 0 0 if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword'))
701 0 0 if ($self->testKeyword($text, 'set_commands', 0, undef, 0, '#stay', 'Keyword'))
708 0 0 if ($self->testKeyword($text, 'functions', 0, undef, 0, '#stay', 'Function'))
715 0 0 if ($self->testKeyword($text, 'pragma', 0, undef, 0, '#stay', 'Preprocessor'))
723 0 0 if ($self->testDetect2Chars($text, '-', '>', 0, 0, 0, undef, 0, '#stay', 'Operator'))
730 0 0 if ($self->testRegExpr($text, '\\d+', 0, 0, 0, undef, 0, '#stay', 'Number'))
747 0 0 if ($self->testDetectChar($text, '.', 0, 0, 0, undef, 0, '#pop', 'Operator'))
761 0 0 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment'))
773 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String'))
785 0 0 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, '#pop', 'String'))