Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
174 0 0 0 $type and $type eq 'dbi' || $type eq 'db'
218 0 0 0 defined $error && length $error
220 0 0 0 defined $error and length $error

or 2 conditions

line l !l condition
177 0 0 lvalue($self->config, 'dsn') || 'dbi:Sponge:'
179 0 0 lvalue($self->config, 'timeout') || 0
181 0 0 (lvalue($self->config, "sql") // lvalue($self->config, "content")) // "SELECT 'OK' AS OK FROM DUAL"
205 0 0 $DBI::errstr || 'unknown error'
216 0 0 join("", @resa) // ""
221 0 0 $dbh->err || 0

or 3 conditions

line l !l&&r !l&&!r condition
174 0 0 0 $type eq 'dbi' || $type eq 'db'
181 0 0 0 lvalue($self->config, "sql") // lvalue($self->config, "content")