Condition Coverage

blib/lib/Pye/SQL.pm
Criterion Covered Total %
condition 7 27 25.9


and 3 conditions

line !l l&&!r l&&r condition
140 0 0 1 $opts{'db_type'} and _in($opts{'db_type'}, ('mysql', 'pgsql', 'sqlite'))

or 2 conditions

line l !l condition
146 1 0 $opts{'table'} || 'logs'
218 0 1 $opts ||= {}
219 0 1 $$opts{'skip'} ||= 0
220 0 1 $$opts{'limit'} ||= 10
221 0 1 $$opts{'sort'} ||= 'date DESC'
258 0 0 $$opts{'database'} || 'logs'
0 0 $$opts{'hostname'} || '127.0.0.1'
0 0 $$opts{'port'} || 3306
264 0 0 $$opts{'database'} || 'logs'
0 0 $$opts{'hostname'} || '127.0.0.1'
0 0 $$opts{'port'} || 5432
270 1 0 $$opts{'database'} || 'logs.db'