Condition Coverage

blib/lib/SQL/Maker/Select.pm
Criterion Covered Total %
condition 29 49 59.1


and 3 conditions

line !l l&&!r l&&r condition
87 171 0 6 &Scalar::Util::blessed($table) and $table->can("as_sql")
101 37 0 7 &Scalar::Util::blessed($table) and $table->can("as_sql")
106 42 0 2 &Scalar::Util::blessed($joins->{'table'}) and $joins->{'table'}->can("as_sql")
159 0 17 30 $alias and $_ =~ /(?:^|\.)\Q$alias\E$/
172 0 230 37 $self->{'joins'} and @{$self->{'joins'};}
183 38 3 3 ref $join->{'condition'} and ref $join->{'condition'} eq "ARRAY"
38 0 3 ref $join->{'condition'} and ref $join->{'condition'} eq "HASH"
201 0 36 231 $self->{'from'} and @{$self->{'from'};}
342 271 0 16 $hint and ref $hint eq "HASH"
343 0 0 16 $hint->{'list'} and @{$hint->{'list'};}

or 2 conditions

line l !l condition
125 8 0 $hint->{'type'} || 'USE'
345 16 0 $hint->{'type'} or "USE"

or 3 conditions

line l !l&&r !l&&!r condition
79 38 0 0 $col ||= $term
284 2 27 0 $self->{'where'} ||= $self->new_condition
292 1 5 0 $self->{'where'} ||= $self->new_condition
320 0 3 0 $self->{'having'} ||= $self->new_condition
328 0 4 0 $self->{'having'} ||= $self->new_condition