Condition Coverage

blib/lib/App/MonM/Checkit/DBI.pm
Criterion Covered Total %
condition 0 24 0.0


and 3 conditions

line !l l&&!r l&&r condition
117 0 0 0 $type and $type eq 'dbi'
161 0 0 0 defined $error && length $error
163 0 0 0 defined $error and length $error

or 2 conditions

line l !l condition
120 0 0 value($self->config, 'dsn') || 'dbi:Sponge:'
122 0 0 value($self->config, 'timeout') || 0
124 0 0 (value($self->config, 'sql') // value($self->config, 'content')) // q[SELECT 'OK' AS OK FROM DUAL]
148 0 0 $DBI::errstr || 'unknown error'
159 0 0 join('', @resa) // ''
164 0 0 $dbh->err || 0

or 3 conditions

line l !l&&r !l&&!r condition
124 0 0 0 value($self->config, 'sql') // value($self->config, 'content')