Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 0 blessed $arg and $arg->isa('Dancer::Core::DSL')
100 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'}
124 0 0 0 ref $handle_key and ref $handle_key ne ref $def_handle
167 0 0 0 defined $$settings{'username'} and defined $$settings{'password'}
172 0 0 0 defined $$settings{'db_credentials'} and ref $$settings{'db_credentials'} eq 'ARRAY'

or 2 conditions

line l !l condition
80 0 0 $arg || 'default connection'
92 0 0 $handles{$pid_tid}{$handle_key} || {}
158 0 0 $$settings{'host'} || 'localhost'