Condition Coverage

blib/lib/DBIx/MoCo/DataBase.pm
Criterion Covered Total %
condition 18 28 64.2


and 2 conditions

line l !l condition
197 0 0 carp(&$sql_error($sth, $sql)) and return

and 3 conditions

line !l l&&!r l&&r condition
30 0 0 11 ref $where eq 'HASH' and %$where
40 0 0 14 ref $where eq 'HASH' and %$where
117 9 0 1 $$args{'offset'} and $$args{'offset'} =~ /^\d+$/o
128 0 22 1 $_[0] and ref $_[0] eq 'HASH'
154 87 328 112 $sql and $sql =~ /^SELECT/io

or 2 conditions

line l !l condition
68 28 21 $$args{'field'} || '*'

or 3 conditions

line l !l&&r !l&&!r condition
115 1 9 39 $$args{'offset'} or $$args{'limit'}
135 2 1 0 $args{'slave'} || $master
211 217 0 1 $dbh->last_insert_id(undef, undef, undef, undef) || $$dbh{'mysql_insertid'}