Condition Coverage

blib/lib/DBIx/Perlish.pm
Criterion Covered Total %
condition 57 97 58.7


and 3 conditions

line !l l&&!r l&&r condition
46 0 27 0 $pkg and $pkg->can("except")
54 25 0 2 $p{'prefix'} and $p{'prefix'} =~ /^[a-zA-Z_]\w*$/u
56 0 0 2 $p{'dbh'} and ref $p{'dbh'}
0 0 2 $p{'dbh'} and ref $p{'dbh'} and ref $p{'dbh'} eq 'SCALAR' || ref $p{'dbh'} eq 'REF'
121 4 0 0 $p{'quirks'} and ref $p{'quirks'} eq "ARRAY"
168 3 0 0 $flavor eq "pg" and $dbh->{'FetchHashKeyName'}
319 0 0 0 ref $self and $self->isa("DBIx::Perlish")
359 26 53 4 1 == @{$S->{'returns'};} and $S->{'returns'}[0] =~ /^(.*)\.\*/u
79 2 2 1 == @{$S->{'returns'};} and $S->{'returns'}[0] =~ /^(.*)\.\*/u and $S->{'returns_dont_care'}{$1}
391 2 1 12 $operation eq "select" and $S->{'returns'}
392 0 9 3 $args{'flavor'} and $args{'flavor'} eq "oracle"
408 21 3 1 $seentab{$tab1} and $seentab{$tab2}
436 278 1 4 $S->{'autogroup_needed'} and not $S->{'no_autogroup'}
279 1 3 $S->{'autogroup_needed'} and not $S->{'no_autogroup'} and not @group_by
2 1 2 $S->{'autogroup_needed'} and not $S->{'no_autogroup'} and not @group_by and @{$S->{'autogroup_by'};}
441 258 24 1 $operation eq "update" and not @sets
449 257 6 19 $dangerous and not @where
263 17 2 $dangerous and not @where and not $S->{'seen_exec'}
453 0 268 12 $args{'flavor'} && $args{'flavor'} eq 'oracle'
474 268 12 0 $use_rownum and $S->{'limit'} || $S->{'offset'}

or 2 conditions

line l !l condition
71 0 25 delete $p{'prefix'} // "db"
72 2 23 delete $p{'dbh'} // "\$dbh"
207 0 0 $flags{'key_fields'} // []
209 0 0 $dbh->selectall_hashref($me->{'sql'}, $kf, {}, @{$$me{'bind_values'};}) || {}
241 0 0 $dbh->selectall_arrayref($me->{'sql'}, {'Slice', {}}, @{$$me{'bind_values'};}) || []
244 3 0 $dbh->selectcol_arrayref($me->{'sql'}, {}, @{$$me{'bind_values'};}) || []
332 19 327 $args{'inline'} //= 1
477 1 1 $S->{'offset'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
56 1 1 0 ref $p{'dbh'} eq 'SCALAR' || ref $p{'dbh'} eq 'REF'
155 0 3 0 tied %$real_dbh || $real_dbh
178 3 0 0 $me->{'quirks'} || $non_object_quirks
260 0 0 0 $me->{'quirks'} || $non_object_quirks
275 0 0 0 $me->{'quirks'} || $non_object_quirks
310 0 0 0 $sth{$k} ||= $dbh->prepare($sql)
474 2 0 10 $S->{'limit'} || $S->{'offset'}