line |
true |
false |
branch |
148
|
0 |
46 |
if ($self->testRegExpr($text, '\\|\\s*$', 0, 0, 0, undef, 0, '#stay', 'Directive')) |
157
|
0 |
46 |
if ($self->testDetect2Chars($text, '%', '{', 0, 0, 0, undef, 0, 'Lex Rule C Bloc', 'Content-Type Delimiter')) |
170
|
10 |
462 |
if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'Normal C Bloc', 'Normal Text')) |
177
|
2 |
460 |
if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#stay', 'Alert')) |
182
|
244 |
216 |
if ($self->includePlugin('C++', $text)) |
195
|
5 |
144 |
if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment')) |
205
|
4 |
0 |
if ($self->includeRules('RegExpr Base', $text)) |
212
|
0 |
0 |
if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'RegExpr')) |
219
|
0 |
0 |
if ($self->testRegExpr($text, '.*', 0, 0, 0, undef, 0, '#stay', 'Alert')) |
229
|
4 |
71 |
if ($self->includeRules('Detect C', $text)) |
239
|
2 |
69 |
if ($self->testDetect2Chars($text, '%', '%', 0, 0, 0, undef, 0, 'Rules', 'Content-Type Delimiter')) |
246
|
6 |
63 |
if ($self->testDetectChar($text, '%', 0, 0, 0, undef, 0, 'Percent Command', 'Directive')) |
255
|
5 |
58 |
if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, 0, 0, 'Comment', 'Comment')) |
263
|
4 |
54 |
if ($self->testRegExpr($text, '[A-Za-z_]\\w*\\s+', 0, 0, 0, 0, 0, 'Definition RegExpr', 'Definition')) |
275
|
6 |
79 |
if ($self->testRegExpr($text, '^\\s', 0, 0, 0, undef, 0, 'Indented C', 'Normal Text')) |
285
|
2 |
77 |
if ($self->testDetect2Chars($text, '%', '{', 0, 0, 0, 0, 0, 'Lex C Bloc', 'Content-Type Delimiter')) |
295
|
6 |
0 |
if ($self->includePlugin('C++', $text)) |
310
|
2 |
16 |
if ($self->testDetect2Chars($text, '%', '}', 0, 0, 0, 0, 0, '#pop', 'Content-Type Delimiter')) |
315
|
12 |
4 |
if ($self->includePlugin('C++', $text)) |
329
|
0 |
0 |
if ($self->testDetect2Chars($text, '%', '}', 0, 0, 0, undef, 0, '#pop', 'Content-Type Delimiter')) |
334
|
0 |
0 |
if ($self->includePlugin('C++', $text)) |
347
|
4 |
432 |
if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'Normal C Bloc', 'Normal Text')) |
355
|
14 |
418 |
if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'Normal Text')) |
360
|
162 |
256 |
if ($self->includePlugin('C++', $text)) |
379
|
2 |
0 |
if ($self->testRegExpr($text, '.', 0, 0, 1, undef, 0, 'Definitions', 'Normal Text')) |
389
|
0 |
0 |
if ($self->includeRules('RegExpr Base', $text)) |
396
|
0 |
0 |
if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'RegExpr')) |
403
|
0 |
0 |
if ($self->testRegExpr($text, '.', 0, 0, 0, undef, 0, '#stay', 'RegExpr')) |
415
|
0 |
30 |
if ($self->testRegExpr($text, '\\\\.', 0, 0, 0, undef, 0, '#stay', 'Backslash Code')) |
422
|
0 |
30 |
if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'RegExpr (', 'RegExpr')) |
429
|
6 |
24 |
if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'RegExpr [', 'RegExpr')) |
436
|
0 |
24 |
if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'RegExpr {', 'RegExpr')) |
443
|
0 |
24 |
if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'RegExpr Q', 'RegExpr')) |
455
|
0 |
0 |
if ($self->testRegExpr($text, '\\\\.', 0, 0, 0, undef, 0, '#stay', 'Backslash Code')) |
462
|
0 |
0 |
if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'RegExpr')) |
469
|
0 |
0 |
if ($self->testRegExpr($text, '.', 0, 0, 0, undef, 0, '#stay', 'RegExpr')) |
481
|
6 |
28 |
if ($self->testRegExpr($text, '\\\\.', 0, 0, 0, undef, 0, '#stay', 'Backslash Code')) |
488
|
6 |
22 |
if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'RegExpr')) |
495
|
22 |
0 |
if ($self->testRegExpr($text, '.', 0, 0, 0, undef, 0, '#stay', 'RegExpr')) |
507
|
0 |
0 |
if ($self->testRegExpr($text, '\\\\.', 0, 0, 0, undef, 0, '#stay', 'Backslash Code')) |
514
|
0 |
0 |
if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'RegExpr')) |
521
|
0 |
0 |
if ($self->testRegExpr($text, '.', 0, 0, 0, undef, 0, '#stay', 'RegExpr')) |
534
|
0 |
26 |
if ($self->testRegExpr($text, '\\{$', 0, 0, 0, undef, 0, 'Start Conditions Scope', 'Content-Type Delimiter')) |
539
|
2 |
24 |
if ($self->includeRules('RegExpr Base', $text)) |
546
|
14 |
10 |
if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'RegExpr')) |
553
|
10 |
0 |
if ($self->testRegExpr($text, '\\s+', 0, 0, 0, undef, 0, 'Action', 'Normal Text')) |
563
|
4 |
6 |
if ($self->includeRules('Detect C', $text)) |
573
|
0 |
6 |
if ($self->testDetect2Chars($text, '%', '%', 0, 0, 0, undef, 0, 'User Code', 'Content-Type Delimiter')) |
586
|
0 |
0 |
if ($self->testRegExpr($text, '\\s*\\}', 0, 0, 0, undef, 0, '#pop', 'Content-Type Delimiter')) |
593
|
0 |
0 |
if ($self->testRegExpr($text, '\\s*', 0, 0, 0, undef, 0, 'Rule RegExpr', 'Normal Text')) |
603
|
0 |
0 |
if ($self->includePlugin('C++', $text)) |