Branch Coverage

blib/lib/SQL/Abstract/Prefetch.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
247 2 3 unless $origopt
265 5 0 keys %opt ? :
273 3 2 unless $queryspec->{'single'}
3 0 unless $queryspec->{'multi'}
3 0 unless %{{} unless $queryspec->{'single'};} or %{{} unless $queryspec->{'multi'};}
276 2 0 keys %opt ? :
288 1 4 if ($limit)
289 0 1 unless &looks_like_number($limit)
292 1 4 if ($offset)
293 0 1 unless &looks_like_number($offset)
294 0 1 unless $limit
302 0 8 unless $order
303 3 5 if (ref $order eq 'ARRAY') { }
1 4 elsif (ref $order eq 'HASH') { }
325 0 14 unless $queryspec->{'keys'}
326 0 14 unless $queryspec->{'fields'}
409 0 14 unless grep defined($_), @$this_ids
414 2 3 if $index2ids[$index] and $this_ids and not grep(($index2ids[$index][$_] ne $this_ids->[$_]), 0 .. $#{$index2ids[$index];})
421 2 10 if ($spec->{'type'} == 0) { }
429 2 2 $_->[1]{'type'} == 0 ? :
432 2 2 $_->[1]{'type'} == 0 ? :
458 0 5 unless my $fk_sth = &$dbhgetter()->foreign_key_info(undef, undef, undef, $dbcatalog, $dbschema, $table, undef)