Condition Coverage

blib/lib/Class/DBI/Plugin/Pager.pm
Criterion Covered Total %
condition 23 43 53.4


and 3 conditions

line !l l&&!r l&&r condition
205 0 6 1 $_[0] and $_[0] =~ /^\d+$/
206 0 0 7 $_[0] and $_[0] =~ /^\d+$/
207 0 0 7 $_[0] and $_[0] =~ /^\d+$/
223 9 2 1 $abstract_attr and not $order_by
314 2 13 0 ref $where eq 'HASH' and $$where{'1'}

or 2 conditions

line l !l condition
250 15 0 $self->order_by || [$cdbi->primary_columns]
310 15 0 $self->where || {}
323 15 0 $self->page || 1
400 19 0 $syntax ||= 'LimitOffset'
478 10 0 $supported{$driver} || 'LimitOffset'

or 3 conditions

line l !l&&r !l&&!r condition
198 7 0 5 ref $_[0] or $_[0] =~ /^\d+$/
252 14 1 0 $self->_syntax || $self->set_syntax
299 1 0 0 ref $_[0] || $_[0] =~ /^\d+$/
320 15 0 0 $self->per_page || croak('no. of entries per page not specified')
399 18 1 0 $syntax ||= $proto->can('make_limit')
412 18 0 0 $format_class->can('make_limit') || croak("no make_limit method in $format_class")