| blib/lib/Gearman/Client/Async.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 26 | 26.9 |
| line | true | false | branch |
|---|---|---|---|
| 70 | 1 | 0 | unless ref $self |
| 76 | 1 | 0 | if $js |
| 78 | 0 | 1 | if %opts |
| 90 | 0 | 0 | unless defined $val |
| 93 | 0 | 0 | unless my $conn = first(sub { $_->hostspec eq $host; } , @{$$self{'job_servers'};}) |
| 109 | 0 | 0 | if ($being_set{$spec}) { } |
| 126 | 0 | 0 | if @_ |
| 128 | 0 | 0 | wantarray ? : |
| 140 | 0 | 2 | unless (@job_servers) |
| 147 | 0 | 2 | if (defined(my $hash = $task->hash)) { } |
| 153 | 0 | 2 | $$self{'t_no_random'} ? : |
| 164 | 0 | 2 | if (my $timeout = $$task{'timeout'}) |
| 170 | 0 | 0 | if $timer |