Branch Coverage

blib/lib/Apache/Voodoo/Pager.pm
Criterion Covered Total %
branch 5 28 17.8


line true false branch
51 2 2 defined $c{'count'} && $c{'count'} =~ /^\d+$/ ? :
52 2 2 defined $c{'window'} && $c{'window'} =~ /^\d+$/ ? :
53 0 4 defined $c{'limit'} && $c{'limit'} =~ /^\d+$/ ? :
74 0 0 if ($res_count > $count)
81 0 0 if ($res_count < $$self{'limit'} and $showall) { }
87 0 0 if ($res_count < $$self{'limit'})
97 0 0 if ($numpages > 1)
103 0 0 if ($page >= $window)
109 0 0 if ($end > $numpages)
116 0 0 $x + 1 == $page ? :
127 0 0 if ($#{$output{'PAGES'};} >= 0)
133 0 0 if ($end != $numpages)
139 0 0 if ($page > 1)
146 0 0 if ($page * $count < $res_count)