Condition Coverage

blib/lib/Dancer/Plugin/MongoDB.pm
Criterion Covered Total %
condition 0 24 0.0


and 3 conditions

line !l l&&!r l&&r condition
57 0 0 0 blessed $arg and $arg->isa('Dancer::Core::DSL')
101 0 0 0 $$handle{'dbh'}{'Active'} and $$conn_details{'connection_check_threshold'}
0 0 0 $$handle{'dbh'}{'Active'} and $$conn_details{'connection_check_threshold'} and time - $$handle{'last_connection_check'} < $$conn_details{'connection_check_threshold'}
125 0 0 0 ref $handle_key and ref $handle_key ne ref $def_handle
163 0 0 0 defined $$settings{'username'} and defined $$settings{'password'}
168 0 0 0 defined $$settings{'db_credentials'} and ref $$settings{'db_credentials'} eq 'ARRAY'

or 2 conditions

line l !l condition
81 0 0 $arg || 'default connection'
93 0 0 $handles{$pid_tid}{$handle_key} || {}
154 0 0 $$settings{'host'} || 'localhost'