line |
true |
false |
branch |
38
|
6 |
699 |
if $$args{'go_cache'} |
44
|
705 |
0 |
unless $ENV{'DBD_GOFER_TRACE'} |
59
|
18 |
5570 |
if ($go_cache = $$self{'go_cache'}) |
63
|
18 |
0 |
if ($request_cache_key) |
65
|
4 |
14 |
if ($frozen_response) |
66
|
0 |
4 |
if $trace |
69
|
0 |
4 |
if $trace |
74
|
0 |
14 |
if $@ |
76
|
0 |
14 |
if $trace |
83
|
0 |
5664 |
if $trace |
84
|
760 |
4904 |
if $to |
88
|
0 |
0 |
$! eq 'Broken pipe' ? : |
91
|
760 |
4904 |
if $to |
94
|
760 |
4904 |
if $to |
96
|
0 |
5664 |
if ($@) |
97
|
0 |
0 |
if $@ eq "TIMEOUT\n" |
107
|
0 |
5584 |
if ($response) |
109
|
0 |
0 |
if $request_cache_key |
113
|
0 |
5584 |
if $trace and $response |
116
|
0 |
5584 |
unless wantarray |
137
|
760 |
4907 |
if $to |
140
|
760 |
4907 |
if $to |
143
|
760 |
4907 |
if $to |
145
|
0 |
5667 |
if ($@) |
146
|
0 |
0 |
if $@ eq "TIMEOUT\n" |
156
|
80 |
5507 |
if ($self->response_needs_retransmit($request, $response)) |
162
|
5584 |
0 |
if ($response) |
165
|
14 |
5570 |
if $request_cache_key and $$self{'go_cache'} |
177
|
204 |
2917 |
if (my $go_retry_hook = $self->go_retry_hook) |
179
|
204 |
0 |
defined $retry ? : |
181
|
204 |
0 |
if defined $retry |
189
|
60 |
2857 |
if $response->executed_flag_set |
191
|
2661 |
196 |
if ($response->errstr || '') =~ /induced by DBI_GOFER_RANDOM/ |
193
|
84 |
112 |
if $request->is_idempotent |
202
|
8053 |
3121 |
unless my $err = $response->err |
207
|
286 |
2835 |
unless ($retry) |
215
|
2720 |
115 |
unless ($retry_limit) |
222
|
32 |
83 |
if ($retry_count >= $retry_limit) |
235
|
0 |
83 |
if (ref $retry eq 'CODE') |
236
|
0 |
0 |
if &$retry($retry_count, $retry_limit) |
261
|
0 |
18 |
unless $request->is_idempotent |
274
|
0 |
14 |
unless my $go_cache = $$self{'go_cache'} |
278
|
0 |
14 |
unless $frozen_response |
279
|
0 |
14 |
unless $request_cache_key |
281
|
14 |
0 |
if ($frozen_response and $request_cache_key) |
284
|
0 |
14 |
if $@ |