Condition Coverage

blib/lib/Data/Pager.pm
Criterion Covered Total %
condition 13 17 76.4


and 3 conditions

line !l l&&!r l&&r condition
54 2181 2 9 scalar keys %pager < $links and $current < 5

or 2 conditions

line l !l condition
28 2192 0 shift() || {}
30 2191 1 $$data{'current'} || 1
31 2191 1 $$data{'offset'} || 10
32 0 2192 $$data{'perpage'} || 10
33 2192 0 $$data{'limit'} || 0
86 2189 3 $pager{$pager{'current'}}{'prev'} || undef
87 2192 0 $pager{$pager{'current'}}{'next'} || undef