line |
true |
false |
branch |
34
|
0 |
0 |
unless ref $self |
36
|
0 |
0 |
unless $$self{'hostspec'} = delete $opts{'hostspec'} |
37
|
0 |
0 |
if ref $$self{'hostspec'} |
48
|
0 |
0 |
if %opts |
92
|
0 |
0 |
unless $$self{'state'} == \'ready' |
118
|
0 |
0 |
if ($$self{'state'} == \'ready') |
123
|
0 |
0 |
if $on_ready |
124
|
0 |
0 |
if $on_error |
126
|
0 |
0 |
if $$self{'state'} == \'disconnected' |
170
|
0 |
0 |
if $task |
188
|
0 |
0 |
if ($$res{'type'} eq 'job_created') |
190
|
0 |
0 |
unless @{$$self{'need_handle'};} |
191
|
0 |
0 |
unless my $task = shift @{$$self{'need_handle'};} |
196
|
0 |
0 |
if ($task) |
203
|
0 |
0 |
if ($$res{'type'} eq 'work_fail') |
209
|
0 |
0 |
if ($$res{'type'} eq 'work_complete') |
210
|
0 |
0 |
unless ${$$res{'blobref'};} =~ s/^(.+?)\0// |
214
|
0 |
0 |
unless my $task_list = $$self{'waiting'}{$shandle} |
217
|
0 |
0 |
unless my $task = shift @$task_list |
222
|
0 |
0 |
unless (@$task_list) |
232
|
0 |
0 |
if ($$res{'type'} eq 'work_status') |
235
|
0 |
0 |
unless my $task_list = $$self{'waiting'}{$shandle} |
254
|
0 |
0 |
unless my $shandle = $$self{'task2handle'}{"$task"} |
255
|
0 |
0 |
unless my $task_list = $$self{'waiting'}{$shandle} |
257
|
0 |
0 |
unless (@$task_list) |
269
|
0 |
0 |
unless my $task_list = $$self{'waiting'}{$shandle} |
272
|
0 |
0 |
unless my $task = shift @$task_list |
276
|
0 |
0 |
unless (@$task_list) |
288
|
0 |
0 |
unless $$heap{'connected'} |
295
|
0 |
0 |
if ($$self{'state'} == \'connecting') |
317
|
0 |
0 |
if ($was_connecting and $$self{'t_offline'}) |
323
|
0 |
0 |
if $was_connecting |
330
|
0 |
0 |
unless (defined $input) |
331
|
0 |
0 |
if $self->stuff_outstanding |
365
|
0 |
0 |
unless $$self{'_conn'} |
372
|
0 |
0 |
unless $$self{'_conn'} |