Condition Coverage

blib/lib/MooseX/Role/MongoDB.pm
Criterion Covered Total %
condition 0 37 0.0


and 3 conditions

line !l l&&!r l&&r condition
179 0 0 0 $mc && eval { do { $mc->VERSION(v0.998.0) } }
182 0 0 0 not $is_alpha and $mc
0 0 0 not $is_alpha and $mc and not $mc->connected
249 0 0 0 defined $port and length $port

or 2 conditions

line l !l condition
220 0 0 $1 // ''
0 0 $2 // ''
0 0 $3 // ''
0 0 $4 // ''
0 0 $5 // ''

or 3 conditions

line l !l&&r !l&&!r condition
85 0 0 0 $$options{'db_name'} //= $self->_mongo_default_database
122 0 0 0 $database //= $self->_mongo_default_database
125 0 0 0 $self->_mongo_database_cache->{$database} //= $self->_mongo_client->get_database($database)
147 0 0 0 $self->_mongo_collection_cache->{$database}{$collection} //= $self->_mongo_database($database)->get_collection($collection)
258 0 0 0 length $$parsed{'db_name'} or length $$parsed{'options'}