Branch Coverage

blib/lib/Data/Page.pm
Criterion Covered Total %
branch 39 40 97.5


line true false branch
25 186 1 if (@_)
27 2 183 if not defined $ep or ref $ep or int $ep != $ep
29 1 182 if $ep < 1
37 191 146 if (@_)
39 2 187 if not defined $cp or ref $cp or int $cp != $cp
42 3 184 if $cp < $fp
44 3 181 if $cp > $lp
52 116 1 if (@_)
53 2 113 if not defined $_[0] or ref $_[0] or int $_[0] != $_[0]
63 3 69 if ($self->_total_entries_accessor == 0) { }
82 169 400 if ($pages == int $pages) { }
88 57 512 if $last_page < 1
95 8 343 if ($self->_total_entries_accessor == 0) { }
105 123 120 if ($self->_current_page_accessor == $self->last_page) { }
115 30 41 if ($self->_current_page_accessor > 1) { }
125 30 41 $self->_current_page_accessor < $self->last_page ? :
133 31 41 @$array > $self->last ? :
134 4 68 if $top == 0
142 3 68 if $skipped < 0
150 0 70 if $new_epp < 1