lib/Disbatch/Roles.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 8 | 0.0 |
line | true | false | branch |
---|---|---|---|
12 | 0 | 0 | unless ref($self->{'db'} // '') eq 'MongoDB::Database' |
13 | 0 | 0 | unless $self->{'disbatchd'} and $self->{'disbatch_web'} and $self->{'task_runner'} and $self->{'plugin'} |
69 | 0 | 0 | if ($_->$Disbatch::Roles::_isa('MongoDB::DatabaseError') and $_->{'message'} =~ /^No role named $name\@$self->{'db'}{'name'}$/u) { } |
79 | 0 | 0 | if ($_->$Disbatch::Roles::_isa('MongoDB::DatabaseError') and $_->{'message'} =~ /^User '$name\@$self->{'db'}{'name'}' not found$/u) { } |