line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1656
|
use 5.010; |
|
2
|
|
|
|
|
8
|
|
2
|
2
|
|
|
2
|
|
12
|
use strict; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
52
|
|
3
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
135
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package MongoDBx::Queue::Role::_CommonOptions; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.002'; |
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
15
|
use Moose::Role 2; |
|
2
|
|
|
|
|
41
|
|
|
2
|
|
|
|
|
15
|
|
10
|
2
|
|
|
2
|
|
11108
|
use MooseX::Types::Moose qw/:all/; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
51
|
|
11
|
2
|
|
|
2
|
|
17728
|
use MooseX::AttributeShortcuts; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
22
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has database_name => ( |
14
|
|
|
|
|
|
|
is => 'ro', |
15
|
|
|
|
|
|
|
isa => Str, |
16
|
|
|
|
|
|
|
default => 'test', |
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
has client_options => ( |
20
|
|
|
|
|
|
|
is => 'ro', |
21
|
|
|
|
|
|
|
isa => HashRef, |
22
|
|
|
|
|
|
|
default => sub { {} }, |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has collection_name => ( |
26
|
|
|
|
|
|
|
is => 'ro', |
27
|
|
|
|
|
|
|
isa => Str, |
28
|
|
|
|
|
|
|
default => 'queue', |
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |