Branch Coverage

blib/lib/Data/Page.pm
Criterion Covered Total %
branch 33 34 97.0


line true false branch
25 182 1 if (@_)
26 1 181 if $_[0] < 1
34 187 146 if (@_)
37 4 183 if $cp < $fp
39 3 180 if $cp > $lp
47 112 1 if (@_)
56 3 69 if ($self->_total_entries_accessor == 0) { }
75 168 400 if ($pages == int $pages) { }
81 56 512 if $last_page < 1
88 8 343 if ($self->_total_entries_accessor == 0) { }
98 123 120 if ($self->_current_page_accessor == $self->last_page) { }
108 30 41 if ($self->_current_page_accessor > 1) { }
118 30 41 $self->_current_page_accessor < $self->last_page ? :
126 31 41 @$array > $self->last ? :
127 4 68 if $top == 0
135 3 68 if $skipped < 0
143 0 70 if $new_epp < 1