Condition Coverage

blib/lib/Class/DBI/Plugin/Pager.pm
Criterion Covered Total %
condition 0 60 0.0


and 3 conditions

line !l l&&!r l&&r condition
225 0 0 0 @_ and not $_[0] =~ /^\d+$/
226 0 0 0 @_ and $_[0] =~ /^\d+$/
227 0 0 0 @_ and $_[0] =~ /^\d+$/
232 0 0 0 $abstract_attr and not $order_by

or 2 conditions

line l !l condition
237 0 0 $per_page || 10
242 0 0 $page || 1
344 0 0 $self->order_by || [$cdbi->primary_columns]
410 0 0 $self->page || 1
531 0 0 $syntax ||= 'LimitOffset'
605 0 0 $supported{$driver} || 'LimitOffset'

or 3 conditions

line l !l&&r !l&&!r condition
216 0 0 0 $where || $abstract_attr || $order_by || $per_page || $page || $syntax
234 0 0 0 $per_page ||= $self->per_page
235 0 0 0 $page ||= $self->page
255 0 0 0 $where ||= $self->_where
276 0 0 0 $order_by ||= $self->_order_by
299 0 0 0 $cdbi->find_column($candidate) || &List::Util::first(sub { $_->accessor eq $candidate; } , $cdbi->columns) || $cdbi->_croak("'${candidate}' is not a column of $cdbi")
346 0 0 0 $self->_syntax || $self->set_syntax
383 0 0 0 ref $_[0] || $_[0] =~ /^\d+$/
405 0 0 0 $self->where || croak('must set a query before retrieving results')
406 0 0 0 $self->per_page || croak('no. of entries per page not specified')
530 0 0 0 $syntax ||= $proto->can('make_limit')
543 0 0 0 $format_class->can('make_limit') || croak("no make_limit method in $format_class")