Branch Coverage

lib/Class/DBI/Lite/Dataset.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
19 0 5 unless $args{$_}
23 0 1 unless ($args{'type'} or $args{'data_sql'} and $args{'count_sql'})
42 0 1 unless $dbh
47 0 1 if $s->{'debug'}
50 0 1 if $s->{'debug'}
91 1 0 if ($s->{'count_sql'})
93 0 1 $filters ? :
103 1 0 if ($s->{'data_sql'})
105 0 1 $filters ? :
128 1 0 $s->{'page_number'} == 1 ? :
129 1 0 if $s->{'page_size'}
138 0 1 if (not $page_size or $total <= $page_size) { }