Condition Coverage

blib/lib/HealthCheck/Diagnostic/DBHCheck.pm
Criterion Covered Total %
condition 15 24 62.5


and 3 conditions

line !l l&&!r l&&r condition
20 6 0 0 @params == 1 && (ref $params[0] || '') eq 'HASH'
23 1 4 1 $params{'dbh'} and ref $params{'dbh'} ne 'CODE'
118 0 0 2 $row[0] and $row[0] eq 'Hello world'
142 0 0 3 defined $value && $value == 1
145 2 1 2 $status eq 'OK' and $read_write

or 2 conditions

line l !l condition
46 2 8 ($params{'db_access'} // ref $self && $self->{'db_access'}) || 'rw'
64 0 6 ($params{'db_class'} // ref $self && $self->{'db_class'}) || 'DBI::db'
88 0 2 $params{'table_name'} // '__DBH_CHECK__'

or 3 conditions

line l !l&&r !l&&!r condition
37 0 4 1 $dbh ||= $self->{'dbh'}