Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
32 0 0 0 defined $params{'-dbh'} and defined $params{'-connect'}
69 0 0 0 &blessed($rows) and $rows->isa('sqlQueryResult')
180 0 0 0 1 == scalar @_ and 'HASH' eq ref $_[0]
281 0 0 0 ref $self->{'-params'} and @{$self->{'-params'};}
293 0 0 0 'ARRAY' eq ref $self->{'-params'} and @{$self->{'-params'};}
390 0 0 0 &blessed($arg) and $arg->isa('sqlParameter')
492 0 0 0 @_ and 'ARRAY' eq ref $_[-1]
674 0 0 0 ref $self->{'prev'} and $self->{'prev'}->isa($prevClass)
772 0 0 0 &blessed($field) and $field->isa('sqlParameter')
784 0 0 0 '*' ne $field and 0 == ~index($field, ' ')
854 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]
942 0 0 0 ref $condition and $condition->isa('sqlCondition')
964 0 0 0 defined $self->{'havingCond'} && defined($s = $self->{'havingCond'}->assemble)
1023 0 0 0 ref $condition && $condition->isa('sqlCondition')
0 0 0 defined $condition and not ref $condition && $condition->isa('sqlCondition')
1045 0 0 0 $self->{'whereCond'} and defined($c = $self->{'whereCond'}->assemble)
1164 0 0 0 ref $self->{'_argument'} and $self->{'_argument'}->isa('sqlCondition')
1185 0 0 0 ref $self->{'_condition'} and $self->{'_condition'}->isa('sqlCondition')
1216 0 0 0 &blessed($lhs) and $lhs->isa('sqlCondition')
1217 0 0 0 &blessed($rhs) and $rhs->isa('sqlCondition')
1262 0 0 0 1 == scalar @_ and not defined $_[0]
0 0 0 1 == scalar @_ and not defined $_[0] and defined $self->{'_alterForNull'}
1407 0 0 0 &blessed($a) and $a->isa('sqlCondition')

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
103 0 0 0 not defined $sql or ref $sql
0 0 0 not defined $sql or ref $sql or &looks_like_number($sql)
227 0 0 0 $pos >= length $sql or 0 > ($pos = index($sql, $sqlQuery::PARAMETER_PLACEHOLDER, $pos))
252 0 0 0 $pos >= length $sql or 0 > ($pos = index($sql, ':', $pos))
363 0 0 0 ref $table or ".$table" =~ /^(?:[.][[:lower:]_][[:lower:]\d_]*){1,2}$/i
854 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]