Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Doxygen.pm
Criterion Covered Total %
branch 89 180 49.4


line true false branch
399 170 2532 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef))
408 206 2326 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment'))
413 0 2326 if ($self->includePlugin('Alerts', $text))
420 0 2326 if ($self->testKeyword($text, 'TagOnly', 0, undef, 0, '#stay', 'Tags'))
427 8 2318 if ($self->testKeyword($text, 'TagWord', 0, undef, 0, 'ML_TagWord', 'Tags'))
434 0 2318 if ($self->testKeyword($text, 'TagWordWord', 0, undef, 0, 'ML_TagWordWord', 'Tags'))
441 0 2318 if ($self->testKeyword($text, 'TagString', 0, undef, 0, 'ML_TagString', 'Tags'))
448 0 2318 if ($self->testKeyword($text, 'TagWordString', 0, undef, 0, 'ML_TagWordString', 'Tags'))
452 876 1442 if ($self->testDetectIdentifier($text, 0, undef, 0, '#stay', undef))
459 0 1442 if ($self->testRegExpr($text, '\\\\(<|>)', 0, 0, 0, undef, 0, '#stay', 'Tags'))
467 0 1442 if ($self->testDetect2Chars($text, '<', '<', 0, 0, 0, undef, 0, '#stay', 'Comment'))
474 122 1320 if ($self->testRegExpr($text, '<\\s*\\/?\\s*[a-zA-Z_:][a-zA-Z0-9._:-]*', 0, 0, 0, undef, 0, 'ML_htmltag', 'HTML Tag'))
481 4 1316 if ($self->testStringDetect($text, '', 0, 0, 0, undef, 0, '#pop', 'HTML Comment'))
771 60 670 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment'))
779 0 670 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag'))
786 62 608 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag'))
793 92 516 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'ML_identifiers', 'Identifier'))
807 30 80 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment'))
814 0 80 if ($self->testRegExpr($text, '\\s*#?[a-zA-Z0-9]*', 0, 0, 0, undef, 0, '#pop', 'String'))
821 24 56 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'ML_types1', 'Types'))
828 56 0 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'ML_types2', 'Types'))
842 8 106 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment'))
849 16 90 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, '#pop#pop', 'Types'))
863 10 306 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment'))
870 46 260 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop#pop', 'Types'))
882 88 13666 if ($self->testRegExpr($text, '//(!|(/(?=[^/]|$)))
890 206 13460 if ($self->testRegExpr($text, '/\\*(\\*[^*/]|!|\\*$)
899 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef))
906 0 0 if ($self->testRegExpr($text, '\\S\\s', 0, 0, 0, undef, 0, '#pop', 'Word'))
913 0 0 if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'Word'))
922 0 0 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef))
929 0 0 if ($self->testStringDetect($text, '', 0, 0, 0, undef, 0, '#pop', 'HTML Comment'))
1050 4 326 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag'))
1057 30 296 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag'))
1064 46 250 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'SL_identifiers', 'Identifier'))
1076 0 54 if ($self->testRegExpr($text, '\\s*#?[a-zA-Z0-9]*', 0, 0, 0, undef, 0, '#pop', 'String'))
1083 12 42 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'SL_types1', 'Types'))
1090 34 8 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'SL_types2', 'Types'))
1102 12 72 if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, '#pop#pop', 'Types'))
1114 34 182 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop#pop', 'Types'))