| line |
!l |
l&&!r |
l&&r |
condition |
|
263
|
0 |
0 |
0 |
$app->runin and $app->margin < $app->runin |
|
334
|
5 |
0 |
0 |
$app->color eq "auto" and -t STDOUT |
|
345
|
5 |
0 |
5 |
defined $app->cdif and $app->cdif eq "" |
|
382
|
0 |
0 |
0 |
$OLD && $NEW && !$read_stdin && !grep({/^-[cuCU]/u;} @{$app->diffopts;}) |
|
762
|
1 |
5 |
8 |
@o and $o[0] =~ /^ /u |
|
766
|
2 |
4 |
3 |
@n and $n[0] =~ /^ /u |
|
770
|
1 |
5 |
2 |
@o and $o[0] =~ /^\-/u |
|
773
|
2 |
3 |
2 |
@n and $n[0] =~ /^\+/u |
|
776
|
1 |
3 |
4 |
@o and $o[0] =~ s/^!/-/u |
|
777
|
2 |
2 |
3 |
@n and $n[0] =~ s/^!/+/u |
|
820
|
13 |
6 |
12 |
@$o && @$n |
|
825
|
0 |
0 |
46 |
$old =~ s/^(.)//u && $1 |
|
826
|
0 |
0 |
83 |
$new =~ s/^(.)//u && $1 |
|
834
|
67 |
20 |
8 |
$max and $one_side |
|
|
87 |
6 |
2 |
$max and $one_side and ++$count >= $max |
|
|
26 |
0 |
2 |
$max and $one_side and ++$count >= $max and @$o + @$n > 0 |
|
891
|
0 |
0 |
0 |
$old =~ s/^(?|(\-).| (\+)|( ) )//u && $1 |
|
892
|
0 |
0 |
0 |
$new =~ s/^(?|.(\-)|(\+) |( ) )//u && $1 |
|
893
|
0 |
0 |
0 |
$mrg =~ s/^(?|(\+).|.(\+)|( ) )//u && $1 |
|
946
|
190 |
193 |
1 |
defined $_ and length $_ > $max |
|
991
|
129 |
0 |
0 |
$mrg and $mrg ne "" |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
267
|
0 |
0 |
0 |
$app->runin // $app->margin |
|
|
0 |
0 |
0 |
$app->runout // $app->margin |
|
307
|
0 |
10 |
0 |
$colormap{'UMARK'} || $colormap{'OMARK'} |
|
|
0 |
10 |
0 |
$colormap{'OUMARK'} ||= $colormap{'UMARK'} || $colormap{'OMARK'} |
|
308
|
0 |
10 |
0 |
$colormap{'UMARK'} || $colormap{'NMARK'} |
|
|
0 |
10 |
0 |
$colormap{'NUMARK'} ||= $colormap{'UMARK'} || $colormap{'NMARK'} |
|
309
|
0 |
10 |
0 |
$colormap{'ULINE'} || $colormap{'OLINE'} |
|
|
0 |
10 |
0 |
$colormap{'OULINE'} ||= $colormap{'ULINE'} || $colormap{'OLINE'} |
|
310
|
0 |
10 |
0 |
$colormap{'ULINE'} || $colormap{'NLINE'} |
|
|
0 |
10 |
0 |
$colormap{'NULINE'} ||= $colormap{'ULINE'} || $colormap{'NLINE'} |
|
334
|
5 |
0 |
5 |
$app->color eq "always" or $app->color eq "auto" and -t STDOUT |
|
406
|
9 |
1 |
0 |
$app->width || &terminal_width |
|
411
|
147 |
9 |
0 |
$column_width{$screen_width * 1000 + $column} //= do {
use integer;
my $w = $screen_width;
$w -= $column if $app->mark;
&max(1, $w / $column)
} |
|
433
|
0 |
0 |
0 |
{"O", 1, "N", 2, "M", 3}->{$_} // $_ |
|
512
|
0 |
5 |
0 |
$app->debug or $read_stdin |
|
515
|
1 |
3 |
1 |
$ctrl eq "d" or $ctrl eq "c" |
|
522
|
1 |
3 |
1 |
$ctrl eq "a" or $ctrl eq "c" |
|
565
|
0 |
1 |
0 |
@old == 0 or $cline != 0 |
|
|
1 |
0 |
0 |
@old == 0 or $cline != 0 or $oline - $dline != $nline |
|
648
|
0 |
0 |
0 |
pop @old // do {
flush_unknown($c1, @old);
last
} |
|
654
|
0 |
0 |
0 |
pop @new // do {
flush_unknown($c1, @old, $c2, @new);
last
} |
|
662
|
0 |
0 |
0 |
defined $mrg or $app->parallel > 2 |
|
703
|
0 |
0 |
0 |
pop @old // do {
flush_unknown($c1, @old);
last
} |
|
714
|
0 |
0 |
0 |
pop @new // do {
flush_unknown($c1, @old, $c2, $c3, @new);
last
} |
|
758
|
6 |
0 |
1 |
@o or @n |
|
822
|
46 |
49 |
29 |
@$o or @$n |
|
909
|
0 |
0 |
0 |
defined $old or defined $new |
|
991
|
0 |
6 |
129 |
$old ne "" or $new ne "" |
|
|
6 |
0 |
129 |
$old ne "" or $new ne "" or $mrg and $mrg ne "" |