Branch Coverage

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


line true false branch
433 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'Identifier'))
444 0 0 if ($self->testLineContinue($text, 0, undef, 0, '#pop', 'Comment'))
453 0 0 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment'))
465 0 0 if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword'))
472 0 0 if ($self->testKeyword($text, 'operators', 0, undef, 0, '#stay', 'Operator'))
479 0 0 if ($self->testKeyword($text, 'functions', 0, undef, 0, '#stay', 'Function'))
486 0 0 if ($self->testKeyword($text, 'types', 0, undef, 0, '#stay', 'Data Type'))
494 0 0 if ($self->testRegExpr($text, '%bulk_exceptions\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
502 0 0 if ($self->testRegExpr($text, '%bulk_rowcount\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
510 0 0 if ($self->testRegExpr($text, '%found\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
518 0 0 if ($self->testRegExpr($text, '%isopen\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
526 0 0 if ($self->testRegExpr($text, '%notfound\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
534 0 0 if ($self->testRegExpr($text, '%rowcount\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
542 0 0 if ($self->testRegExpr($text, '%rowtype\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
550 0 0 if ($self->testRegExpr($text, '%type\\b', 1, 0, 0, undef, 0, '#stay', 'Data Type'))
556 0 0 if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float'))
562 0 0 if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal'))
569 0 0 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'String', 'String'))
576 0 0 if ($self->testDetectChar($text, '#', 0, 0, 0, undef, 0, 'SingleLineComment', 'Comment'))
584 0 0 if ($self->testDetect2Chars($text, '-', '-', 0, 0, 0, undef, 0, 'SingleLineComment', 'Comment'))
593 0 0 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'MultiLineComment', 'Comment'))
602 0 0 if ($self->testRegExpr($text, 'rem\\b', 1, 0, 0, 0, 0, 'SingleLineComment', 'Comment'))
609 0 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'Identifier', 'Comment'))
616 0 0 if ($self->testAnyChar($text, ':&', 0, 0, undef, 0, '#stay', 'Symbol'))
624 0 0 if ($self->testRegExpr($text, '/$', 0, 0, 0, 0, 0, '#stay', 'Symbol'))
632 0 0 if ($self->testRegExpr($text, '@@?[^@ \\t\\r\\n]', 0, 0, 0, 0, 0, 'Preprocessor', 'Preprocessor'))
653 0 0 if ($self->testLineContinue($text, 0, undef, 0, '#pop', 'String'))
659 0 0 if ($self->testHlCStringChar($text, 0, undef, 0, '#stay', 'String Char'))
666 0 0 if ($self->testDetectChar($text, '&', 0, 0, 0, undef, 0, '#stay', 'Symbol'))
673 0 0 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, '#pop', 'String'))