line |
true |
false |
branch |
26
|
0 |
12 |
unless (defined $filename) |
30
|
0 |
12 |
unless (-e $filename) |
34
|
0 |
12 |
if (-d $filename) |
38
|
0 |
12 |
unless (-r $filename) |
42
|
0 |
12 |
unless tie @lines, 'Tie::File', $filename |
59
|
8 |
4 |
if ($start) |
61
|
0 |
8 |
unless $s |
65
|
8 |
4 |
if ($end) |
67
|
0 |
8 |
unless $s |
70
|
0 |
8 |
unless @inclusions or @exclusions or $start or $end |
78
|
3 |
7 |
if ($opt->context or $opt->before or $opt->after) |
80
|
2 |
3 |
if $opt->before and $opt->before > $before |
82
|
1 |
4 |
if $opt->after and $opt->after > $after |
92
|
0 |
0 |
if ($@) |
98
|
24 |
0 |
unless $orig |
103
|
0 |
0 |
if (my $e = $@) |
123
|
0 |
16 |
unless ($rx) |
127
|
0 |
16 |
if $quote |
128
|
2 |
14 |
$insensitive ? : |
129
|
0 |
16 |
if ($@) |
141
|
55 |
94 |
if (shift()) =~ /$date/ |
144
|
0 |
12 |
unless @$lines |
147
|
1 |
11 |
if $blank |
151
|
55 |
94 |
if $t |
152
|
94 |
0 |
if $quiet |
154
|
0 |
0 |
if ($warn) |
166
|
4 |
51 |
if ($abuf) { } |
|
24 |
27 |
elsif ($before) { } |
174
|
16 |
8 |
if @bbuf > $before |
179
|
1 |
7 |
if $blank and $previous and $previous + 1 < $lineno |
186
|
8 |
4 |
if ($time_filter) |
191
|
8 |
32 |
if $t1 |
193
|
0 |
8 |
unless $t1 |
196
|
8 |
16 |
if $t2 |
198
|
0 |
8 |
unless $start |
199
|
0 |
8 |
unless $end |
200
|
0 |
8 |
unless $end >= $t1 |
201
|
0 |
8 |
unless $start <= $t2 |
204
|
4 |
8 |
if ($before) |
206
|
4 |
0 |
if $i < 0 |
210
|
81 |
8 |
if ($time_filter) |
212
|
46 |
35 |
unless ($t) |
216
|
7 |
28 |
if ($t > $end) |
217
|
1 |
6 |
if ($abuf--) { } |
225
|
5 |
23 |
if ($t < $start) |
232
|
3 |
1 |
if ($line =~ /$_/) |
237
|
30 |
1 |
if ($good) |
239
|
3 |
1 |
if ($line =~ /$_/) |
245
|
27 |
4 |
if ($good) { } |
248
|
11 |
16 |
if $before |
260
|
3 |
5 |
if $start <= $t1 |
266
|
5 |
4 |
if $i == $$s[0] |
269
|
0 |
4 |
if ($rev) { } |
271
|
0 |
0 |
if ($revcount > 1) |
272
|
0 |
0 |
if $i |
282
|
0 |
4 |
unless ($t) |
283
|
0 |
0 |
$rev ? : |
284
|
0 |
0 |
unless $i |
285
|
0 |
0 |
if $i > $lim |
289
|
0 |
4 |
if $t == $start |
290
|
3 |
1 |
if ($t < $start) { } |
296
|
0 |
4 |
if ($$s[0] == $$e[0]) |
297
|
0 |
0 |
if $i |
308
|
0 |
9 |
unless $delta |