Condition Coverage

blib/lib/DBIx/Abstract.pm
Criterion Covered Total %
condition 21 72 29.1


and 3 conditions

line !l l&&!r l&&r condition
66 0 2 0 not defined $$config{'user'} and $$config{'password'}
118 2 0 2 ref $config eq 'HASH' and not $$config{'dbh'}
209 0 0 1 not $self->connected and $$self{'connect'}{'data_source'}
234 5 0 1 exists $$self{'DESTRUCTION'} and $$self{'DESTRUCTION'}
260 2 0 2 not $$self{'connect'}{'dbh'} and defined $$self{'dbh'}
267 0 0 1 defined $_ and ref $_
0 1 0 defined $_ and ref $_ and $self ne $_
433 7 246 22 $self->opt('logfile') and $self->opt('loglevel') >= $level
452 0 0 17 $self->opt('logfile') and $self->opt('loglevel') >= $level
632 0 0 0 not ref $fields and $fields
689 0 0 0 not ref $fields and $fields
751 0 0 0 not ref $fields and $fields
1025 0 0 0 $self and $$self{'dbh'}
1037 0 0 0 $self and $$self{'dbh'}

or 2 conditions

line l !l condition
73 0 0 $$config{'driver'} || 'mysql'
80 0 0 $$config{'dbname'} || $$config{'db'} || ''
81 0 0 $$config{'host'} || ''
82 0 0 $$config{'port'} || ''
446 17 0 $level ||= 5
499 27 5 $int ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
30 0 0 0 $$config{'sid'} ||= delete $$config{'dbname'}
64 0 0 2 $$config{'user'} || $$config{'username'}
65 0 0 2 $$config{'password'} || $$config{'pass'}
807 0 1 0 $$fields{'table'} || $$fields{'tables'}
814 1 0 0 $$fields{'fields'} || $$fields{'field'}
1004 0 0 0 $$self{'connect'}{'driver'} eq 'mysql' or $$self{'connect'}{'driver'} eq 'msql'