Condition Coverage

blib/lib/DBD/Mock/st.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
134 15 7 0 $dbh->{'mock_last_insert_ids'} and exists $dbh->{'mock_last_insert_ids'}{$1}
263 0 0 3 DBI::looks_like_number($field) and $field >= 1
0 0 3 DBI::looks_like_number($field) and $field >= 1 and $field <= $num_fields

or 2 conditions

line l !l condition
153 3 33 $sth->rows || '0E0'
212 0 9 $name ||= 'NAME'
247 5 0 $sth->{'Database'}->FETCH('FetchHashKeyName') || 'NAME'
438 195 148 $value ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
385 3 45 28 $attrib eq 'mock_num_records' or $attrib eq 'mock_num_rows'