Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/ASP.pm
Criterion Covered Total %
branch 82 170 48.2


line true false branch
322 0 660 if ($self->testStringDetect($text, '%>', 0, 0, 0, undef, 0, '#pop#pop', 'Keyword'))
334 6 1122 if ($self->testStringDetect($text, '%>', 0, 0, 0, undef, 0, '#pop', 'Keyword'))
341 16 1106 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'asp_onelinecomment', 'Comment'))
348 24 1082 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'doublequotestring', 'String'))
355 0 1082 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'singlequotestring', 'String'))
362 4 1078 if ($self->testDetectChar($text, '&', 0, 0, 0, undef, 0, '#stay', 'Keyword'))
369 0 1078 if ($self->testRegExpr($text, '', 0, 0, 0, undef, 0, '', 'String'))
376 0 1078 if ($self->testRegExpr($text, '[0123456789]*\\.\\.\\.[0123456789]*', 0, 0, 0, undef, 0, '#stay', 'String'))
382 0 1078 if ($self->testHlCOct($text, 0, undef, 0, '#stay', 'Octal'))
388 0 1078 if ($self->testHlCHex($text, 0, undef, 0, '#stay', 'Hex'))
394 22 1056 if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float'))
400 0 1056 if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal'))
407 112 944 if ($self->testAnyChar($text, ';()}{:,[]', 0, 0, undef, 0, '#stay', 'Other'))
417 0 944 if ($self->testRegExpr($text, '\\belseif\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
427 2 942 if ($self->testRegExpr($text, '\\belse\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
436 6 936 if ($self->testRegExpr($text, '\\bif\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
445 6 930 if ($self->testRegExpr($text, '\\bend if\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
453 0 930 if ($self->testRegExpr($text, '\\bexit function\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
462 4 926 if ($self->testRegExpr($text, '\\bfunction\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
471 4 922 if ($self->testRegExpr($text, '\\bend function\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
479 0 922 if ($self->testRegExpr($text, '\\bexit sub\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
488 2 920 if ($self->testRegExpr($text, '\\bsub\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
497 2 918 if ($self->testRegExpr($text, '\\bend sub\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
506 0 918 if ($self->testRegExpr($text, '\\bclass\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
515 0 918 if ($self->testRegExpr($text, '\\bend class\\b', 1, 0, 0, undef, 0, '#stay', 'Keyword'))
523 0 918 if ($self->testRegExpr($text, '\\bexit do\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
532 4 914 if ($self->testRegExpr($text, '\\bdo\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
541 4 910 if ($self->testRegExpr($text, '\\bloop\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
549 0 910 if ($self->testRegExpr($text, '\\bexit while\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
558 0 910 if ($self->testRegExpr($text, '\\bwhile\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
567 0 910 if ($self->testRegExpr($text, '\\bwend\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
575 0 910 if ($self->testRegExpr($text, '\\bexit for\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
584 0 910 if ($self->testRegExpr($text, '\\bfor\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
593 0 910 if ($self->testRegExpr($text, '\\bnext\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
602 0 910 if ($self->testRegExpr($text, '\\bselect case\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
611 0 910 if ($self->testRegExpr($text, '\\bend select\\b', 1, 0, 0, undef, 0, '#stay', 'Control Structures'))
618 38 872 if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword'))
625 8 864 if ($self->testKeyword($text, 'control structures', 0, undef, 0, '#stay', 'Control Structures'))
632 38 826 if ($self->testKeyword($text, 'functions', 0, undef, 0, '#stay', 'Function'))
645 0 234 if ($self->testDetect2Chars($text, '"', '"', 0, 0, 0, undef, 0, '#stay', 'Escape Code'))
652 0 234 if ($self->testRegExpr($text, '\\\\[0-7]{1,3}', 0, 0, 0, undef, 0, '#stay', 'Escape Code'))
659 0 234 if ($self->testRegExpr($text, '\\\\x[0-9A-Fa-f]{1,2}', 0, 0, 0, undef, 0, '#stay', 'Escape Code'))
666 24 210 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String'))
678 0 0 if ($self->testStringDetect($text, '<%', 0, 0, 0, undef, 0, 'aspsource', 'Keyword'))
685 0 0 if ($self->testStringDetect($text, '<%', 0, 0, 0, undef, 0, 'aspsource', 'Keyword'))
692 0 0 if ($self->testStringDetect($text, '-->', 0, 0, 0, undef, 0, '#pop', 'HTML Comment'))
699 0 0 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'identifiers', 'Normal Text'))
712 0 26 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag'))
719 12 14 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag'))
726 0 14 if ($self->testStringDetect($text, '<%', 0, 0, 0, undef, 0, 'aspsource', 'Keyword'))
733 0 14 if ($self->testStringDetect($text, '<%', 0, 0, 0, undef, 0, 'aspsource', 'Keyword'))
740 2 12 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'identifiers', 'Identifier'))
752 0 2 if ($self->testRegExpr($text, '\\s*#?[a-zA-Z0-9]*', 0, 0, 0, undef, 0, '#pop', 'String'))
759 0 2 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'types1', 'Types'))
766 2 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'types2', 'Types'))
778 6 144 if ($self->testStringDetect($text, '<%', 0, 0, 0, undef, 0, 'aspsource', 'Keyword'))
786 0 144 if ($self->testRegExpr($text, '<\\s*script(\\s|>)', 1, 0, 0, undef, 0, 'scripts', 'HTML Tag'))
793 12 132 if ($self->testRegExpr($text, '<\\s*\\/?\\s*[a-zA-Z_:][a-zA-Z0-9._:-]*', 0, 0, 0, undef, 0, 'htmltag', 'HTML Tag'))
800 0 132 if ($self->testStringDetect($text, '