Branch Coverage

blib/lib/Catmandu/Store/DBI/Iterator.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
26 1 0 if (defined $total and $total < $limit)
46 0 1 if defined $total and $total <= 0
48 1 0 unless (defined $rows and @$rows)
52 0 1 unless my $sth = $dbh->prepare($handler->select_sql($bag, $start, $limit, $where))
56 0 1 unless $sth->execute(@$binds)
59 0 1 if scalar @$rows < $limit
65 1 0 if defined $total
76 0 8 unless my $sth = $dbh->prepare_cached($store->handler->count_sql($bag, $self->start, $self->total, $self->where))
81 0 8 unless $sth->execute(@$binds)
147 0 4 is_string($self->where) ? :
152 0 4 if ($map->{'array'}) { }
4 0 elsif (is_value($arg2)) { }
153 0 0 is_value($arg2) ? :