line |
!l |
l&&!r |
l&&r |
condition |
80
|
14 |
0 |
16 |
$last_last_text eq ']' and $last_text eq ',' |
99
|
224 |
40 |
6 |
$last_type ne 'TK_WORD' and $last_type ne 'TK_OPERATOR' |
116
|
239 |
50 |
26 |
$token_text eq ']' and $current_mode eq '[INDENTED-EXPRESSION]' |
128
|
10 |
157 |
86 |
$last_type ne 'TK_OPERATOR' and $last_type ne 'TK_START_EXPR' |
183
|
987 |
54 |
0 |
$last_type eq 'TK_SEMICOLON' and $current_mode eq 'BLOCK' || $current_mode eq 'DO_BLOCK' |
|
987 |
0 |
6 |
$last_type eq 'TK_SEMICOLON' and is_expression($current_mode) |
205
|
49 |
1035 |
6 |
$last_type ne 'TK_END_BLOCK' and grep {lc $token_text eq $_;} 'else', 'catch', 'finally' |
208
|
347 |
50 |
19 |
$last_type eq 'TK_START_EXPR' || $last_text eq '=' || $last_text eq ',' and $token_text eq 'function' |
218
|
21 |
6 |
307 |
$last_type ne 'TK_START_EXPR' || $token_text ne 'var' and $last_text ne ':' |
220
|
262 |
43 |
2 |
$token_text eq 'if' and $last_word eq 'else' |
|
305 |
2 |
0 |
$token_text eq 'if' and $last_word eq 'else' and $last_text ne '{' |
228
|
59 |
2 |
2 |
grep {$token_text eq $_;} @line_starter and $last_text ne ')' |
260
|
361 |
28 |
52 |
$var_line and $token_text ne ',' |
266
|
363 |
50 |
28 |
$var_line and $token_text eq ',' |
|
413 |
18 |
10 |
$var_line and $token_text eq ',' and is_expression($current_mode) |
270
|
373 |
58 |
10 |
$token_text eq ':' and $in_case |
282
|
257 |
26 |
0 |
$token_text eq '!' || $token_text eq '+' || $token_text eq '-' and $last_text eq 'return' || $last_text eq 'case' |
|
257 |
12 |
6 |
$token_text eq '!' || $token_text eq '+' || $token_text eq '-' and $last_type eq 'TK_START_EXPR' |
383
|
29 |
1157 |
0 |
scalar @output and $output[scalar @output - 1] eq ' ' || $output[scalar @output - 1] eq $indent_string |
409
|
20 |
14 |
953 |
$last_output ne ' ' and $last_output ne "\n" |
|
34 |
78 |
875 |
$last_output ne ' ' and $last_output ne "\n" and $last_output ne $indent_string |
427
|
0 |
0 |
6 |
scalar @output and $output[scalar @output - 1] eq $indent_string |
526
|
30 |
1078 |
10 |
$parser_pos != scalar @input and $c =~ /^[0-9]+[Ee]$/ |
|
1108 |
10 |
0 |
$parser_pos != scalar @input and $c =~ /^[0-9]+[Ee]$/ and $input[$parser_pos] eq '-' || $input[$parser_pos] eq '+' |
536
|
846 |
2 |
256 |
$wanted_newline and $last_type ne 'TK_OPERATOR' |
|
848 |
34 |
222 |
$wanted_newline and $last_type ne 'TK_OPERATOR' and not $if_line_flag |
562
|
14 |
0 |
2 |
$input[$parser_pos] eq '*' && $input[$parser_pos + 1] && $input[$parser_pos + 1] eq '/' |
|
2 |
0 |
14 |
not $input[$parser_pos] eq '*' && $input[$parser_pos + 1] && $input[$parser_pos + 1] eq '/' and $parser_pos < scalar @input |
576
|
0 |
20 |
193 |
$input[$parser_pos] ne "\r" and $input[$parser_pos] ne "\n" |
590
|
497 |
26 |
0 |
$c eq '/' and $last_type eq 'TK_WORD' && $last_text eq 'return' || ($last_type eq 'TK_START_EXPR' || $last_type eq 'TK_START_BLOCK' || $last_type eq 'TK_END_BLOCK' || $last_type eq 'TK_OPERATOR' || $last_type eq 'TK_EOF' || $last_type eq 'TK_SEMICOLON') |
644
|
2 |
18 |
16 |
$parser_pos < scalar @input and grep {$input[$parser_pos] eq $_;} @wordchar |
657
|
1 |
0 |
13 |
$parser_pos < scalar @input and grep {$input[$parser_pos] eq $_;} @digits |
658
|
1 |
6 |
28 |
$parser_pos < scalar @input and $c ne '#' |
|
7 |
6 |
22 |
$parser_pos < scalar @input and $c ne '#' and $c ne '=' |
671
|
468 |
1 |
19 |
$c eq '<' and $parser_pos + 2 < scalar @input |
|
469 |
12 |
7 |
$c eq '<' and $parser_pos + 2 < scalar @input and join('', @input[$parser_pos - 1 .. $parser_pos + 2]) eq '' |
684
|
0 |
430 |
46 |
$parser_pos < scalar @input and grep {$c . $input[$parser_pos] eq $_;} @punct |
line |
l |
!l&&r |
!l&&!r |
condition |
72
|
22 |
2 |
52 |
$last_type eq 'TK_WORD' or $last_text eq ')' |
79
|
16 |
14 |
22 |
$current_mode eq '[EXPRESSION]' or $current_mode eq '[INDENTED-EXPRESSION]' |
99
|
2 |
10 |
290 |
$last_text eq ';' or $last_type eq 'TK_START_BLOCK' |
|
4 |
16 |
270 |
$last_type eq 'TK_END_EXPR' or $last_type eq 'TK_START_EXPR' |
168
|
8 |
2 |
1090 |
$token_text eq 'case' or $token_text eq 'default' |
183
|
48 |
0 |
6 |
$current_mode eq 'BLOCK' || $current_mode eq 'DO_BLOCK' |
205
|
151 |
269 |
664 |
grep {$token_text eq $_;} @line_starter or $prefix eq 'NEWLINE' |
208
|
65 |
4 |
347 |
$last_type eq 'TK_START_EXPR' || $last_text eq '=' || $last_text eq ',' |
|
0 |
0 |
397 |
$last_text eq 'return' or $last_text eq 'throw' |
218
|
284 |
29 |
21 |
$last_type ne 'TK_START_EXPR' || $token_text ne 'var' |
241
|
51 |
14 |
1025 |
$token_text eq 'if' or $token_text eq 'else' |
250
|
6 |
2 |
76 |
$last_type eq 'TK_START_BLOCK' or $last_type eq 'TK_END_BLOCK' |
|
8 |
2 |
74 |
$last_type eq 'TK_START_BLOCK' or $last_type eq 'TK_END_BLOCK' or $last_type eq 'TK_SEMICOLON' |
282
|
4 |
12 |
283 |
$token_text eq '--' or $token_text eq '++' |
|
14 |
12 |
257 |
$token_text eq '!' || $token_text eq '+' || $token_text eq '-' |
|
4 |
4 |
18 |
$last_text eq 'return' || $last_text eq 'case' |
|
10 |
8 |
257 |
$token_text eq '!' || $token_text eq '+' || $token_text eq '-' |
383
|
22 |
183 |
952 |
$output[scalar @output - 1] eq ' ' || $output[scalar @output - 1] eq $indent_string |
397
|
748 |
10 |
176 |
$output[scalar @output - 1] ne "\n" or not $ignore_repeated |
438
|
0 |
16 |
18 |
$mode eq '[EXPRESSION]' || $mode eq '[INDENTED-EXPRESSION]' || $mode eq '(EXPRESSION)' |
474
|
0 |
6 |
452 |
$o eq '(' or $o eq '[' |
|
0 |
6 |
446 |
$o eq ')' or $o eq ']' |
|
6 |
4 |
442 |
$o eq ')' or $o eq ']' or $o eq '}' |
526
|
8 |
2 |
0 |
$input[$parser_pos] eq '-' || $input[$parser_pos] eq '+' |
541
|
250 |
76 |
1715 |
$c eq '(' or $c eq '[' |
544
|
239 |
76 |
1400 |
$c eq ')' or $c eq ']' |
590
|
18 |
44 |
523 |
$c eq q['] or $c eq '"' |
|
0 |
0 |
26 |
$last_type eq 'TK_WORD' && $last_text eq 'return' || ($last_type eq 'TK_START_EXPR' || $last_type eq 'TK_START_BLOCK' || $last_type eq 'TK_END_BLOCK' || $last_type eq 'TK_OPERATOR' || $last_type eq 'TK_EOF' || $last_type eq 'TK_SEMICOLON') |
|
62 |
0 |
523 |
$c eq q['] or $c eq '"' or $c eq '/' and $last_type eq 'TK_WORD' && $last_text eq 'return' || ($last_type eq 'TK_START_EXPR' || $last_type eq 'TK_START_BLOCK' || $last_type eq 'TK_END_BLOCK' || $last_type eq 'TK_OPERATOR' || $last_type eq 'TK_EOF' || $last_type eq 'TK_SEMICOLON') |
602
|
9 |
20 |
90 |
$esc or $in_char_class |
|
29 |
70 |
20 |
$esc or $in_char_class or $input[$parser_pos] ne $sep |
624
|
0 |
86 |
62 |
$esc or $input[$parser_pos] ne $sep |