Condition Coverage

lib/Coteng.pm
Criterion Covered Total %
condition 37 66 56.0


and 3 conditions

line !l l&&!r l&&r condition
79 17 1 3 $class and $row
96 4 1 3 $class and @$rows
117 17 0 2 ref $where ne 'HASH' and ref $where ne 'ARRAY'
17 2 0 ref $where ne 'HASH' and ref $where ne 'ARRAY' and ref $where ne 'SQL::Maker::Condition'
2 0 0 ref $where ne 'HASH' and ref $where ne 'ARRAY' and ref $where ne 'SQL::Maker::Condition' and ref $where ne 'SQL::QueryMaker'
192 3 0 0 ref $args ne 'HASH' and ref $args ne 'ARRAY'
265 4 13 1 @args == 1 and ref $args[0] eq 'HASH'
301 12 0 0 exists $pack->{'VERSION'} and defined *{$pack->{'VERSION'};}{'SCALAR'}
12 0 0 exists $pack->{'VERSION'} and defined *{$pack->{'VERSION'};}{'SCALAR'} and defined ${$$pack{'VERSION'};}
303 5 0 7 exists $pack->{'ISA'} and defined *{$pack->{'ISA'};}{'ARRAY'}
5 0 7 exists $pack->{'ISA'} and defined *{$pack->{'ISA'};}{'ARRAY'} and @{$pack->{'ISA'};} != 0

or 2 conditions

line l !l condition
78 16 5 $self->dbh->select_row($sql, @$binds) || ''
95 8 0 $self->dbh->select_all($sql, @$binds) || []
139 0 16 $opt->{'columns'} || ['*']
161 0 3 $opt->{'columns'} || ['*']
196 0 3 $opt->{'primary_key'} ||= 'id'
244 1 0 $column ||= '*'

or 3 conditions

line l !l&&r !l&&!r condition
40 6 1 0 $dbname ||= $self->current_dbname
42 7 0 0 $self->{'connect_info'}{$dbname} || Carp::croak("'${dbname}' doesn't exist")
46 5 0 0 $db_info->{'dsn'} || Carp::croak('dsn required')
65 0 7 0 $attr->{'RootClass'} ||= $DBI_CLASS
284 0 0 13 ref $class or not defined $class
0 0 13 ref $class or not defined $class or not length $class
308 0 5 5 ref $entry ne 'GLOB' or defined *{$entry;}{'CODE'}