line |
true |
false |
branch |
42
|
0 |
0 |
unless defined $COLOR and not $COLOR |
44
|
0 |
0 |
if ($help) { } |
|
0 |
0 |
elsif ($version) { } |
|
0 |
0 |
elsif (not @ARGV) { } |
61
|
0 |
0 |
unless my $search = search($query) |
64
|
0 |
0 |
if ($list) { } |
114
|
0 |
0 |
unless ($response->is_success) |
123
|
0 |
0 |
if ($@ or not $result) |
131
|
0 |
0 |
unless my $search = shift() |
133
|
0 |
0 |
$$search{'count'} != 1 ? : |
|
0 |
0 |
@$results != 1 ? : |
140
|
0 |
0 |
if $display_total and $display_total != $$search{'count'} |
164
|
0 |
0 |
if (length $snippet < $start + $len) |
167
|
0 |
0 |
if ($DEBUG) |
178
|
0 |
0 |
if ($$match{'line'}) |
189
|
0 |
0 |
$$file{'truncated'} != 1 ? : |
|
0 |
0 |
if $$file{'truncated'} |
193
|
0 |
0 |
$$result{'truncated'} != 1 ? : |
|
0 |
0 |
if $$result{'truncated'} |
200
|
0 |
0 |
unless my $search = shift() |
216
|
0 |
0 |
if (not $@ and supports_color()) |
225
|
0 |
0 |
ref $_[0] ? : |
231
|
0 |
0 |
unless -t *STDOUT or $COLOR |
233
|
0 |
0 |
if ($App::cpangrep::Config{'osname'} eq 'MSWin32') { } |
235
|
0 |
0 |
unless $@ |
238
|
0 |
0 |
if $ENV{'TERM'} =~ /^(xterm|rxvt|linux|ansi|screen)/ |
239
|
0 |
0 |
if $ENV{'COLORTERM'} |
245
|
0 |
0 |
unless $DEBUG |