Condition Coverage

blib/lib/SQL/QueryBuilder/OO.pm
Criterion Covered Total %
condition 0 85 0.0


and 3 conditions

line !l l&&!r l&&r condition
346 0 0 0 defined $params{'-dbh'} and defined $params{'-connect'}
490 0 0 0 1 == scalar @_ and 'HASH' eq ref $_[0]
530 0 0 0 $pos < length $sql and -1 != ($pos = index($sql, $sqlQuery::PARAMETER_PLACEHOLDER, $pos))
549 0 0 0 $pos < length $sql and -1 != ($pos = index($sql, ':', $pos))
575 0 0 0 ref $$self{'-params'} and @{$$self{'-params'};}
587 0 0 0 'ARRAY' eq ref $$self{'-params'} and @{$$self{'-params'};}
665 0 0 0 blessed $arg and $arg->isa('sqlParameter')
766 0 0 0 @_ and 'ARRAY' eq ref $_[-1]
894 0 0 0 ref $$self{'prev'} and $$self{'prev'}->isa($prevClass)
993 0 0 0 blessed $field and $field->isa('sqlParameter')
1005 0 0 0 '*' ne $field and 0 == ~index($field, ' ')
1075 0 0 0 1 == @_ and not defined $_[0]
0 0 0 2 == @_ and not defined $_[0]
0 0 0 2 == @_ and not defined $_[0] and not defined $_[1]
1162 0 0 0 ref $condition and $condition->isa('sqlCondition')
1184 0 0 0 defined $$self{'havingCond'} && defined($s = $$self{'havingCond'}->assemble)
1242 0 0 0 ref $condition and $condition->isa('sqlCondition')
1264 0 0 0 $$self{'whereCond'} and defined($c = $$self{'whereCond'}->assemble)
1377 0 0 0 ref $$self{'_argument'} and $$self{'_argument'}->isa('sqlCondition')
1398 0 0 0 ref $$self{'_condition'} and $$self{'_condition'}->isa('sqlCondition')
1442 0 0 0 1 == scalar @_ and not defined $_[0]
0 0 0 1 == scalar @_ and not defined $_[0] and defined $$self{'_alterForNull'}

or 2 conditions

line l !l condition
713 0 0 shift() || '0'
849 0 0 $_[1] || 8

or 3 conditions

line l !l&&r !l&&!r condition
415 0 0 0 not defined $sql or ref $sql
0 0 0 not defined $sql or ref $sql or looks_like_number $sql
641 0 0 0 ref $table or ".$table" =~ /^(?:\.[a-z_][a-z\d_]*){1,2}$/i
1075 0 0 0 not @_ or 1 == @_ and not defined $_[0]
0 0 0 not @_ or 1 == @_ and not defined $_[0] or 2 == @_ and not defined $_[0] and not defined $_[1]