| line |
true |
false |
branch |
|
131
|
4 |
282 |
if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment')) |
|
138
|
2 |
280 |
if ($self->testRegExpr($text, '(FIXME|TODO|NOT(IC)?E):?', 0, 0, 0, undef, 0, '#stay', 'Note')) |
|
150
|
0 |
92 |
if ($self->testRegExpr($text, '(FIXME|TODO|NOT(IC)?E):?', 0, 0, 0, undef, 0, '#stay', 'Note')) |
|
162
|
4 |
434 |
if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword')) |
|
169
|
10 |
424 |
if ($self->testKeyword($text, 'types', 0, undef, 0, '#stay', 'Data Type')) |
|
176
|
0 |
424 |
if ($self->testKeyword($text, 'builtins', 0, undef, 0, '#stay', 'Builtin Function')) |
|
183
|
4 |
420 |
if ($self->testRegExpr($text, '`([\\+\\-\\*/%~&\\|^]|[!=<>]=|<|>>?|(\\[\\]|->)=?)', 0, 0, 0, undef, 0, '#stay', 'Builtin Function')) |
|
189
|
6 |
414 |
if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float')) |
|
196
|
0 |
414 |
if ($self->testRegExpr($text, '0[bB][01]+', 0, 0, 0, undef, 0, '#stay', 'Binary')) |
|
202
|
0 |
414 |
if ($self->testHlCOct($text, 0, undef, 0, '#stay', 'Octal')) |
|
208
|
0 |
414 |
if ($self->testHlCHex($text, 0, undef, 0, '#stay', 'Hex')) |
|
214
|
0 |
414 |
if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal')) |
|
220
|
0 |
414 |
if ($self->testHlCChar($text, 0, undef, 0, '#stay', 'Char')) |
|
228
|
4 |
410 |
if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) |
|
236
|
4 |
406 |
if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) |
|
243
|
24 |
382 |
if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'String', 'String')) |
|
251
|
2 |
380 |
if ($self->testDetect2Chars($text, '/', '/', 0, 0, 0, undef, 0, 'Line Comment', 'Comment')) |
|
259
|
2 |
378 |
if ($self->testDetect2Chars($text, '#', '!', 0, 0, 0, undef, 0, 'Line Comment', 'Comment')) |
|
268
|
2 |
376 |
if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'Block Comment', 'Comment')) |
|
277
|
0 |
376 |
if ($self->testRegExpr($text, '#\\s*if\\s+0', 0, 0, 0, undef, 1, 'Outscoped', 'Preprocessor')) |
|
285
|
2 |
374 |
if ($self->testDetectChar($text, '#', 0, 0, 0, undef, 1, 'Preprocessor', 'Preprocessor')) |
|
297
|
0 |
0 |
if ($self->testRegExpr($text, '(FIXME|TODO|NOT(IC)?E):?', 0, 0, 0, undef, 0, '#stay', 'Note')) |
|
306
|
0 |
0 |
if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'Block Comment', 'Comment')) |
|
315
|
0 |
0 |
if ($self->testRegExpr($text, '#\\s*if', 0, 0, 0, undef, 1, 'Outscoped intern', 'Comment')) |
|
324
|
0 |
0 |
if ($self->testRegExpr($text, '#\\s*(endif|elif|else)', 0, 0, 0, undef, 1, '#pop', 'Preprocessor')) |
|
338
|
0 |
0 |
if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'Block Comment', 'Comment')) |
|
347
|
0 |
0 |
if ($self->testRegExpr($text, '#\\s*if', 0, 0, 0, undef, 1, 'Outscoped intern', 'Comment')) |
|
356
|
0 |
0 |
if ($self->testRegExpr($text, '#\\s*endif', 0, 0, 0, undef, 1, '#pop', 'Comment')) |
|
369
|
2 |
54 |
if ($self->testRangeDetect($text, '"', '"', 0, 0, undef, 0, '#stay', 'Preprocessor Lib')) |
|
377
|
0 |
54 |
if ($self->testRangeDetect($text, '<', '>', 0, 0, undef, 0, '#stay', 'Preprocessor Lib')) |
|
385
|
0 |
54 |
if ($self->testDetect2Chars($text, '/', '/', 0, 0, 0, undef, 0, 'Line Comment', 'Comment')) |
|
393
|
2 |
52 |
if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'Block Comment', 'Comment')) |
|
399
|
0 |
52 |
if ($self->testLineContinue($text, 0, undef, 0, '#stay', 'Preprocessor')) |
|
411
|
0 |
180 |
if ($self->testRegExpr($text, '\\\\d[0-9]+', 0, 0, 0, undef, 0, '#stay', 'String Char')) |
|
417
|
12 |
168 |
if ($self->testHlCStringChar($text, 0, undef, 0, '#stay', 'String Char')) |
|
424
|
24 |
144 |
if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String')) |
|
430
|
0 |
144 |
if ($self->testLineContinue($text, 0, undef, 0, '#stay', 'String')) |