| line |
true |
false |
branch |
|
504
|
76 |
116 |
if ($self->testRegExpr($text, "\\s*", 0, 0, 0, undef, 0, "#stay", "Normal Text")) |
|
511
|
2 |
114 |
if ($self->testRegExpr($text, "//(?=;)", 0, 0, 0, undef, 0, "#pop", "Regular Expression")) |
|
519
|
0 |
114 |
if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Comment", "Comment")) |
|
527
|
2 |
112 |
if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Multi/inline Comment", "Comment")) |
|
534
|
34 |
78 |
if ($self->testDetectChar($text, "/", 0, 0, 0, undef, 0, "(regex caret first check)", "Regular Expression")) |
|
546
|
2 |
2 |
if ($self->testDetectChar($text, "^", 0, 0, 0, undef, 0, "Regular Expression Character Class", "Pattern Internal Operator")) |
|
558
|
4 |
30 |
if ($self->testDetectChar($text, "^", 0, 0, 0, undef, 0, "Regular Expression", "Pattern Internal Operator")) |
|
567
|
246 |
334 |
if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef)) |
|
572
|
4 |
330 |
if ($self->includePlugin("Alerts", $text)) |
|
576
|
202 |
128 |
if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef)) |
|
586
|
4 |
2788 |
if ($self->includePlugin("Alerts", $text)) |
|
595
|
18 |
2770 |
if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment")) |
|
604
|
212 |
574 |
if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef)) |
|
612
|
0 |
574 |
if ($self->testStringDetect($text, "//BEGIN", 0, 0, 0, undef, 0, "region_marker", "Region Marker")) |
|
620
|
0 |
574 |
if ($self->testRegExpr($text, "//END", 0, 0, 0, undef, 0, "region_marker", "Region Marker")) |
|
627
|
60 |
514 |
if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword")) |
|
634
|
2 |
512 |
if ($self->testKeyword($text, "functions", 0, undef, 0, "#stay", "Function")) |
|
641
|
8 |
504 |
if ($self->testKeyword($text, "objects", 0, undef, 0, "#stay", "Objects")) |
|
648
|
6 |
498 |
if ($self->testKeyword($text, "math", 0, undef, 0, "#stay", "Math")) |
|
655
|
0 |
498 |
if ($self->testKeyword($text, "events", 0, undef, 0, "#stay", "Events")) |
|
662
|
10 |
488 |
if ($self->testKeyword($text, "methods", 0, undef, 0, "#stay", "Data Type")) |
|
666
|
68 |
420 |
if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef)) |
|
672
|
12 |
408 |
if ($self->testFloat($text, 0, undef, 0, "#stay", "Float")) |
|
678
|
0 |
408 |
if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal")) |
|
685
|
16 |
392 |
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String")) |
|
692
|
2 |
390 |
if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "String 1", "String")) |
|
700
|
34 |
356 |
if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "Comment", "Comment")) |
|
709
|
16 |
340 |
if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "Multi/inline Comment", "Comment")) |
|
716
|
68 |
272 |
if ($self->testRegExpr($text, "[=?:]", 0, 0, 0, undef, 0, "(Internal regex catch)", "Normal Text")) |
|
723
|
46 |
226 |
if ($self->testRegExpr($text, "\\(", 0, 0, 0, undef, 0, "(Internal regex catch)", "Normal Text")) |
|
731
|
16 |
210 |
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Symbol")) |
|
739
|
16 |
194 |
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Symbol")) |
|
746
|
110 |
84 |
if ($self->testAnyChar($text, ":!%&+,-/.*<=>?[]|~^;", 0, 0, undef, 0, "#stay", "Symbol")) |
|
758
|
34 |
230 |
if ($self->testRegExpr($text, "/[ig]{0,2}", 0, 0, 0, undef, 0, "#pop#pop#pop", "Regular Expression")) |
|
765
|
4 |
226 |
if ($self->testRegExpr($text, "\\{[\\d, ]+\\}", 0, 0, 0, undef, 0, "#stay", "Pattern Internal Operator")) |
|
772
|
4 |
222 |
if ($self->testRegExpr($text, "\\\\[bB]", 0, 0, 0, undef, 0, "#stay", "Pattern Internal Operator")) |
|
779
|
20 |
202 |
if ($self->testRegExpr($text, "\\\\[nrtvfDdSsWw]", 0, 0, 0, undef, 0, "#stay", "Pattern Character Class")) |
|
786
|
4 |
198 |
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "(charclass caret first check)", "Pattern Character Class")) |
|
793
|
10 |
188 |
if ($self->testRegExpr($text, "\\\\.", 0, 0, 0, undef, 0, "#stay", "Pattern Internal Operator")) |
|
800
|
6 |
182 |
if ($self->testRegExpr($text, "\\\$(?=/)", 0, 0, 0, undef, 0, "#stay", "Pattern Internal Operator")) |
|
807
|
36 |
146 |
if ($self->testAnyChar($text, "?+*()|", 0, 0, undef, 0, "#stay", "Pattern Internal Operator")) |
|
819
|
0 |
24 |
if ($self->testRegExpr($text, "\\\\[\\[\\]]", 0, 0, 0, undef, 0, "#stay", "Pattern Character Class")) |
|
826
|
4 |
20 |
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop#pop", "Pattern Character Class")) |
|
835
|
16 |
60 |
if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef)) |
|
841
|
4 |
56 |
if ($self->testHlCStringChar($text, 0, undef, 0, "#stay", "String Char")) |
|
848
|
16 |
40 |
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String")) |
|
857
|
2 |
2 |
if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef)) |
|
864
|
0 |
2 |
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String")) |
|
871
|
2 |
0 |
if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "#pop", "String Char")) |
|
880
|
0 |
0 |
if ($self->testDetectIdentifier($text, 0, undef, 0, "#stay", undef)) |
|
884
|
0 |
0 |
if ($self->testDetectSpaces($text, 0, undef, 0, "#stay", undef)) |