Branch Coverage

blib/lib/Data/Pageset/Render.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
46 7 5 if ($self->current_page > 1)
49 8 4 if ($self->previous_set)
50 6 2 if ($self->previous_set < _min(@{$self->pages_in_set;}))
57 12 58 if ($num == $self->current_page) { }
63 10 2 if ($self->next_set)
64 8 2 if ($self->next_set > _max(@{$self->pages_in_set;}))
69 10 2 if ($self->current_page < $self->last_page)
79 0 0 if defined $frmt
86 0 0 if defined $frmt
93 0 3 unless defined $frmt
115 0 32 if $_ < $min
123 40 0 if $_ > $max