Condition Coverage

blib/lib/Data/Consumer/MySQL2.pm
Criterion Covered Total %
condition 0 13 0.0


and 3 conditions

line !l l&&!r l&&r condition
201 0 0 0 not $opts{'dbh'} and $opts{'connect'}
217 0 0 0 not $opts{'check_sql'} and $opts{'select_sql'}

or 2 conditions

line l !l condition
213 0 0 $opts{'id_field'} ||= 'id'
214 0 0 $opts{'flag_field'} ||= 'process_state'

or 3 conditions

line l !l&&r !l&&!r condition
255 0 0 0 $opts{'update_sql'} ||= do { local $_ = "\n UPDATE \$table\n SET \$flag_field = ?\n WHERE\n \$id_field = ?\n "; s/^\s+//gm; s/\$(\w+)/confess("Option $1 is mandatory") unless $opts{$1};/eg; $_ }