Branch Coverage

blib/lib/SQL/Abstract/Prefetch.pm
Criterion Covered Total %
branch 34 46 73.9


line true false branch
234 2 3 unless $origopt
252 5 0 keys %opt ? :
260 3 2 unless $queryspec->{'single'}
3 0 unless $queryspec->{'multi'}
3 0 unless %{{} unless $queryspec->{'single'};} or %{{} unless $queryspec->{'multi'};}
263 2 0 keys %opt ? :
275 1 4 if ($limit)
276 0 1 unless &looks_like_number($limit)
279 1 4 if ($offset)
280 0 1 unless &looks_like_number($offset)
281 0 1 unless $limit
289 0 8 unless $order
290 3 5 if (ref $order eq 'ARRAY') { }
1 4 elsif (ref $order eq 'HASH') { }
312 0 14 unless $queryspec->{'keys'}
313 0 14 unless $queryspec->{'fields'}
396 0 14 unless grep defined($_), @$this_ids
397 2 12 unless _new_obj($index2ids[$index], $this_ids)
419 2 10 if ($spec->{'type'} == 0) { }
428 2 2 $subspec->{'type'} == 0 ? :
430 2 2 $subspec->{'type'} == 0 ? :
439 9 5 unless $a1 and $a2
458 0 5 unless my $fk_sth = &$dbhgetter()->foreign_key_info(undef, undef, undef, $dbcatalog, $dbschema, $table, undef)