Branch Coverage

blib/lib/HTML/Split/Pager.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
15 0 1 unless $param{'html'}
16 0 1 unless $param{'length'}
17 0 1 unless $param{'length'} =~ /^\d+$/
37 2 4 if (defined $page and $page > 0)
39 1 1 $page - 1 > 0 ? :
40 1 1 $page + 1 <= $self->total_pages ? :
48 0 2 wantarray ? :