Condition Coverage

blib/lib/Sql/Simple.pm
Criterion Covered Total %
condition 24 81 29.6


and 2 conditions

line l !l condition
624 0 0 ref $map eq 'ARRAY' and scalar @{$map;}

and 3 conditions

line !l l&&!r l&&r condition
268 0 0 4 ref $where eq 'ARRAY' and scalar @{$where;} > 1
0 2 2 ref $where eq 'ARRAY' and scalar @{$where;} > 1 and &_clause('', $$where[0], []) ne &_clause('', $$where[1], [])
407 0 0 4 ref $where eq 'ARRAY' and scalar @{$where;} > 1
0 4 0 ref $where eq 'ARRAY' and scalar @{$where;} > 1 and &_clause('', $$where[0], []) ne &_clause('', $$where[1], [])
417 6 2 0 not $singleset and $singlewhere
602 4 2 0 ref $_ and ref $_ ne 'ARRAY'
845 35 0 0 ref $class and ref $$class{'dbh'}
904 0 0 0 ref $class and $$class{'state'}
909 0 0 0 $col and not ref $col
986 0 0 0 ref $class and $$class{'state'}
992 0 0 0 $col and not ref $col
1012 0 0 0 ref $class and ref $$class{'dbh'}
1068 0 0 0 ref $class and ref $$class{'dbh'}
1079 0 0 0 ref $arguments eq 'ARRAY' and scalar @{$arguments;} > 0
1082 0 0 0 defined $$arguments[$a] and $$types{$a} eq 'number'
0 0 0 defined $$arguments[$a] and $$types{$a} eq 'string'
1302 79 0 8 $from and $$from{substr $w, 0, index($w, '.')}
79 0 8 $from and $$from{substr $w, 0, index($w, '.')} and $$from{substr $$where{$w}, 0, index($$where{$w}, '.')}

or 2 conditions

line l !l condition
897 27 8 $where or scalar @{$map;}
1435 0 0 $state || 1

or 3 conditions

line l !l&&r !l&&!r condition
259 6 0 0 $Sql::Simple::RETURNSQL or ref $dbh
389 8 0 0 $Sql::Simple::RETURNSQL or ref $dbh
560 5 0 0 $Sql::Simple::RETURNSQL or ref $dbh
869 35 0 0 $Sql::Simple::RETURNSQL or ref $dbh
0 0 0 $Sql::Simple::RETURNSQL or ref $dbh or $return
899 3 0 3 $return or $Sql::Simple::RETURNSQL
937 6 0 12 $return == 1 or $Sql::Simple::RETURNSQL