Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Javadoc.pm
Criterion Covered Total %
branch 73 142 51.4


line true false branch
91 8 2864 if ($self->testStringDetect($text, "/**", 0, 0, 0, undef, 0, "JavadocFSar", "JavadocFS"))
103 0 0 if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "InlineTag"))
111 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop#pop", "JavadocFS"))
116 0 0 if ($self->includePlugin("HTML", $text))
130 0 122 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "JavadocFS"))
137 0 122 if ($self->testRegExpr($text, "(!|\\?)", 0, 0, 0, undef, 0, "Javadocar", "JavadocFS"))
144 0 122 if ($self->testRegExpr($text, "(\\.\\s*\$)", 0, 0, 0, undef, 0, "Javadocar", "JavadocFS"))
151 6 116 if ($self->testRegExpr($text, "(\\.\\s)(?![\\da-z])", 0, 0, 0, undef, 0, "Javadocar", "JavadocFS"))
159 2 114 if ($self->testRegExpr($text, "\\**\\s*(?=\@(author|deprecated|exception|param|return|see|serial|serialData|serialField|since|throws|version)(\\s|\$))", 0, 0, 0, undef, 1, "Javadocar", "JavadocFS"))
166 0 114 if ($self->testStringDetect($text, "{\@code ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
173 0 114 if ($self->testStringDetect($text, "{\@code\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
180 0 114 if ($self->testStringDetect($text, "{\@docRoot}", 0, 0, 0, undef, 0, "#stay", "InlineTag"))
187 0 114 if ($self->testStringDetect($text, "{\@inheritDoc}", 0, 0, 0, undef, 0, "#stay", "InlineTag"))
194 0 114 if ($self->testStringDetect($text, "{\@link ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
201 0 114 if ($self->testStringDetect($text, "{\@link\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
208 0 114 if ($self->testStringDetect($text, "{\@linkplain ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
215 0 114 if ($self->testStringDetect($text, "{\@linkplain\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
222 0 114 if ($self->testStringDetect($text, "{\@literal ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
229 0 114 if ($self->testStringDetect($text, "{\@literal\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
236 0 114 if ($self->testStringDetect($text, "{\@value}", 0, 0, 0, undef, 0, "#stay", "InlineTag"))
243 0 114 if ($self->testStringDetect($text, "{\@value ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
250 0 114 if ($self->testStringDetect($text, "{\@value\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
255 102 12 if ($self->includePlugin("HTML", $text))
264 0 4 if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef))
271 0 4 if ($self->testRegExpr($text, "\\S*(?=\\*/)", 0, 0, 0, undef, 0, "#pop#pop", "JavadocParam"))
278 4 0 if ($self->testRegExpr($text, "\\S*(\\s|\$)", 0, 0, 0, undef, 0, "#pop", "JavadocParam"))
292 8 176 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop", "JavadocFS"))
300 8 168 if ($self->testRegExpr($text, "\\*+(?!/)", 0, 0, 0, undef, 1, "#stay", "JavadocFS"))
307 0 168 if ($self->testStringDetect($text, "\@author ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
314 0 168 if ($self->testStringDetect($text, "\@deprecated ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
321 0 168 if ($self->testStringDetect($text, "\@exception ", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag"))
328 4 164 if ($self->testStringDetect($text, "\@param ", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag"))
335 0 164 if ($self->testStringDetect($text, "\@return ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
342 0 164 if ($self->testStringDetect($text, "\@see ", 0, 0, 0, undef, 0, "SeeTag", "BlockTag"))
349 0 164 if ($self->testStringDetect($text, "\@serial ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
356 0 164 if ($self->testStringDetect($text, "\@serialData ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
363 0 164 if ($self->testStringDetect($text, "\@serialField ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
370 0 164 if ($self->testStringDetect($text, "\@since ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
377 0 164 if ($self->testStringDetect($text, "\@throws ", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag"))
384 0 164 if ($self->testStringDetect($text, "\@version ", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
391 0 164 if ($self->testStringDetect($text, "\@author\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
398 0 164 if ($self->testStringDetect($text, "\@deprecated\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
405 0 164 if ($self->testStringDetect($text, "\@exception\t", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag"))
412 0 164 if ($self->testStringDetect($text, "\@param\t", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag"))
419 0 164 if ($self->testStringDetect($text, "\@return\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
426 0 164 if ($self->testStringDetect($text, "\@see\t", 0, 0, 0, undef, 0, "SeeTag", "BlockTag"))
433 0 164 if ($self->testStringDetect($text, "\@serial\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
440 0 164 if ($self->testStringDetect($text, "\@serialData\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
447 0 164 if ($self->testStringDetect($text, "\@serialField\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
454 0 164 if ($self->testStringDetect($text, "\@since\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
461 0 164 if ($self->testStringDetect($text, "\@throws\t", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag"))
468 0 164 if ($self->testStringDetect($text, "\@version\t", 0, 0, 0, undef, 0, "#stay", "BlockTag"))
475 0 164 if ($self->testStringDetect($text, "{\@code ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
482 0 164 if ($self->testStringDetect($text, "{\@code\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
489 0 164 if ($self->testStringDetect($text, "{\@docRoot}", 0, 0, 0, undef, 0, "#stay", "InlineTag"))
496 0 164 if ($self->testStringDetect($text, "{\@inheritDoc}", 0, 0, 0, undef, 0, "#stay", "InlineTag"))
503 0 164 if ($self->testStringDetect($text, "{\@link ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
510 0 164 if ($self->testStringDetect($text, "{\@link\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
517 0 164 if ($self->testStringDetect($text, "{\@linkplain ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
524 0 164 if ($self->testStringDetect($text, "{\@linkplain\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
531 0 164 if ($self->testStringDetect($text, "{\@literal ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
538 0 164 if ($self->testStringDetect($text, "{\@literal\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag"))
545 0 164 if ($self->testStringDetect($text, "{\@value}", 0, 0, 0, undef, 0, "#stay", "InlineTag"))
552 0 164 if ($self->testStringDetect($text, "{\@value ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
559 0 164 if ($self->testStringDetect($text, "{\@value\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag"))
564 150 14 if ($self->includePlugin("HTML", $text))
576 0 0 if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "InlineTag"))
584 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop#pop", "JavadocFS"))
597 0 0 if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop#pop", "JavadocFS"))
602 0 0 if ($self->includePlugin("HTML", $text))
612 8 2864 if ($self->includeRules("FindJavadoc", $text))