line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Queue::Q::ClaimFIFO; |
2
|
5
|
|
|
5
|
|
646
|
use strict; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
130
|
|
3
|
5
|
|
|
5
|
|
25
|
use warnings; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
139
|
|
4
|
|
|
|
|
|
|
|
5
|
5
|
|
|
5
|
|
24
|
use Carp qw(croak); |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
253
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# Note: items are generally Queue::Q::ClaimFIFO::Item's |
8
|
5
|
|
|
5
|
|
2830
|
use Queue::Q::ClaimFIFO::Item; |
|
5
|
|
|
|
|
14
|
|
|
5
|
|
|
|
|
1106
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# enqueue_item($single_item) |
11
|
0
|
|
|
0
|
1
|
|
sub enqueue_item { croak("Unimplemented") } |
12
|
|
|
|
|
|
|
# enqueue_items(@list_of_items) |
13
|
0
|
|
|
0
|
1
|
|
sub enqueue_items { croak("Unimplemented") } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# my $item_or_undef = claim_item() |
16
|
0
|
|
|
0
|
1
|
|
sub claim_item { croak("Unimplemented") } |
17
|
|
|
|
|
|
|
# my (@items_or_undefs) = claim_items($n) |
18
|
0
|
|
|
0
|
1
|
|
sub claim_items { croak("Unimplemented") } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# mark_item_as_done($item_previously_claimed) |
21
|
0
|
|
|
0
|
1
|
|
sub mark_item_as_done { croak("Unimplemented") } |
22
|
|
|
|
|
|
|
# mark_item_as_done(@items_previously_claimed) |
23
|
0
|
|
|
0
|
1
|
|
sub mark_items_as_done { croak("Unimplemented") } |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
0
|
1
|
|
sub flush_queue { croak("Unimplemented") } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# my $nitems = queue_length() |
28
|
0
|
|
|
0
|
1
|
|
sub queue_length { croak("Unimplemented") } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# my $nclaimed_items = claimed_count() |
31
|
0
|
|
|
0
|
0
|
|
sub claimed_count { croak("Unimplemented") } |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
__END__ |