blib/lib/Data/Queue/Batch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 14 | 16 | 87.5 |
pod | 11 | 11 | 100.0 |
line | count | pod | subroutine |
---|---|---|---|
2 | 4 | n/a | BEGIN |
3 | 4 | n/a | BEGIN |
4 | 4 | n/a | BEGIN |
9 | 20 | Yes | new |
21 | 95 | Yes | size |
22 | 0 | Yes | available |
23 | 0 | Yes | batch_size |
25 | 51 | Yes | push |
27 | 56 | Yes | enqueue |
40 | 23 | Yes | shift |
42 | 28 | Yes | dequeue |
49 | 4 | Yes | peek |
56 | 20 | Yes | flush |
65 | 1 | Yes | clear |
71 | 55 | n/a | _take |
79 | 20 | n/a | DESTROY |