line |
true |
false |
branch |
68
|
0 |
0 |
if $AUTOLOAD =~ /\bDESTROY$/
|
234
|
0 |
556 |
if (not $rOpts->{'valign-exclusion-list'} and $rOpts->{'valign-inclusion-list'})
|
241
|
3 |
556 |
if ($rOpts->{'valign-exclusion-list'})
|
244
|
1 |
2 |
if ($rOpts->{'valign-inclusion-list'})
|
256
|
0 |
3 |
unless (@vxl)
|
263
|
1 |
2 |
if (defined $valign_control_hash{'*'})
|
269
|
3 |
0 |
if (%valign_control_hash)
|
293
|
0 |
0 |
if ($exact_match)
|
294
|
0 |
0 |
if ($error)
|
426
|
0 |
0 |
if ($diagnostics_object)
|
447
|
0 |
0 |
if ($logger_object)
|
455
|
0 |
0 |
if ($logger_object)
|
463
|
91 |
0 |
if ($logger_object)
|
472
|
0 |
1 |
get_cached_line_type() ? :
|
481
|
262 |
3851 |
ref $indentation ? :
|
633
|
386 |
6990 |
ref $indentation ? :
|
648
|
48 |
7328 |
if $is_hanging_side_comment
|
654
|
632 |
6744 |
if ($is_block_comment) { }
|
663
|
67 |
6677 |
if ($self->[20] > 1)
|
671
|
44 |
7332 |
if ($forget_side_comment)
|
691
|
224 |
7152 |
if ($cached_line_type)
|
693
|
224 |
0 |
if ($rvertical_tightness_flags)
|
695
|
4 |
200 |
if ($cached_seqno and $rvertical_tightness_flags->{'_vt_seqno'} and $rvertical_tightness_flags->{'_vt_seqno'} == $cached_seqno)
|
707
|
4 |
0 |
unless $min_lines
|
708
|
4 |
0 |
unless $max_lines
|
709
|
3 |
1 |
if ($line_count >= $min_lines and $line_count <= $max_lines)
|
720
|
0 |
11 |
if ($cached_line_type == 3 and not $self->group_line_count and $cached_line_opening_flag < 2 and not $is_balanced_line)
|
730
|
0 |
7376 |
if ($level < 0)
|
735
|
15 |
4539 |
if ($level != $group_level or $group_maximum_line_length and $maximum_line_length != $group_maximum_line_length or $is_outdented or $is_block_comment and not $self->[10] or not $is_block_comment || $self->[11] || $self->[9])
|
755
|
186 |
2651 |
ref $indentation ? :
|
762
|
558 |
6818 |
if ($self->[23] eq "COMMENT")
|
763
|
77 |
481 |
if ($is_block_comment and $outdent_long_lines and $leading_space_count == $self->[27]) { }
|
780
|
27 |
7272 |
if ($break_alignment_before and @{$rgroup_lines;})
|
789
|
13 |
7286 |
if ($is_terminal_ternary and @{$rgroup_lines;})
|
803
|
9 |
3 |
if ($rfields->[0] eq "else " and @{$rgroup_lines;} and $is_balanced_line)
|
817
|
4278 |
3021 |
if ($jmax <= 0) { }
|
820
|
337 |
3941 |
if (@{$rgroup_lines;} and not get_recoverable_spaces($rgroup_lines->[0]{'indentation'}))
|
826
|
308 |
29 |
if ($rgroup_lines->[0]{'jmax'} > 1 or $self->[25] > 3)
|
838
|
531 |
24 |
if ($is_block_comment and $outdent_long_lines and not @{$rgroup_lines;})
|
852
|
3703 |
1 |
unless (@{$rgroup_lines;} or get_recoverable_spaces($indentation))
|
881
|
2740 |
325 |
if ($jmax == 0 or $$rtokens[$jmax - 1] ne "#")
|
932
|
988 |
2077 |
if $list_seqno
|
942
|
20 |
3045 |
if (defined $j_terminal_match) { }
|
|
119 |
2926 |
elsif ($level_end < $level or $is_closing_token{substr $rfields->[0], 0, 1}) { }
|
982
|
0 |
38 |
unless $jmax == 1
|
986
|
0 |
38 |
unless $rtokens->[0] eq "#"
|
990
|
0 |
38 |
unless $rfields->[0] =~ /^\s*$/
|
994
|
35 |
3 |
if $maximum_field_index <= $jmax
|
1042
|
930 |
102 |
if ($is_comma_token{$raw_tok})
|
1049
|
26 |
845 |
unless ($is_comma_token{$raw_tok})
|
1077
|
0 |
13 |
unless $old_line
|
1080
|
0 |
13 |
if (%valign_control_hash)
|
1082
|
0 |
0 |
unless defined $align_ok
|
1083
|
0 |
0 |
unless $align_ok
|
1101
|
13 |
1 |
if ($raw_tok eq "?")
|
1105
|
0 |
13 |
if $depth_question ne $group_level
|
1108
|
13 |
0 |
if ($$rfields_old[$j + 1] =~ /^(\?\s*)/) { }
|
1118
|
0 |
13 |
unless defined $jquestion
|
1143
|
13 |
0 |
if ($fields[0] =~ /^(:\s*)(.*)$/) { }
|
1152
|
13 |
0 |
if ($therest) { }
|
1166
|
0 |
13 |
unless $patterns[0] =~ s/^\:/?/
|
1173
|
1 |
12 |
if $jadd
|
1174
|
1 |
12 |
if $jadd
|
1184
|
0 |
0 |
if $jmax <= 0 or $tokens[0] eq "#"
|
1197
|
0 |
0 |
if $jadd
|
1198
|
0 |
0 |
if $jadd
|
1217
|
0 |
0 |
if $jadd
|
1218
|
0 |
0 |
if $jadd
|
1251
|
0 |
9 |
unless $old_line
|
1253
|
0 |
9 |
if $jmax <= 0
|
1255
|
0 |
9 |
if (%valign_control_hash)
|
1257
|
0 |
0 |
unless defined $align_ok
|
1258
|
0 |
0 |
unless $align_ok
|
1265
|
2 |
7 |
unless $rfields_old->[0] =~ /^(?:if|elsif|unless)\s*$/
|
1270
|
7 |
0 |
if ($tok_brace =~ /^\{(\d+)/) { }
|
1283
|
0 |
7 |
if $tok_test ne $tok_paren
|
1289
|
7 |
1 |
if ($tok eq $tok_brace)
|
1294
|
0 |
7 |
unless defined $jbrace
|
1306
|
0 |
7 |
if ($rfields_old->[0] =~ /^case\s*$/) { }
|
1359
|
82 |
1057 |
if ($jmax > $maximum_field_index)
|
1363
|
38 |
1101 |
if ($new_line->{'is_hanging_side_comment'}) { }
|
1373
|
0 |
1101 |
if ($base_line->{'is_hanging_side_comment'}) { }
|
1397
|
0 |
1101 |
if ($ci_prev != $ci_new and $imax_align >= 0 and $ci_new == 0 || $group_line_count > 1) { }
|
|
27 |
1074 |
elsif ($imax_align != $jlimit) { }
|
1416
|
1112 |
27 |
unless (defined $return_value)
|
1420
|
118 |
994 |
if ($maximum_field_index != $jmax) { }
|
|
981 |
13 |
elsif ($self->check_fit($new_line, $base_line) and 1) { }
|
1468
|
0 |
994 |
if ($jmax_old ne $jmax)
|
1488
|
994 |
2441 |
if ($j == 0)
|
1493
|
1059 |
2376 |
if $pad < 0
|
1496
|
13 |
2363 |
if ($pad > $padding_available)
|
1562
|
10 |
0 |
if ($rOpts_indent_columns)
|
1567
|
0 |
10 |
if ($level < 0)
|
1582
|
0 |
531 |
unless @{$rgroup_lines;}
|
1593
|
38 |
570 |
if ($excess > $max_excess)
|
1599
|
36 |
495 |
if ($max_excess > 0)
|
1601
|
36 |
0 |
if ($leading_space_count < 0)
|
1609
|
18 |
18 |
unless ($outdented_line_count)
|
1656
|
3346 |
2236 |
unless @{$rgroup_lines;}
|
1671
|
531 |
1705 |
if ($group_type eq "COMMENT")
|
1693
|
255 |
1450 |
if @{$rgroups;} > 1
|
1696
|
199 |
1506 |
if ($saw_side_comment)
|
1708
|
853 |
852 |
if ($group_level > $self->[12])
|
1711
|
571 |
282 |
if (defined $level_jump) { }
|
1723
|
376 |
1329 |
$extra_indent_ok ? :
|
1752
|
92 |
1613 |
if (ref $object)
|
1778
|
2084 |
981 |
if ($group_line_count == 0) { }
|
1793
|
0 |
1288 |
unless @{$rgroups;}
|
1794
|
0 |
1288 |
if $group_line_count <= 0
|
1802
|
0 |
2103 |
unless @{$rgroups;}
|
1803
|
19 |
2084 |
if $group_line_count <= 0
|
1810
|
256 |
1828 |
if ($jend - $jbeg == 1)
|
1815
|
0 |
256 |
if ($imax_pair > $imax_align)
|
1823
|
59 |
197 |
$jbeg > 0 ? :
|
1828
|
14 |
242 |
if ($is_marginal)
|
1841
|
0 |
1 |
if @{$rgroups;} <= 1
|
1862
|
0 |
1705 |
unless @{$rlines;}
|
1874
|
1777 |
1288 |
unless ($group_line_count)
|
1876
|
22 |
1755 |
if ($new_line->{'end_group'})
|
1884
|
0 |
1288 |
unless (defined $jbeg)
|
1900
|
19 |
1269 |
if (defined $j_terminal_match)
|
1908
|
0 |
19 |
unless defined $col_matching_terminal
|
1931
|
38 |
1250 |
if ($new_line->{'is_hanging_side_comment'}) { }
|
|
194 |
1056 |
elsif ($new_line->{'jmax'} == 1) { }
|
1948
|
149 |
45 |
unless $side_comment and $prev_comment
|
1957
|
1139 |
149 |
if ($group_line_count)
|
1962
|
158 |
981 |
if ($match_code != 2)
|
1968
|
19 |
1269 |
if (defined $j_terminal_match) { }
|
|
50 |
1219 |
elsif ($new_line->{'end_group'}) { }
|
1979
|
3 |
16 |
if ($group_line_count == 1)
|
1981
|
2 |
1 |
unless ($fixit)
|
1982
|
2 |
0 |
if (@{$rgroups;} > 1)
|
1990
|
2 |
17 |
if ($fixit)
|
1996
|
0 |
2 |
unless defined $col_now
|
2001
|
1 |
1 |
if ($col_now and $pad > 0 and $pad <= $padding_available)
|
2007
|
1 |
1 |
unless ($new_line->{'is_terminal_ternary'})
|
2057
|
0 |
18 |
if $imax_min >= @{$rfield_lengths;} or $imax_min >= @{$rfield_lengths_m;}
|
2066
|
10 |
8 |
$lensum >= $lensum_m ? :
|
2070
|
16 |
0 |
if ($line_m->{'list_type'} and $line->{'list_type'})
|
2077
|
2 |
44 |
if ($pat ne $pat_m)
|
2082
|
0 |
18 |
if (not $patterns_match and $lenmax > 2 * $lenmin)
|
2105
|
0 |
255 |
if $ng_max <= 0
|
2162
|
0 |
634 |
unless defined $istop
|
2163
|
0 |
634 |
if $istop > $imax
|
2166
|
255 |
379 |
if $ng == 0
|
2169
|
86 |
293 |
$imax > $imax_m ? :
|
2172
|
51 |
328 |
if ($istop_m < $imax_min)
|
2180
|
73 |
146 |
if ($jend == $jbeg and $jend_m == $jbeg_m and $ng == 1 || $istop_mm < 0 and $ng == $ng_max || $istop < 0 and not $line->{'j_terminal_match'} and $imax != $imax_m || $istop_m != $imax_m)
|
2196
|
52 |
21 |
if $imax_min < 0
|
2198
|
3 |
16 |
unless $rtokens->[0] =~ /^=\d/ or $list_type
|
2206
|
0 |
18 |
unless $pad_max
|
2213
|
78 |
246 |
if ($imax_min >= 0)
|
2217
|
0 |
144 |
if $tok ne $tok_m
|
2222
|
191 |
64 |
unless @icommon
|
2230
|
0 |
123 |
unless $Perl::Tidy::VerticalAligner::a->[0] <=> $Perl::Tidy::VerticalAligner::b->[0]
|
2244
|
29 |
51 |
if (defined $ng_last and $ng_beg == $ng_last and $i == $i_last)
|
2308
|
10 |
108 |
if not defined $ngb or $nge <= $ngb
|
2315
|
77 |
165 |
if ($move > 0) { }
|
|
0 |
165 |
elsif ($move < 0) { }
|
2321
|
0 |
21 |
if defined $rmax_move->{$ng} and $move > $rmax_move->{$ng} and not $is_good_alignment_token{$raw_tok}
|
2349
|
0 |
115 |
if $ng_end <= $ng_beg
|
2382
|
115 |
144 |
unless (defined $col_want)
|
2439
|
31 |
113 |
if ($top_level and $is_good_alignment_token{$raw_tok}) { }
|
2446
|
102 |
8 |
if (defined $is_good_alignment_token{$raw_tok} and $lines_total > 2 || $group_list_type && $jmax < $jmax_m && $top_level)
|
2464
|
66 |
36 |
if ($top_level)
|
2471
|
118 |
26 |
unless ($is_same_group)
|
2483
|
0 |
144 |
if ($is_big_gap)
|
2488
|
0 |
134 |
if ($col_want > $col_max or $col > $col_limit or $is_big_gap or $is_blocked)
|
2495
|
9 |
1 |
unless (defined $blocking_level[$ng])
|
2515
|
42 |
92 |
if ($col > $col_want)
|
2516
|
35 |
99 |
if ($col_max < $col_limit)
|
2520
|
108 |
7 |
if ($ng_end > $ng_first)
|
2541
|
0 |
469 |
unless defined $line_obj and defined $ridel and @{$ridel;}
|
2586
|
743 |
772 |
if (not $delete_me{$j}) { }
|
2593
|
469 |
303 |
unless (defined $jmin_del)
|
2614
|
1 |
468 |
if (defined $j_terminal_match and $jmin_del <= $j_terminal_match)
|
2619
|
76 |
393 |
if ($line_obj->{'list_seqno'})
|
2628
|
49 |
27 |
if ($rtokens_new->[0] =~ /^(=>|,)/)
|
2631
|
44 |
32 |
if (not $old_list_type or $old_list_type ne $new_list_type)
|
2685
|
7923 |
1441 |
if (defined $decoded_token{$tok})
|
2690
|
1135 |
306 |
if ($tok =~ /^(\D+)(\d+)([^\.]*)(\.(\d+))?$/)
|
2693
|
441 |
694 |
if $3
|
2694
|
67 |
1068 |
if $5
|
2738
|
0 |
1705 |
unless @{$rlines;}
|
2741
|
1121 |
584 |
if (@{$rlines;} == 1)
|
2758
|
1 |
583 |
if $jmax < 0
|
2773
|
72 |
1243 |
if ($rnew_lines->[$jl]{'end_group'})
|
2791
|
154 |
429 |
if $max_lev_diff
|
2824
|
3276 |
1898 |
if ($tok ne '#') { }
|
2825
|
1779 |
1497 |
if (not defined $lev_min) { }
|
2830
|
75 |
1422 |
if ($lev < $lev_min)
|
2831
|
260 |
1237 |
if ($lev > $lev_max)
|
2835
|
1709 |
189 |
unless ($saw_side_comment)
|
2847
|
520 |
4654 |
if (not defined $i_eq and $raw_tok eq "=")
|
2849
|
405 |
115 |
if ($lev eq $group_level)
|
2860
|
1779 |
119 |
if (defined $lev_min)
|
2862
|
162 |
1617 |
if ($lev_diff > $max_lev_diff)
|
2878
|
2670 |
484 |
if (defined $rhash_r->{$tok})
|
2883
|
1355 |
1315 |
if ($tok ne "#")
|
2892
|
36 |
1279 |
if ($nr == 0 and $nl > 0)
|
2913
|
199 |
1116 |
if (defined $i_eq_l and defined $i_eq_r)
|
2919
|
12 |
182 |
if ($tok_eq_l eq $tok_eq_r and $i_eq_l == 0 and $i_eq_r == 0 and substr($pat_eq_l, 0, 1) ne substr($pat_eq_r, 0, 1) || $ci_jump)
|
2984
|
301 |
354 |
if ($nlines > 2)
|
2991
|
3065 |
516 |
unless ($seen{$tok})
|
2999
|
562 |
365 |
if ($token_line_count{$tok} == $nlines)
|
3000
|
21 |
541 |
if (substr($tok, 0, 1) eq "?" or substr($tok, 0, 1) eq "{" and $tok =~ /^\{\d+if/)
|
3030
|
0 |
3276 |
if $tok eq "#"
|
3043
|
31 |
3245 |
if (%valign_control_hash)
|
3045
|
18 |
13 |
unless defined $align_ok
|
3056
|
147 |
3129 |
if ($dividing_token)
|
3057
|
120 |
27 |
if ($token_line_count{$tok} >= $nlines) { }
|
3081
|
280 |
2996 |
if (defined $delete_above_level)
|
3082
|
132 |
148 |
if ($lev > $delete_above_level) { }
|
3090
|
41 |
7 |
if ($deleted_assignment_token and $lev > $group_level || !$keep_after_deleted_assignment{$raw_tok})
|
3105
|
18 |
1111 |
if $jj == $jbeg and $has_terminal_match and $nlines == 2
|
3111
|
721 |
2555 |
if ($delete_me and $tok_count == 1)
|
3116
|
262 |
459 |
if ($raw_tok eq ",")
|
3119
|
14 |
248 |
if defined $i_eq and $i < $i_eq
|
3123
|
78 |
184 |
if $lev <= $group_level
|
3127
|
106 |
615 |
if ($is_assignment{$raw_tok} and $lev == $group_level)
|
3134
|
12 |
94 |
if ($imax > 0 and $i == $imax) { }
|
3150
|
661 |
2615 |
if ($delete_me)
|
3154
|
529 |
132 |
if (not defined $delete_above_level or $lev < $delete_above_level)
|
3163
|
53 |
476 |
if ($raw_tok eq "=>")
|
3171
|
413 |
1485 |
if (@idel)
|
3206
|
91 |
564 |
if $nlines <= 1
|
3228
|
564 |
1243 |
if $jj == $jbeg
|
3232
|
82 |
1161 |
$imax_m < $imax ? :
|
3241
|
0 |
1243 |
if ($line->{'is_hanging_side_comment'}) { }
|
|
488 |
755 |
elsif ($list_type and $list_type eq $list_type_m) { }
|
3253
|
0 |
488 |
if ($ci_jump)
|
3259
|
0 |
883 |
if ($tok ne $tok_m)
|
3276
|
19 |
726 |
if ($tok ne $tok_m)
|
3285
|
166 |
560 |
if ($pat_m ne $pat)
|
3291
|
8 |
158 |
if ($match_code)
|
3292
|
7 |
1 |
if ($match_code == 1) { }
|
|
1 |
0 |
elsif ($match_code == 2) { }
|
3313
|
24 |
559 |
if (@{$rlines;} > @{$rnew_lines;})
|
3316
|
39 |
56 |
if ($line->{'is_hanging_side_comment'}) { }
|
3358
|
26 |
140 |
if ($alignment_token eq ',') { }
|
|
4 |
136 |
elsif ($alignment_token eq '(') { }
|
|
16 |
120 |
elsif ($alignment_token eq '=') { }
|
3362
|
3 |
23 |
if (not $tok =~ /[A-Za-z]/) { }
|
3377
|
4 |
0 |
if ($pad != 0) { }
|
3400
|
0 |
16 |
if (substr($pat_m, 0, 1) ne substr($pat, 0, 1)) { }
|
|
1 |
15 |
elsif (index($pat_m, ',') >= 0 ne index($pat, ',') >= 0) { }
|
3425
|
1 |
0 |
if ($lev eq $group_level)
|
3451
|
181 |
584 |
if ($str =~ /^=>([^\.]*)/)
|
3481
|
627 |
1022 |
if $tok eq "#"
|
3482
|
81 |
941 |
if ($i > 0 and $lev < $last_lev)
|
3485
|
78 |
549 |
unless ($is_monotonic)
|
3514
|
142 |
485 |
if ($all_monotonic and $tok_end =~ /^,/)
|
3528
|
627 |
929 |
if $i > $imax
|
3529
|
0 |
929 |
if $tok eq "#"
|
3533
|
0 |
929 |
if $tok eq "#"
|
3536
|
527 |
402 |
if (not defined $lev_min) { }
|
3541
|
51 |
351 |
if ($lev < $lev_min)
|
3542
|
122 |
280 |
if ($lev > $lev_max)
|
3543
|
81 |
321 |
if ($lev < $last_lev)
|
3552
|
100 |
527 |
if (not defined $lev_min) { }
|
|
359 |
168 |
elsif ($lev_max == $lev_min) { }
|
3575
|
168 |
536 |
if $itok > $imax
|
3578
|
0 |
536 |
if $raw_tok eq "#"
|
3580
|
284 |
280 |
if $lev > $lev_test
|
3610
|
0 |
154 |
if $jmax <= 0
|
3675
|
123 |
31 |
if $all_monotonic
|
3727
|
87 |
234 |
if $depth > $MAX_DEPTH
|
3730
|
69 |
6 |
if ($jl >= 0 and defined $match_tree[$depth] and @{$match_tree[$depth];} and defined $levels_current[$depth])
|
3740
|
75 |
159 |
if (defined $match_tree[$depth])
|
3753
|
120 |
114 |
if (not defined $levels_next[$depth] or $depth > 0 and $levels_next[$depth] <= $levels_next[$depth - 1])
|
3791
|
5 |
231 |
if (@{$rlevs;} > $MAX_DEPTH)
|
3797
|
321 |
387 |
defined $item ? :
|
3799
|
321 |
387 |
defined $item ? :
|
3806
|
31 |
205 |
if ($jp == 0) { }
|
|
10 |
195 |
elsif ($rlines->[$jm]{'end_group'}) { }
|
|
0 |
195 |
elsif ($rlines->[$jp]{'is_hanging_side_comment'}) { }
|
3828
|
148 |
4 |
unless $def_current or $def_next
|
3829
|
46 |
207 |
if (not $def_current && $def_next or $token_patterns_current[$depth] ne $token_patterns_next[$depth])
|
3835
|
23 |
23 |
if ($depth > 0 and defined $match_tree[$depth - 1])
|
3856
|
30 |
32 |
unless defined $match_tree[$depth]
|
3861
|
0 |
50 |
unless (defined $np)
|
3867
|
35 |
15 |
if (not defined $np_now or $np != $np_now)
|
3899
|
31 |
0 |
if (defined $match_tree[0])
|
3904
|
31 |
55 |
unless @todo_list
|
3913
|
57 |
35 |
unless defined $nc_beg_p
|
3932
|
21 |
14 |
if ($nmin_mono > $nlines_p - 1)
|
3935
|
31 |
4 |
if ($nmin_non_mono > $nlines_p - 1)
|
3946
|
1 |
49 |
$is_monotonic ? :
|
3947
|
22 |
28 |
if ($nlines_c < $nmin) { }
|
3974
|
83 |
69 |
if ($lev > $level_keep)
|
3978
|
28 |
0 |
if (@idel)
|
3995
|
0 |
0 |
unless defined $val
|
4065
|
121 |
129 |
if (defined $line_1->{'j_terminal_match'} or $line_0->{'list_type'} or $line_1->{'is_hanging_side_comment'})
|
4105
|
140 |
22 |
if ($raw_tok and $lev == $group_level)
|
4106
|
119 |
21 |
unless ($raw_tokb)
|
4119
|
124 |
38 |
if ($j == 0)
|
4124
|
73 |
51 |
if ($raw_tok eq "=" and $lev == $group_level)
|
4128
|
4 |
69 |
if $j0_max_pad < 4
|
4132
|
36 |
126 |
if ($pad < 0)
|
4133
|
89 |
73 |
if ($pad > $max_pad)
|
4134
|
128 |
34 |
if ($is_good_alignment{$raw_tok} and not $line_ending_fat_comma) { }
|
4138
|
31 |
3 |
unless defined $jfirst_bad
|
4140
|
33 |
129 |
if ($rpatterns_0->[$j] ne $rpatterns_1->[$j])
|
4146
|
23 |
10 |
unless defined $jfirst_bad
|
4147
|
33 |
0 |
if $is_marginal == 0
|
4148
|
12 |
21 |
if ($raw_tok eq "=")
|
4163
|
0 |
129 |
if $is_marginal == 0 and $line_ending_fat_comma
|
4176
|
17 |
4 |
if ($is_marginal == 1 and $saw_good_alignment || $max_pad < 3)
|
4186
|
0 |
129 |
if ($jmax_0 < 1 or $jmax_1 < 1) { }
|
4197
|
30 |
83 |
unless ($is_marginal or $sc_term0)
|
4203
|
1 |
29 |
if ($is_assignment{$raw_tokb})
|
4220
|
111 |
18 |
unless ($is_marginal)
|
4251
|
13 |
5 |
if ($is_assignment{$raw_tokb}) { }
|
|
0 |
5 |
elsif ($raw_tokb eq '=>') { }
|
|
0 |
5 |
elsif ($raw_tokb eq '=~') { }
|
4255
|
12 |
1 |
if ($sc_term0)
|
4268
|
0 |
0 |
if ($sc_term1 and $sc_term0)
|
4289
|
4 |
14 |
if ($saw_if_or)
|
4292
|
4 |
0 |
if ($sc_term0 and $sc_term1)
|
4298
|
0 |
14 |
if ($is_marginal and defined $jfirst_bad and $imax_align > $jfirst_bad - 1)
|
4308
|
13 |
5 |
if ($imax_align < 0 and defined $j0_eq_pad)
|
4310
|
0 |
0 |
if ($imax_next >= 0 || $imax_prev >= 0 || 0 and $j0_eq_pad >= -$j0_max_pad and $j0_eq_pad <= $j0_max_pad)
|
4350
|
0 |
0 |
unless ($rpatterns_0->[0] =~ /,/ or $rpatterns_1->[0] =~ /,/)
|
4375
|
0 |
376 |
unless @{$rlines;} and @{$rgroups;}
|
4378
|
318 |
58 |
unless ref $object
|
4381
|
45 |
13 |
unless $extra_indentation_spaces_wanted
|
4384
|
13 |
0 |
if ($min_spaces > 0)
|
4393
|
13 |
31 |
if $j == 0
|
4396
|
1 |
30 |
if ($object != $rlines->[$j]{'indentation'})
|
4403
|
31 |
1 |
$avail > $extra_indentation_spaces_wanted ? :
|
4417
|
0 |
32 |
if ($ngroups > 1 and $spaces < 0)
|
4420
|
13 |
19 |
if ($ng == 0 or $spaces < $extra_leading_spaces)
|
4453
|
10 |
189 |
if $is_hanging_side_comment
|
4464
|
0 |
189 |
unless $num5
|
4482
|
67 |
122 |
if $line_diff > $short_diff or not $self->[11]
|
4491
|
18 |
104 |
if $level < $last_sc_level and $is_closing_block_type{substr $rfields->[0], 0, 1}
|
4495
|
4 |
100 |
if (my $cached_line_type = get_cached_line_type())
|
4508
|
0 |
4 |
if $cached_line_type == 2 or $cached_line_type == 4
|
4552
|
228 |
118 |
if ($line->{'rfield_lengths'}[$jmax])
|
4556
|
199 |
29 |
unless (defined $j_sc_beg)
|
4565
|
0 |
199 |
unless @todo
|
4572
|
4 |
190 |
if $ldiff > 5
|
4576
|
69 |
121 |
unless $sc_len
|
4586
|
114 |
85 |
$keep_it ? :
|
4591
|
24 |
175 |
@todo > 1 ? :
|
4600
|
199 |
24 |
if ($PASS == $MAX_PASS)
|
4615
|
4 |
277 |
if $PASS < $MAX_PASS and $is_hanging_side_comment
|
4626
|
223 |
54 |
unless (defined $column_limit)
|
4630
|
0 |
277 |
if $jmax <= 0
|
4634
|
13 |
264 |
if ($move > $avail)
|
4639
|
3 |
82 |
if ($move >= 0 and $j_sc_beg == 0 and $continuing_sc_flow)
|
4647
|
14 |
263 |
if ($is_hanging_side_comment)
|
4649
|
194 |
83 |
if ($move < $min_move)
|
4654
|
11 |
266 |
if ($move > $avail)
|
4657
|
8 |
269 |
if ($move < 0)
|
4660
|
49 |
228 |
if ($PASS < $MAX_PASS) { }
|
4664
|
23 |
26 |
if ($col > $max_comment_column and $col < $column_limit)
|
4686
|
199 |
2 |
if ($line->{'rfield_lengths'}[$jmax])
|
4693
|
199 |
0 |
if (defined $j_sc_last)
|
4740
|
47 |
3018 |
if ($leading_space_count > $group_leader_length)
|
4748
|
0 |
3065 |
if (@alignments != $maximum_field_index + 1)
|
4767
|
2740 |
325 |
if $j == $maximum_field_index and !defined($rfields->[$j]) || $rfield_lengths->[$j] == 0
|
4776
|
0 |
4542 |
if ($do_not_align)
|
4777
|
0 |
0 |
$j < $maximum_field_index ? :
|
4786
|
9 |
4533 |
if ($self->[7] and $j == $maximum_field_index)
|
4791
|
9 |
0 |
if ($newpad >= 0)
|
4795
|
1321 |
3221 |
if ($pad > 0)
|
4799
|
4531 |
11 |
if ($rfield_lengths->[$j] > 0) { }
|
4840
|
0 |
14 |
unless (defined $imax_align)
|
4845
|
0 |
14 |
unless @idel
|
4857
|
0 |
14 |
if ($imax_align >= 0)
|
4953
|
1 |
1816 |
if ($cached_line_type)
|
4994
|
158 |
0 |
if ($rvertical_tightness_flags)
|
5001
|
91 |
67 |
if (not $cached_line_valid) { }
|
|
30 |
37 |
elsif ($cached_line_type == 1 or $cached_line_type == 3) { }
|
5019
|
14 |
16 |
if ($cached_line_opening_flag == 1)
|
5020
|
0 |
14 |
if (defined $open_or_close and $open_or_close == 1)
|
5033
|
0 |
18 |
if ($gap >= 0 and $maximum_line_length != $cached_line_maximum_length || defined $level_end && $level > $level_end)
|
5043
|
0 |
0 |
if ($test_line_length > $cached_line_maximum_length - 2)
|
5048
|
18 |
12 |
if ($gap >= 0 and defined $seqno_beg) { }
|
5077
|
33 |
4 |
if ($seqno_beg and $open_or_close == $cached_line_type || $cached_line_type == 2 && $open_or_close == 4 || !$open_or_close && $cached_line_type == 2 and $test_line_length <= $cached_line_maximum_length) { }
|
5131
|
4 |
29 |
if ($str =~ /^\);/ and $cached_line_text =~ /^[\)\}\]\s]*$/)
|
5157
|
3 |
1 |
if ($diff > 0 and length $seqno_string and length $last_nonblank_seqno_string == length $seqno_string)
|
5165
|
3 |
0 |
if (@seqno_now and @seqno_last and $seqno_now[-1] == $seqno_last[0] and $seqno_now[0] == $seqno_last[-1])
|
5175
|
3 |
0 |
if (length $ws == $diff and $ws =~ /^\s+$/)
|
5249
|
276 |
7100 |
if ($outdent_long_lines)
|
5255
|
10 |
266 |
if ($excess > 0)
|
5263
|
3 |
7 |
unless ($outdented_line_count)
|
5276
|
4358 |
3018 |
$leading_space_count > 0 ? :
|
5306
|
1308 |
6068 |
if ($rvertical_tightness_flags)
|
5325
|
158 |
7218 |
if (length $cached_line_text)
|
5355
|
159 |
7217 |
if ($open_or_close)
|
5356
|
0 |
159 |
if ($open_or_close == 3 and not $line =~ /\{\s*$/ or $open_or_close == 4 and not $line =~ /\}\s*$/)
|
5366
|
7217 |
159 |
if (not $open_or_close or $side_comment_length > 0 or $is_outdented_line or not $line_length) { }
|
5421
|
2 |
1817 |
if (@valign_buffer)
|
5437
|
2 |
1 |
if ($valign_buffer_filling and $diff)
|
5443
|
7 |
0 |
if (length $ws == $diff and $ws =~ /^\s+$/)
|
5446
|
7 |
0 |
if ($leading_space_count >= $diff)
|
5477
|
2 |
7323 |
if $seqno_string and $valign_buffer_filling
|
5481
|
7 |
7318 |
if ($valign_buffer_filling) { }
|
5489
|
394 |
6931 |
if ($seqno_string)
|
5496
|
8 |
33 |
if (index($seqno_string, ":") >= 0 and $seqno_string =~ /^\d+(\:+\d+)+$/ and not $args_to_D[0] =~ /^[\}\)\]\:\?]/)
|
5551
|
4320 |
3005 |
if ($leading_space_count > 0)
|
5559
|
4275 |
45 |
if (not $rOpts_tabs || $rOpts_entab_leading_whitespace or $rOpts_indent_columns <= 0) { }
|
|
45 |
0 |
elsif ($rOpts_entab_leading_whitespace) { }
|
5572
|
45 |
0 |
if ($line =~ /^(\s+)(.*)$/)
|
5574
|
0 |
45 |
if ($spaces > $leading_space_count)
|
5584
|
45 |
0 |
if ($line =~ /^\s{$leading_space_count,$leading_space_count}/) { }
|
5605
|
0 |
0 |
if ($space_count < 0) { }
|
5608
|
0 |
0 |
unless ($line =~ /^\s*#/)
|
5619
|
0 |
0 |
if ($line =~ /^\s{$leading_space_count,$leading_space_count}/) { }
|
5647
|
21 |
539 |
if ($outdented_line_count > 0)
|
5654
|
7 |
14 |
if ($outdented_line_count > 1)
|