| lib/App/MtAws/QueueEngine.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 14 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 57 | 0 | 1918 | unless my $task = delete $self->{'tasks'}{$task_id} |
| 66 | 0 | 1918 | unless $next_id > 0 |
| 73 | 0 | 270 | if defined $self->{'tasks'} |
| 77 | 2582 | 1524 | if (@{$self->{'freeworkers'};}) { } |
| 79 | 1918 | 664 | if ($res->{'code'} eq 'MT_J_OK') { } |
| 394 | 270 | elsif ($res->{'code'} eq 'MT_J_WAIT') { } | |
| 270 | 0 | elsif ($res->{'code'} eq 'MT_J_DONE') { } |