line |
true |
false |
branch |
140
|
3 |
57 |
unless defined $$conf{'total_entries'} and defined $$conf{'entries_per_page'} |
144
|
3 |
54 |
unless defined $$conf{'current_page'} |
145
|
12 |
45 |
unless defined $$conf{'pages_per_set'} |
146
|
15 |
42 |
if (defined $$conf{'mode'} and $$conf{'mode'} eq 'slide') { } |
177
|
56 |
609 |
if (@_) |
188
|
3 |
662 |
if $self->_current_page_accessor < $self->first_page |
190
|
9 |
653 |
if $self->_current_page_accessor > $self->last_page |
213
|
56 |
115 |
unless exists $$self{'PAGE_SET_PAGES_PER_SET'} |
217
|
114 |
57 |
unless $max_pages_per_set |
221
|
3 |
54 |
if (not $max_pages_per_set > 1) { } |
224
|
2 |
1 |
if $self->current_page != 1 |
227
|
1 |
2 |
if $self->current_page < $self->last_page |
230
|
39 |
15 |
if ($$self{'mode'} eq 'fixed') { } |
234
|
6 |
33 |
if ($end_page < $self->last_page) |
238
|
3 |
36 |
if ($starting_page > 1) |
246
|
30 |
9 |
if $self->last_page < $end_page |
253
|
5 |
10 |
if ($max_pages_per_set >= $self->last_page) { } |
264
|
9 |
1 |
if ($max_pages_per_set % 2 != 0) |
272
|
0 |
10 |
if $starting_page < 1 |
274
|
3 |
7 |
if $self->last_page < $end_page |
277
|
0 |
10 |
if ($self->current_page <= $middle) { } |
|
4 |
6 |
elsif ($self->current_page > $self->last_page - $middle - $offset) { } |
301
|
1 |
5 |
if $$self{'PAGE_SET_PREVIOUS'} < 1 |
322
|
13 |
37 |
if defined $$self{'PAGE_SET_PREVIOUS'} |
337
|
10 |
40 |
if defined $$self{'PAGE_SET_NEXT'} |
367
|
39 |
0 |
if ($max_page_links_per_page > 0) |
370
|
2 |
37 |
if ($current_page % $max_page_links_per_page == 0) |