blib/lib/Teng/Plugin/Pager.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 4 | unless my $table = $self->schema->get_table($table_name) |
20 | 0 | 8 | unless exists $opt->{$_} |
26 | 1 | 3 | $opt->{'+columns'} ? : |
39 | 0 | 4 | unless my $sth = $self->dbh->prepare($sql) |
40 | 0 | 4 | unless $sth->execute(@binds) |
52 | 3 | 1 | $rows + 1 == scalar @$ret ? : |
53 | 3 | 1 | if ($has_next) |