Branch Coverage

blib/lib/Data/Page.pm
Criterion Covered Total %
branch 35 36 97.2


line true false branch
24 181 1896 if (@_)
25 1 180 if $entries_per_page < 1
33 184 1050 if (@_)
36 1 1049 unless defined $self->_current_page_accessor
37 1 1048 if $self->_current_page_accessor < $self->first_page
39 1 1047 if $self->_current_page_accessor > $self->last_page
46 111 1977 if (@_)
55 3 68 if ($self->total_entries == 0) { }
74 377 1056 if ($pages == int $pages) { }
80 35 1398 if $last_page < 1
87 8 342 if ($self->total_entries == 0) { }
97 122 120 if ($self->current_page == $self->last_page) { }
107 30 41 if ($self->current_page > 1) { }
117 30 41 $self->current_page < $self->last_page ? :
125 31 41 @$array > $self->last ? :
126 4 68 if $top == 0
134 3 68 if $skipped < 0
142 0 70 if $new_epp < 1