Condition Coverage

blib/lib/Pinwheel/Database/Base.pm
Criterion Covered Total %
condition 20 23 86.9


and 3 conditions

line !l l&&!r l&&r condition
30 7 1 6 $$self{'dbh'} && $$self{'dbh'}->ping
69 1 28 0 $$self{'dbh'} and $$self{'dbh_checked'}
102 2 194 0 $$self{'dbh'} and $$self{'dbh_checked'}
181 5 15 4 $j > 0 and $$columns[$j] eq 'id'

or 2 conditions

line l !l condition
29 12 2 $$self{'connect_time'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
145 1 1 3 not $tables or scalar @$tables == 0
161 1 1 2 not $tables or scalar @$tables == 0
181 5 0 24 $j == @$columns or $j > 0 and $$columns[$j] eq 'id'