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 186 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'JavadocFS'))
137 0 186 if ($self->testRegExpr($text, '(!|\\?)', 0, 0, 0, undef, 0, 'Javadocar', 'JavadocFS'))
144 0 186 if ($self->testRegExpr($text, '(\\.\\s*$)', 0, 0, 0, undef, 0, 'Javadocar', 'JavadocFS'))
151 6 180 if ($self->testRegExpr($text, '(\\.\\s)(?![\\da-z])', 0, 0, 0, undef, 0, 'Javadocar', 'JavadocFS'))
159 2 178 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 178 if ($self->testStringDetect($text, '{@code ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
173 0 178 if ($self->testStringDetect($text, "{\@code\t", 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
180 0 178 if ($self->testStringDetect($text, '{@docRoot}', 0, 0, 0, undef, 0, '#stay', 'InlineTag'))
187 0 178 if ($self->testStringDetect($text, '{@inheritDoc}', 0, 0, 0, undef, 0, '#stay', 'InlineTag'))
194 0 178 if ($self->testStringDetect($text, '{@link ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
201 0 178 if ($self->testStringDetect($text, "{\@link\t", 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
208 0 178 if ($self->testStringDetect($text, '{@linkplain ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
215 0 178 if ($self->testStringDetect($text, "{\@linkplain\t", 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
222 0 178 if ($self->testStringDetect($text, '{@literal ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
229 0 178 if ($self->testStringDetect($text, "{\@literal\t", 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
236 0 178 if ($self->testStringDetect($text, '{@value}', 0, 0, 0, undef, 0, '#stay', 'InlineTag'))
243 0 178 if ($self->testStringDetect($text, '{@value ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
250 0 178 if ($self->testStringDetect($text, "{\@value\t", 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
255 50 128 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 276 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop#pop', 'JavadocFS'))
300 8 268 if ($self->testRegExpr($text, '\\*+(?!/)', 0, 0, 0, undef, 1, '#stay', 'JavadocFS'))
307 0 268 if ($self->testStringDetect($text, '@author ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
314 0 268 if ($self->testStringDetect($text, '@deprecated ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
321 0 268 if ($self->testStringDetect($text, '@exception ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag'))
328 4 264 if ($self->testStringDetect($text, '@param ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag'))
335 0 264 if ($self->testStringDetect($text, '@return ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
342 0 264 if ($self->testStringDetect($text, '@see ', 0, 0, 0, undef, 0, 'SeeTag', 'BlockTag'))
349 0 264 if ($self->testStringDetect($text, '@serial ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
356 0 264 if ($self->testStringDetect($text, '@serialData ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
363 0 264 if ($self->testStringDetect($text, '@serialField ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
370 0 264 if ($self->testStringDetect($text, '@since ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
377 0 264 if ($self->testStringDetect($text, '@throws ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag'))
384 0 264 if ($self->testStringDetect($text, '@version ', 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
391 0 264 if ($self->testStringDetect($text, "\@author\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
398 0 264 if ($self->testStringDetect($text, "\@deprecated\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
405 0 264 if ($self->testStringDetect($text, "\@exception\t", 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag'))
412 0 264 if ($self->testStringDetect($text, "\@param\t", 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag'))
419 0 264 if ($self->testStringDetect($text, "\@return\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
426 0 264 if ($self->testStringDetect($text, "\@see\t", 0, 0, 0, undef, 0, 'SeeTag', 'BlockTag'))
433 0 264 if ($self->testStringDetect($text, "\@serial\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
440 0 264 if ($self->testStringDetect($text, "\@serialData\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
447 0 264 if ($self->testStringDetect($text, "\@serialField\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
454 0 264 if ($self->testStringDetect($text, "\@since\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
461 0 264 if ($self->testStringDetect($text, "\@throws\t", 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag'))
468 0 264 if ($self->testStringDetect($text, "\@version\t", 0, 0, 0, undef, 0, '#stay', 'BlockTag'))
475 0 264 if ($self->testStringDetect($text, '{@code ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
482 0 264 if ($self->testStringDetect($text, "{\@code\t", 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
489 0 264 if ($self->testStringDetect($text, '{@docRoot}', 0, 0, 0, undef, 0, '#stay', 'InlineTag'))
496 0 264 if ($self->testStringDetect($text, '{@inheritDoc}', 0, 0, 0, undef, 0, '#stay', 'InlineTag'))
503 0 264 if ($self->testStringDetect($text, '{@link ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
510 0 264 if ($self->testStringDetect($text, "{\@link\t", 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
517 0 264 if ($self->testStringDetect($text, '{@linkplain ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
524 0 264 if ($self->testStringDetect($text, "{\@linkplain\t", 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
531 0 264 if ($self->testStringDetect($text, '{@literal ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
538 0 264 if ($self->testStringDetect($text, "{\@literal\t", 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag'))
545 0 264 if ($self->testStringDetect($text, '{@value}', 0, 0, 0, undef, 0, '#stay', 'InlineTag'))
552 0 264 if ($self->testStringDetect($text, '{@value ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
559 0 264 if ($self->testStringDetect($text, "{\@value\t", 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag'))
564 72 192 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))