Condition Coverage

lib/Data/Scroller.pm
Criterion Covered Total %
condition 11 25 44.0


and 3 conditions

line !l l&&!r l&&r condition
74 1 0 0 $start == $set_end and $set_end < $max_display
0 1 0 $start == $set_start and $set_start >= $page_increment
148 0 0 0 $start > $inc and $set_end < $start + $inc - 1
185 2 0 0 defined $max_display and length $max_display
191 1 1 0 defined $selected and $selected =~ /\d+/

or 2 conditions

line l !l condition
182 2 2 $args{'max_value'} || die('max_value is required')
183 1 1 $args{'increment'} || 10

or 3 conditions

line l !l&&r !l&&!r condition
189 0 2 0 $args{'name'} || $self->PAGING_NAME
195 0 2 0 $args{'page_increment'} || $increment