Condition Coverage

blib/lib/CGI/Pager.pm
Criterion Covered Total %
condition 4 17 23.5


and 3 conditions

line !l l&&!r l&&r condition
51 3 0 1 $offset == 0 and $$self{'hide_zero_offset'}
222 0 0 0 $format =~ /^(first|prev)$/ and $self->is_at_start
0 0 0 $format =~ /^(last|next)$/ and $self->is_at_end

or 2 conditions

line l !l condition
36 2 1 $$self{'URI'}->query_param($$self{'offset_param'}) || 0

or 3 conditions

line l !l&&r !l&&!r condition
111 0 0 0 $$self{'total_count'} % $$self{'page_len'} || $$self{'page_len'}
222 0 0 0 $format =~ /^(first|prev)$/ and $self->is_at_start or $format =~ /^(last|next)$/ and $self->is_at_end