line |
true |
false |
branch |
575
|
0 |
60 |
if ($self->testLineContinue($text, 0, undef, 0, '#stay', undef)) |
579
|
0 |
60 |
if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef)) |
584
|
30 |
30 |
if ($self->includeRules('FindRuleSets', $text)) |
593
|
6 |
138 |
if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef)) |
602
|
8 |
130 |
if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment')) |
607
|
2 |
128 |
if ($self->includePlugin('Alerts', $text)) |
611
|
44 |
84 |
if ($self->testDetectIdentifier($text, 0, undef, 0, '#stay', undef)) |
624
|
0 |
206 |
if ($self->testRegExpr($text, '/\\*BEGIN.*\\*/', 0, 0, 0, undef, 0, '#stay', 'Region Marker')) |
632
|
0 |
206 |
if ($self->testRegExpr($text, '/\\*END.*\\*/', 0, 0, 0, undef, 0, '#stay', 'Region Marker')) |
641
|
8 |
198 |
if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'Comment', 'Comment')) |
653
|
2 |
66 |
if ($self->testRegExpr($text, '@media\\b', 0, 0, 0, undef, 0, 'Media', 'Media')) |
660
|
2 |
64 |
if ($self->testRegExpr($text, '@import\\b', 0, 0, 0, undef, 0, 'Import', 'At Rule')) |
667
|
0 |
64 |
if ($self->testRegExpr($text, '@(font-face|charset)\\b', 0, 0, 0, undef, 0, '#stay', 'At Rule')) |
675
|
10 |
54 |
if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'RuleSet', 'Property')) |
682
|
2 |
52 |
if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'SelAttr', 'Selector Attr')) |
689
|
4 |
48 |
if ($self->testRegExpr($text, '#[A-Za-z0-9][\\w\\-]*', 0, 0, 0, undef, 0, '#stay', 'Selector Id')) |
696
|
4 |
44 |
if ($self->testRegExpr($text, '\\.[A-Za-z0-9][\\w\\-]*', 0, 0, 0, undef, 0, '#stay', 'Selector Class')) |
703
|
2 |
42 |
if ($self->testRegExpr($text, ':lang\\([\\w_-]+\\)', 0, 0, 0, undef, 0, '#stay', 'Selector Pseudo')) |
710
|
4 |
38 |
if ($self->testDetectChar($text, ':', 0, 0, 0, undef, 0, 'SelPseudo', 'Selector Pseudo')) |
715
|
0 |
38 |
if ($self->includeRules('FindStrings', $text)) |
720
|
4 |
34 |
if ($self->includeRules('FindComments', $text)) |
732
|
6 |
96 |
if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'StringDQ', 'String')) |
739
|
0 |
96 |
if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, 'StringSQ', 'String')) |
751
|
16 |
56 |
if ($self->testRegExpr($text, '[-+]?[0-9.]+(em|ex|px|in|cm|mm|pt|pc|deg|rad|grad|ms|s|Hz|kHz)\\b', 0, 0, 0, undef, 0, '#stay', 'Value')) |
758
|
0 |
56 |
if ($self->testRegExpr($text, '[-+]?[0-9.]+[%]?', 0, 0, 0, undef, 0, '#stay', 'Value')) |
765
|
6 |
50 |
if ($self->testRegExpr($text, '[\\w\\-]+', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) |
777
|
2 |
20 |
if ($self->testDetectChar($text, ';', 0, 0, 0, undef, 0, '#pop', 'At Rule')) |
784
|
4 |
16 |
if ($self->testKeyword($text, 'mediatypes', 0, undef, 0, '#stay', 'Media')) |
789
|
2 |
14 |
if ($self->includeRules('FindValues', $text)) |
794
|
2 |
12 |
if ($self->includeRules('FindStrings', $text)) |
799
|
0 |
12 |
if ($self->includeRules('FindComments', $text)) |
811
|
0 |
18 |
if ($self->testRegExpr($text, q(\\\\["']), 0, 0, 0, undef, 0, '#stay', 'String')) |
815
|
12 |
6 |
if ($self->testDetectIdentifier($text, 0, undef, 0, '#stay', undef)) |
828
|
2 |
6 |
if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'Media2', 'Media')) |
835
|
2 |
4 |
if ($self->testKeyword($text, 'mediatypes', 0, undef, 0, '#stay', 'Media')) |
842
|
0 |
4 |
if ($self->testDetectChar($text, ',', 0, 0, 0, undef, 0, '#stay', 'Media')) |
847
|
0 |
4 |
if ($self->includeRules('FindComments', $text)) |
854
|
0 |
4 |
if ($self->testRegExpr($text, '\\S+', 0, 0, 0, undef, 0, '#stay', 'Error')) |
867
|
2 |
8 |
if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop#pop', 'Media')) |
872
|
4 |
4 |
if ($self->includeRules('FindRuleSets', $text)) |
884
|
0 |
0 |
if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'PropParen2', 'Value')) |
889
|
0 |
0 |
if ($self->includeRules('FindComments', $text)) |
896
|
0 |
0 |
if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'Error')) |
908
|
0 |
0 |
if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop#pop', 'Value')) |
913
|
0 |
0 |
if ($self->includeRules('FindValues', $text)) |
918
|
0 |
0 |
if ($self->includeRules('FindStrings', $text)) |
923
|
0 |
0 |
if ($self->includeRules('FindComments', $text)) |
935
|
20 |
0 |
if ($self->testDetectChar($text, ':', 0, 0, 0, undef, 0, 'Rule2', 'Property')) |
942
|
0 |
0 |
if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'Error')) |
954
|
20 |
66 |
if ($self->testDetectChar($text, ';', 0, 0, 0, undef, 0, '#pop#pop', 'Property')) |
962
|
0 |
66 |
if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop#pop#pop', 'Property')) |
969
|
6 |
60 |
if ($self->testKeyword($text, 'types', 0, undef, 0, '#stay', 'Value')) |
976
|
2 |
58 |
if ($self->testKeyword($text, 'colors', 0, undef, 0, '#stay', 'Value')) |
983
|
0 |
58 |
if ($self->testRegExpr($text, '#([0-9A-Fa-f]{3}){1,4}\\b', 0, 0, 0, undef, 0, '#stay', 'Value')) |
990
|
0 |
58 |
if ($self->testKeyword($text, 'paren', 0, undef, 0, 'PropParen', 'Value')) |
997
|
2 |
56 |
if ($self->testRegExpr($text, '!important\\b', 0, 0, 0, undef, 0, '#stay', 'Important')) |
1002
|
20 |
36 |
if ($self->includeRules('FindValues', $text)) |
1007
|
2 |
34 |
if ($self->includeRules('FindStrings', $text)) |
1012
|
0 |
34 |
if ($self->includeRules('FindComments', $text)) |
1025
|
10 |
138 |
if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'Property')) |
1032
|
18 |
120 |
if ($self->testKeyword($text, 'properties', 0, undef, 0, 'Rule', 'Property')) |
1039
|
2 |
118 |
if ($self->testRegExpr($text, '-?[A-Za-z_-]+(?=\\s*:)', 0, 0, 0, undef, 0, 'Rule', 'Unknown Property')) |
1044
|
4 |
114 |
if ($self->includeRules('FindComments', $text)) |
1051
|
66 |
48 |
if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'Error')) |
1063
|
2 |
14 |
if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'Selector Attr')) |
1068
|
2 |
12 |
if ($self->includeRules('FindStrings', $text)) |
1080
|
4 |
0 |
if ($self->testKeyword($text, 'pseudoclasses', 0, undef, 0, '#pop', 'Selector Pseudo')) |
1092
|
6 |
18 |
if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String')) |
1097
|
12 |
6 |
if ($self->includeRules('InsideString', $text)) |
1109
|
0 |
0 |
if ($self->testDetectChar($text, q['], 0, 0, 0, undef, 0, '#pop', 'String')) |
1114
|
0 |
0 |
if ($self->includeRules('InsideString', $text)) |