Branch Coverage

blib/lib/HTML/Paging/SQL.pm
Criterion Covered Total %
branch 1 54 1.8


line true false branch
20 0 1 if ($ENV{'REQUEST_METHOD'} eq 'POST')
34 0 0 if (ref $_[0] eq 'HASH') { }
40 0 0 unless ($$self{'all'} =~ /^\d+$/)
43 0 0 unless ($$self{'num'} =~ /^\d+$/)
58 0 0 if ($$self{'all'} < $$self{'num'})
63 0 0 if (ref $_[0] eq 'HASH') { }
70 0 0 unless ($$param{'bicon'})
73 0 0 unless ($$param{'ficon'})
76 0 0 if (not $$param{'sub'} =~ /^\d+$/ or $$param{'sub'} >= $$hash{'HP_A'})
80 0 0 if ($$param{'sub'}) { }
83 0 0 if ($current =~ /\d+\.\d+/) { }
97 0 0 if ($$param{'sub'} and $$hash{'HP_C'} > $$param{'sub'})
99 0 0 if $$hash{'HP_P'}
101 0 0 if $$param{'target'}
108 0 0 if ($i > $$hash{'HP_A'})
111 0 0 if ($i == $$hash{'HP_C'}) { }
115 0 0 if $$hash{'HP_P'}
117 0 0 if $$param{'target'}
122 0 0 if ($i == $$hash{'HP_A'})
126 0 0 if ($$param{'sub'} and $current + $$param{'sub'} - 1 < $$hash{'HP_A'})
128 0 0 if $$hash{'HP_P'}
130 0 0 if $$param{'target'}
147 0 0 if ($$hash{'HP_A'} =~ /\d+\.\d+/)
154 0 0 if (not $buffer) { }
170 0 0 if ($$hash{'HP_C'} > $$hash{'HP_A'})
173 0 0 if ($$hash{'HP_C'} < 1)
178 0 0 if $_ eq 'HP_C' or $_ eq ''