| blib/lib/Argon/Queue.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 14 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 76 | 1 | 6 | unless defined $msg and (ref $msg || '') eq 'Argon::Message' |
| 82 | 1 | 5 | if $self->is_full |
| 94 | 1 | 4 | if $self->is_empty |
| 99 | 4 | 4 | if (@$queue) |
| 113 | 5 | 4 | unless time - $self->balanced >= $max |
| 119 | 1 | 2 | if ($self->tracker->age($msg) > $max) { } |
| 130 | 1 | 3 | if $moved |