Kate/Javadoc.pm

filter: Statementstmt 58.0% 105 / 181 Branchbran 51.4% 73 / 142 Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 69.2% 9 / 13 Podpod 0.0% 0 / 10 totaltotal 53.5% 188 / 351 CC 73 SCAR 46.5
CC
73
Cov
55%
parseJavadocar
188.6
parseJavadocFSar
47.6
parseInlineTagar
20.0
CRAP 104.4
« Kate/Pascal.pm ↑ Summary Kate/CGiS.pm »
1 # Copyright (c) 2005 - 2006 Hans Jeuken. All rights reserved.
2 # This program is free software; you can redistribute it and/or
3 # modify it under the same terms as Perl itself.
4  
5 # This file was generated from the 'javadoc.xml' file of the syntax highlight
6 # engine of the kate text editor (http://www.kate-editor.org
7  
8 #kate xml version 1.03
9 #kate version 2.4
10 #kate author Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)
11 #generated: Sun Feb 3 22:02:05 2008, localtime
12  
13 package Syntax::Highlight::Engine::Kate::Javadoc;
14  
15 1 our $VERSION = '0.16';
16  
17 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use base('Syntax::Highlight::Engine::Kate::Template');
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 3 ▶sub new {
Subroutine new: called CC=2 SCAR=7.0
Pod undocumented
22 3 my $proto = shift;
23 3 ▶ my $class = ref($proto) || $proto;
Condition33%1/3
ref $proto || $proto
l!l&&r!l&&!r
030
MC/DC0%0/2
ref $proto || $proto
ref $proto $proto
Truth table33%1/3
A || B
A= ref $protoB= $proto
ABresult
1X1
011
000
24 3 my $self = $class->SUPER::new(@_);
25 3 $self->attributes({
26 'BlockTag' => 'Keyword',
27 'InlineTag' => 'Keyword',
28 'Javadoc' => 'Comment',
29 'JavadocFS' => 'Comment',
30 'JavadocParam' => 'Keyword',
31 'Normal Text' => 'Normal',
32 'SeeTag' => 'Keyword',
33 });
34 3 $self->contextdata({
35 'FindJavadoc' => {
36 callback => \&parseFindJavadoc,
37 attribute => 'Normal Text',
38 },
39 'InlineTagar' => {
40 callback => \&parseInlineTagar,
41 attribute => 'InlineTag',
42 lineending => '#pop',
43 },
44 'JavadocFSar' => {
45 callback => \&parseJavadocFSar,
46 attribute => 'JavadocFS',
47 },
48 'JavadocParam' => {
49 callback => \&parseJavadocParam,
50 attribute => 'Javadoc',
51 lineending => '#pop',
52 },
53 'Javadocar' => {
54 callback => \&parseJavadocar,
55 attribute => 'Javadoc',
56 },
57 'LiteralTagar' => {
58 callback => \&parseLiteralTagar,
59 attribute => 'InlineTag',
60 lineending => '#pop',
61 },
62 'SeeTag' => {
63 callback => \&parseSeeTag,
64 attribute => 'SeeTag',
65 lineending => '#pop',
66 },
67 'Start' => {
68 callback => \&parseStart,
69 attribute => 'Normal Text',
70 },
71 });
72 3 $self->deliminators('\\s||\\.|\\(|\\)|:|\\!|\\+|,|-|<|=|>|\\%|\\&|\\*|\\/|;|\\?|\\[|\\]|\\^|\\{|\\||\\}|\\~|\\\\');
73 3 $self->basecontext('Start');
74 3 $self->keywordscase(0);
75 3 $self->initialize;
76 3 bless ($self, $class);
77 3 return $self;
78 }
79  
80 0 ▶sub language {
Subroutine language: not called CC=1 SCAR=6.9
Pod undocumented
81 0 return 'Javadoc';
82 }
83  
84 2872 ▶sub parseFindJavadoc {
Subroutine parseFindJavadoc: called CC=2 SCAR=6.9
Pod undocumented
85 2872 my ($self, $text) = @_;
86 # String => '/**'
87 # attribute => 'JavadocFS'
88 # beginRegion => 'Javadoc'
89 # context => 'JavadocFSar'
90 # type => 'StringDetect'
91 2872 ▶ if ($self->testStringDetect($text, '/**', 0, 0, 0, undef, 0, 'JavadocFSar', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "/**", 0, 0, 0, undef, 0, "JavadocFSar", "JavadocFS")) 8 2864 2872
92 8 return 1
93 }
94 2864 return 0;
95 };
96  
97 0 ▶sub parseInlineTagar {
Subroutine parseInlineTagar: not called CC=4 SCAR=30.0
Pod undocumented
98 0 my ($self, $text) = @_;
99 # attribute => 'InlineTag'
100 # char => '}'
101 # context => '#pop'
102 # type => 'DetectChar'
103 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "InlineTag")) 0 0 0
104 0 return 1
105 }
106 # attribute => 'JavadocFS'
107 # char => '*'
108 # char1 => '/'
109 # context => '#pop#pop#pop'
110 # type => 'Detect2Chars'
111 0 ▶ if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop#pop#pop', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop#pop", "JavadocFS")) 0 0 0
112 0 return 1
113 }
114 # context => '##HTML'
115 # type => 'IncludeRules'
116 0 ▶ if ($self->includePlugin('HTML', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includePlugin("HTML", $text)) 0 0 0
117 0 return 1
118 }
119 0 return 0;
120 };
121  
122 122 ▶sub parseJavadocFSar {
Subroutine parseJavadocFSar: called CC=20 SCAR=38.6
Pod undocumented
123 122 my ($self, $text) = @_;
124 # attribute => 'JavadocFS'
125 # char => '*'
126 # char1 => '/'
127 # context => '#pop'
128 # endRegion => 'Javadoc'
129 # type => 'Detect2Chars'
130 122 ▶ if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "JavadocFS")) 0 122 122
131 0 return 1
132 }
133 # String => '(!|\?)'
134 # attribute => 'JavadocFS'
135 # context => 'Javadocar'
136 # type => 'RegExpr'
137 122 ▶ if ($self->testRegExpr($text, '(!|\\?)', 0, 0, 0, undef, 0, 'Javadocar', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(!|\\?)", 0, 0, 0, undef, 0, "Javadocar", "JavadocFS")) 0 122 122
138 0 return 1
139 }
140 # String => '(\.\s*$)'
141 # attribute => 'JavadocFS'
142 # context => 'Javadocar'
143 # type => 'RegExpr'
144 122 ▶ if ($self->testRegExpr($text, '(\\.\\s*$)', 0, 0, 0, undef, 0, 'Javadocar', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(\\.\\s*\$)", 0, 0, 0, undef, 0, "Javadocar", "JavadocFS")) 0 122 122
145 0 return 1
146 }
147 # String => '(\.\s)(?![\da-z])'
148 # attribute => 'JavadocFS'
149 # context => 'Javadocar'
150 # type => 'RegExpr'
151 122 ▶ if ($self->testRegExpr($text, '(\\.\\s)(?![\\da-z])', 0, 0, 0, undef, 0, 'Javadocar', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(\\.\\s)(?![\\da-z])", 0, 0, 0, undef, 0, "Javadocar", "JavadocFS")) 6 116 122
152 6 return 1
153 }
154 # String => '\**\s*(?=@(author|deprecated|exception|param|return|see|serial|serialData|serialField|since|throws|version)(\s|$))'
155 # attribute => 'JavadocFS'
156 # context => 'Javadocar'
157 # firstNonSpace => 'true'
158 # type => 'RegExpr'
159 116 ▶ 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')) {
Branch: 1 branch
BranchTrueFalseTotal
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")) 2 114 116
160 2 return 1
161 }
162 # String => '{@code '
163 # attribute => 'InlineTag'
164 # context => 'LiteralTagar'
165 # type => 'StringDetect'
166 114 ▶ if ($self->testStringDetect($text, '{@code ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@code ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 114 114
167 0 return 1
168 }
169 # String => '{@code '
170 # attribute => 'InlineTag'
171 # context => 'LiteralTagar'
172 # type => 'StringDetect'
173 114 ▶ if ($self->testStringDetect($text, '{@code ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@code\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 114 114
174 0 return 1
175 }
176 # String => '{@docRoot}'
177 # attribute => 'InlineTag'
178 # context => '#stay'
179 # type => 'StringDetect'
180 114 ▶ if ($self->testStringDetect($text, '{@docRoot}', 0, 0, 0, undef, 0, '#stay', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@docRoot}", 0, 0, 0, undef, 0, "#stay", "InlineTag")) 0 114 114
181 0 return 1
182 }
183 # String => '{@inheritDoc}'
184 # attribute => 'InlineTag'
185 # context => '#stay'
186 # type => 'StringDetect'
187 114 ▶ if ($self->testStringDetect($text, '{@inheritDoc}', 0, 0, 0, undef, 0, '#stay', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@inheritDoc}", 0, 0, 0, undef, 0, "#stay", "InlineTag")) 0 114 114
188 0 return 1
189 }
190 # String => '{@link '
191 # attribute => 'InlineTag'
192 # context => 'InlineTagar'
193 # type => 'StringDetect'
194 114 ▶ if ($self->testStringDetect($text, '{@link ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@link ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 114 114
195 0 return 1
196 }
197 # String => '{@link '
198 # attribute => 'InlineTag'
199 # context => 'InlineTagar'
200 # type => 'StringDetect'
201 114 ▶ if ($self->testStringDetect($text, '{@link ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@link\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 114 114
202 0 return 1
203 }
204 # String => '{@linkplain '
205 # attribute => 'InlineTag'
206 # context => 'InlineTagar'
207 # type => 'StringDetect'
208 114 ▶ if ($self->testStringDetect($text, '{@linkplain ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@linkplain ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 114 114
209 0 return 1
210 }
211 # String => '{@linkplain '
212 # attribute => 'InlineTag'
213 # context => 'InlineTagar'
214 # type => 'StringDetect'
215 114 ▶ if ($self->testStringDetect($text, '{@linkplain ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@linkplain\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 114 114
216 0 return 1
217 }
218 # String => '{@literal '
219 # attribute => 'InlineTag'
220 # context => 'LiteralTagar'
221 # type => 'StringDetect'
222 114 ▶ if ($self->testStringDetect($text, '{@literal ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@literal ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 114 114
223 0 return 1
224 }
225 # String => '{@literal '
226 # attribute => 'InlineTag'
227 # context => 'LiteralTagar'
228 # type => 'StringDetect'
229 114 ▶ if ($self->testStringDetect($text, '{@literal ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@literal\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 114 114
230 0 return 1
231 }
232 # String => '{@value}'
233 # attribute => 'InlineTag'
234 # context => '#stay'
235 # type => 'StringDetect'
236 114 ▶ if ($self->testStringDetect($text, '{@value}', 0, 0, 0, undef, 0, '#stay', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@value}", 0, 0, 0, undef, 0, "#stay", "InlineTag")) 0 114 114
237 0 return 1
238 }
239 # String => '{@value '
240 # attribute => 'InlineTag'
241 # context => 'InlineTagar'
242 # type => 'StringDetect'
243 114 ▶ if ($self->testStringDetect($text, '{@value ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@value ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 114 114
244 0 return 1
245 }
246 # String => '{@value '
247 # attribute => 'InlineTag'
248 # context => 'InlineTagar'
249 # type => 'StringDetect'
250 114 ▶ if ($self->testStringDetect($text, '{@value ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@value\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 114 114
251 0 return 1
252 }
253 # context => '##HTML'
254 # type => 'IncludeRules'
255 114 ▶ if ($self->includePlugin('HTML', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includePlugin("HTML", $text)) 102 12 114
256 102 return 1
257 }
258 12 return 0;
259 };
260  
261 4 ▶sub parseJavadocParam {
Subroutine parseJavadocParam: called CC=4 SCAR=16.6
Pod undocumented
262 4 my ($self, $text) = @_;
263 # type => 'DetectSpaces'
264 4 ▶ if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef)) 0 4 4
265 0 return 1
266 }
267 # String => '\S*(?=\*/)'
268 # attribute => 'JavadocParam'
269 # context => '#pop#pop'
270 # type => 'RegExpr'
271 4 ▶ if ($self->testRegExpr($text, '\\S*(?=\\*/)', 0, 0, 0, undef, 0, '#pop#pop', 'JavadocParam')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\S*(?=\\*/)", 0, 0, 0, undef, 0, "#pop#pop", "JavadocParam")) 0 4 4
272 0 return 1
273 }
274 # String => '\S*(\s|$)'
275 # attribute => 'JavadocParam'
276 # context => '#pop'
277 # type => 'RegExpr'
278 4 ▶ if ($self->testRegExpr($text, '\\S*(\\s|$)', 0, 0, 0, undef, 0, '#pop', 'JavadocParam')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\S*(\\s|\$)", 0, 0, 0, undef, 0, "#pop", "JavadocParam")) 4 0 4
279 4 return 1
280 }
281 0 return 0;
282 };
283  
284 184 ▶sub parseJavadocar {
Subroutine parseJavadocar: called CC=41 SCAR=52.4
Pod undocumented
285 184 my ($self, $text) = @_;
286 # attribute => 'JavadocFS'
287 # char => '*'
288 # char1 => '/'
289 # context => '#pop#pop'
290 # endRegion => 'Javadoc'
291 # type => 'Detect2Chars'
292 184 ▶ if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop#pop', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop", "JavadocFS")) 8 176 184
293 8 return 1
294 }
295 # String => '\*+(?!/)'
296 # attribute => 'JavadocFS'
297 # context => '#stay'
298 # firstNonSpace => 'true'
299 # type => 'RegExpr'
300 176 ▶ if ($self->testRegExpr($text, '\\*+(?!/)', 0, 0, 0, undef, 1, '#stay', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\*+(?!/)", 0, 0, 0, undef, 1, "#stay", "JavadocFS")) 8 168 176
301 8 return 1
302 }
303 # String => '@author '
304 # attribute => 'BlockTag'
305 # context => '#stay'
306 # type => 'StringDetect'
307 168 ▶ if ($self->testStringDetect($text, '@author ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@author ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 168 168
308 0 return 1
309 }
310 # String => '@deprecated '
311 # attribute => 'BlockTag'
312 # context => '#stay'
313 # type => 'StringDetect'
314 168 ▶ if ($self->testStringDetect($text, '@deprecated ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@deprecated ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 168 168
315 0 return 1
316 }
317 # String => '@exception '
318 # attribute => 'BlockTag'
319 # context => 'JavadocParam'
320 # type => 'StringDetect'
321 168 ▶ if ($self->testStringDetect($text, '@exception ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@exception ", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag")) 0 168 168
322 0 return 1
323 }
324 # String => '@param '
325 # attribute => 'BlockTag'
326 # context => 'JavadocParam'
327 # type => 'StringDetect'
328 168 ▶ if ($self->testStringDetect($text, '@param ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@param ", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag")) 4 164 168
329 4 return 1
330 }
331 # String => '@return '
332 # attribute => 'BlockTag'
333 # context => '#stay'
334 # type => 'StringDetect'
335 164 ▶ if ($self->testStringDetect($text, '@return ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@return ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
336 0 return 1
337 }
338 # String => '@see '
339 # attribute => 'BlockTag'
340 # context => 'SeeTag'
341 # type => 'StringDetect'
342 164 ▶ if ($self->testStringDetect($text, '@see ', 0, 0, 0, undef, 0, 'SeeTag', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@see ", 0, 0, 0, undef, 0, "SeeTag", "BlockTag")) 0 164 164
343 0 return 1
344 }
345 # String => '@serial '
346 # attribute => 'BlockTag'
347 # context => '#stay'
348 # type => 'StringDetect'
349 164 ▶ if ($self->testStringDetect($text, '@serial ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@serial ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
350 0 return 1
351 }
352 # String => '@serialData '
353 # attribute => 'BlockTag'
354 # context => '#stay'
355 # type => 'StringDetect'
356 164 ▶ if ($self->testStringDetect($text, '@serialData ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@serialData ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
357 0 return 1
358 }
359 # String => '@serialField '
360 # attribute => 'BlockTag'
361 # context => '#stay'
362 # type => 'StringDetect'
363 164 ▶ if ($self->testStringDetect($text, '@serialField ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@serialField ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
364 0 return 1
365 }
366 # String => '@since '
367 # attribute => 'BlockTag'
368 # context => '#stay'
369 # type => 'StringDetect'
370 164 ▶ if ($self->testStringDetect($text, '@since ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@since ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
371 0 return 1
372 }
373 # String => '@throws '
374 # attribute => 'BlockTag'
375 # context => 'JavadocParam'
376 # type => 'StringDetect'
377 164 ▶ if ($self->testStringDetect($text, '@throws ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@throws ", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag")) 0 164 164
378 0 return 1
379 }
380 # String => '@version '
381 # attribute => 'BlockTag'
382 # context => '#stay'
383 # type => 'StringDetect'
384 164 ▶ if ($self->testStringDetect($text, '@version ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@version ", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
385 0 return 1
386 }
387 # String => '@author '
388 # attribute => 'BlockTag'
389 # context => '#stay'
390 # type => 'StringDetect'
391 164 ▶ if ($self->testStringDetect($text, '@author ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@author\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
392 0 return 1
393 }
394 # String => '@deprecated '
395 # attribute => 'BlockTag'
396 # context => '#stay'
397 # type => 'StringDetect'
398 164 ▶ if ($self->testStringDetect($text, '@deprecated ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@deprecated\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
399 0 return 1
400 }
401 # String => '@exception '
402 # attribute => 'BlockTag'
403 # context => 'JavadocParam'
404 # type => 'StringDetect'
405 164 ▶ if ($self->testStringDetect($text, '@exception ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@exception\t", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag")) 0 164 164
406 0 return 1
407 }
408 # String => '@param '
409 # attribute => 'BlockTag'
410 # context => 'JavadocParam'
411 # type => 'StringDetect'
412 164 ▶ if ($self->testStringDetect($text, '@param ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@param\t", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag")) 0 164 164
413 0 return 1
414 }
415 # String => '@return '
416 # attribute => 'BlockTag'
417 # context => '#stay'
418 # type => 'StringDetect'
419 164 ▶ if ($self->testStringDetect($text, '@return ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@return\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
420 0 return 1
421 }
422 # String => '@see '
423 # attribute => 'BlockTag'
424 # context => 'SeeTag'
425 # type => 'StringDetect'
426 164 ▶ if ($self->testStringDetect($text, '@see ', 0, 0, 0, undef, 0, 'SeeTag', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@see\t", 0, 0, 0, undef, 0, "SeeTag", "BlockTag")) 0 164 164
427 0 return 1
428 }
429 # String => '@serial '
430 # attribute => 'BlockTag'
431 # context => '#stay'
432 # type => 'StringDetect'
433 164 ▶ if ($self->testStringDetect($text, '@serial ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@serial\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
434 0 return 1
435 }
436 # String => '@serialData '
437 # attribute => 'BlockTag'
438 # context => '#stay'
439 # type => 'StringDetect'
440 164 ▶ if ($self->testStringDetect($text, '@serialData ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@serialData\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
441 0 return 1
442 }
443 # String => '@serialField '
444 # attribute => 'BlockTag'
445 # context => '#stay'
446 # type => 'StringDetect'
447 164 ▶ if ($self->testStringDetect($text, '@serialField ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@serialField\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
448 0 return 1
449 }
450 # String => '@since '
451 # attribute => 'BlockTag'
452 # context => '#stay'
453 # type => 'StringDetect'
454 164 ▶ if ($self->testStringDetect($text, '@since ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@since\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
455 0 return 1
456 }
457 # String => '@throws '
458 # attribute => 'BlockTag'
459 # context => 'JavadocParam'
460 # type => 'StringDetect'
461 164 ▶ if ($self->testStringDetect($text, '@throws ', 0, 0, 0, undef, 0, 'JavadocParam', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@throws\t", 0, 0, 0, undef, 0, "JavadocParam", "BlockTag")) 0 164 164
462 0 return 1
463 }
464 # String => '@version '
465 # attribute => 'BlockTag'
466 # context => '#stay'
467 # type => 'StringDetect'
468 164 ▶ if ($self->testStringDetect($text, '@version ', 0, 0, 0, undef, 0, '#stay', 'BlockTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\@version\t", 0, 0, 0, undef, 0, "#stay", "BlockTag")) 0 164 164
469 0 return 1
470 }
471 # String => '{@code '
472 # attribute => 'InlineTag'
473 # context => 'LiteralTagar'
474 # type => 'StringDetect'
475 164 ▶ if ($self->testStringDetect($text, '{@code ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@code ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 164 164
476 0 return 1
477 }
478 # String => '{@code '
479 # attribute => 'InlineTag'
480 # context => 'LiteralTagar'
481 # type => 'StringDetect'
482 164 ▶ if ($self->testStringDetect($text, '{@code ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@code\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 164 164
483 0 return 1
484 }
485 # String => '{@docRoot}'
486 # attribute => 'InlineTag'
487 # context => '#stay'
488 # type => 'StringDetect'
489 164 ▶ if ($self->testStringDetect($text, '{@docRoot}', 0, 0, 0, undef, 0, '#stay', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@docRoot}", 0, 0, 0, undef, 0, "#stay", "InlineTag")) 0 164 164
490 0 return 1
491 }
492 # String => '{@inheritDoc}'
493 # attribute => 'InlineTag'
494 # context => '#stay'
495 # type => 'StringDetect'
496 164 ▶ if ($self->testStringDetect($text, '{@inheritDoc}', 0, 0, 0, undef, 0, '#stay', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@inheritDoc}", 0, 0, 0, undef, 0, "#stay", "InlineTag")) 0 164 164
497 0 return 1
498 }
499 # String => '{@link '
500 # attribute => 'InlineTag'
501 # context => 'InlineTagar'
502 # type => 'StringDetect'
503 164 ▶ if ($self->testStringDetect($text, '{@link ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@link ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 164 164
504 0 return 1
505 }
506 # String => '{@link '
507 # attribute => 'InlineTag'
508 # context => 'InlineTagar'
509 # type => 'StringDetect'
510 164 ▶ if ($self->testStringDetect($text, '{@link ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@link\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 164 164
511 0 return 1
512 }
513 # String => '{@linkplain '
514 # attribute => 'InlineTag'
515 # context => 'InlineTagar'
516 # type => 'StringDetect'
517 164 ▶ if ($self->testStringDetect($text, '{@linkplain ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@linkplain ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 164 164
518 0 return 1
519 }
520 # String => '{@linkplain '
521 # attribute => 'InlineTag'
522 # context => 'InlineTagar'
523 # type => 'StringDetect'
524 164 ▶ if ($self->testStringDetect($text, '{@linkplain ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@linkplain\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 164 164
525 0 return 1
526 }
527 # String => '{@literal '
528 # attribute => 'InlineTag'
529 # context => 'LiteralTagar'
530 # type => 'StringDetect'
531 164 ▶ if ($self->testStringDetect($text, '{@literal ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@literal ", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 164 164
532 0 return 1
533 }
534 # String => '{@literal '
535 # attribute => 'InlineTag'
536 # context => 'LiteralTagar'
537 # type => 'StringDetect'
538 164 ▶ if ($self->testStringDetect($text, '{@literal ', 0, 0, 0, undef, 0, 'LiteralTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@literal\t", 0, 0, 0, undef, 0, "LiteralTagar", "InlineTag")) 0 164 164
539 0 return 1
540 }
541 # String => '{@value}'
542 # attribute => 'InlineTag'
543 # context => '#stay'
544 # type => 'StringDetect'
545 164 ▶ if ($self->testStringDetect($text, '{@value}', 0, 0, 0, undef, 0, '#stay', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@value}", 0, 0, 0, undef, 0, "#stay", "InlineTag")) 0 164 164
546 0 return 1
547 }
548 # String => '{@value '
549 # attribute => 'InlineTag'
550 # context => 'InlineTagar'
551 # type => 'StringDetect'
552 164 ▶ if ($self->testStringDetect($text, '{@value ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@value ", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 164 164
553 0 return 1
554 }
555 # String => '{@value '
556 # attribute => 'InlineTag'
557 # context => 'InlineTagar'
558 # type => 'StringDetect'
559 164 ▶ if ($self->testStringDetect($text, '{@value ', 0, 0, 0, undef, 0, 'InlineTagar', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "{\@value\t", 0, 0, 0, undef, 0, "InlineTagar", "InlineTag")) 0 164 164
560 0 return 1
561 }
562 # context => '##HTML'
563 # type => 'IncludeRules'
564 164 ▶ if ($self->includePlugin('HTML', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includePlugin("HTML", $text)) 150 14 164
565 150 return 1
566 }
567 14 return 0;
568 };
569  
570 0 ▶sub parseLiteralTagar {
Subroutine parseLiteralTagar: not called CC=3 SCAR=24.8
Pod undocumented
571 0 my ($self, $text) = @_;
572 # attribute => 'InlineTag'
573 # char => '}'
574 # context => '#pop'
575 # type => 'DetectChar'
576 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'InlineTag')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "InlineTag")) 0 0 0
577 0 return 1
578 }
579 # attribute => 'JavadocFS'
580 # char => '*'
581 # char1 => '/'
582 # context => '#pop#pop#pop'
583 # type => 'Detect2Chars'
584 0 ▶ if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop#pop#pop', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop#pop", "JavadocFS")) 0 0 0
585 0 return 1
586 }
587 0 return 0;
588 };
589  
590 0 ▶sub parseSeeTag {
Subroutine parseSeeTag: not called CC=3 SCAR=24.8
Pod undocumented
591 0 my ($self, $text) = @_;
592 # attribute => 'JavadocFS'
593 # char => '*'
594 # char1 => '/'
595 # context => '#pop#pop#pop'
596 # type => 'Detect2Chars'
597 0 ▶ if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop#pop#pop', 'JavadocFS')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop#pop#pop", "JavadocFS")) 0 0 0
598 0 return 1
599 }
600 # context => '##HTML'
601 # type => 'IncludeRules'
602 0 ▶ if ($self->includePlugin('HTML', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includePlugin("HTML", $text)) 0 0 0
603 0 return 1
604 }
605 0 return 0;
606 };
607  
608 2872 ▶sub parseStart {
Subroutine parseStart: called CC=2 SCAR=6.9
Pod undocumented
609 2872 my ($self, $text) = @_;
610 # context => 'FindJavadoc'
611 # type => 'IncludeRules'
612 2872 ▶ if ($self->includeRules('FindJavadoc', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("FindJavadoc", $text)) 8 2864 2872
613 8 return 1
614 }
615 2864 return 0;
616 };
617  
618  
619 1 1;
620  
621 __END__
« Kate/Pascal.pm ↑ Summary Kate/CGiS.pm »