| line |
true |
false |
branch |
|
24
|
0 |
7 |
defined $rc ? : |
|
32
|
19 |
18 |
if ($ENV{'DATEGREP_DEFAULT_FORMAT'}) |
|
46
|
1 |
36 |
unless ($rc) |
|
51
|
0 |
36 |
if ($options{'version'}) |
|
56
|
0 |
36 |
if ($options{'help'}) |
|
60
|
0 |
36 |
if ($options{'man'}) |
|
73
|
1 |
35 |
if (exists $config->{'formats'}) |
|
77
|
1 |
35 |
unless (defined $options{'format'}) |
|
81
|
12 |
23 |
if (exists $named_formats{$options{'format'}}) |
|
85
|
1 |
34 |
if ($options{'skip-unparsable'}) |
|
91
|
25 |
10 |
if (defined $options{'start'}) |
|
93
|
2 |
23 |
unless defined $start |
|
96
|
22 |
11 |
if (defined $options{'end'}) |
|
98
|
1 |
21 |
unless defined $end |
|
101
|
1 |
31 |
if (defined $options{'last-minutes'}) |
|
105
|
5 |
27 |
if ($end < $start) |
|
109
|
1 |
31 |
if (defined $options{'debug'} and $options{'debug'} eq 'time') |
|
114
|
2 |
29 |
unless (@ARGV) |
|
120
|
2 |
29 |
if ($options{'byte-offsets'}) |
|
121
|
2 |
0 |
if (@ARGV == 1 and -f $ARGV[0]) |
|
129
|
1 |
1 |
unless (defined $byte_end) |
|
144
|
1 |
26 |
if ($options{'interleave'} and @ARGV > 1) |
|
149
|
1 |
25 |
if ($options{'sort-files'} and @ARGV > 1) |
|
154
|
28 |
0 |
if ($iter) |
|
159
|
3 |
28 |
if $@ |
|
165
|
34 |
1 |
if (not $configfile and $ENV{'HOME'}) |
|
168
|
35 |
1 |
unless (defined $configfile and -e $configfile) |
|
173
|
0 |
1 |
unless (defined $config) |