Condition Coverage

blib/lib/Data/Model/Driver/DBI.pm
Criterion Covered Total %
condition 13 23 56.5


and 3 conditions

line !l l&&!r l&&r condition
46 35 1 0 $dbh and $args{'no_ping'} || $dbh->ping
65 36 890 0 $$dbi_config{'dbh'} and not $$dbi_config{'dbh'}->ping
313 281 0 0 $args{'on_duplicate_key_update'} and $self->dbd->has_support('on_duplicate_key_update')

or 2 conditions

line l !l condition
61 926 0 shift() || 'rw'
112 67 1235 $attr || undef
121 0 456 $$columns{'select'} ||= [$schema->column_names]
122 0 456 $$columns{'from'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
46 0 1 0 $args{'no_ping'} || $dbh->ping
67 890 0 36 $$dbi_config{'dbh'} or $args{'cannot_reconnect'}