line |
true |
false |
branch |
52
|
1 |
13 |
unless (defined $self->{'css_pager'}) |
56
|
1 |
12 |
unless (defined $self->{'url_page_cb'}) |
60
|
1 |
2 |
unless ($self->{'flag_paginator'} or $self->{'flag_prev_next'}) |
71
|
1 |
6 |
unless ($pages_hr) |
74
|
1 |
5 |
unless (exists $pages_hr->{'pages_num'}) |
77
|
1 |
4 |
unless (exists $pages_hr->{'actual_page'}) |
80
|
1 |
3 |
if ($pages_hr->{'actual_page'} > $pages_hr->{'pages_num'}) |
88
|
1 |
1 |
if (not $self->{'flag_paginator'} and $self->{'flag_prev_next'} and $pages_hr->{'pages_num'} == 1) |
100
|
1 |
1 |
if ($self->{'flag_paginator'}) |
107
|
0 |
1 |
if ($pages_hr->{'actual_page'} > 4 and $pages_hr->{'pages_num'} > $NUMBER_OF_BOXES) |
120
|
0 |
0 |
if ($pages_hr->{'actual_page'} < $pages_hr->{'pages_num'} - 3) { } |
126
|
0 |
1 |
if ($pages_hr->{'actual_page'} < $pages_hr->{'pages_num'} - 3 and $pages_hr->{'pages_num'} > $NUMBER_OF_BOXES) |
129
|
0 |
0 |
if ($pages_hr->{'actual_page'} > 4) { } |
136
|
1 |
0 |
if ($pages_hr->{'actual_page'} eq $button_num) { } |
152
|
0 |
1 |
if ($pages_hr->{'actual_page'} < $pages_hr->{'pages_num'} - 3 and $pages_hr->{'pages_num'} > $NUMBER_OF_BOXES) |
172
|
1 |
1 |
if ($self->{'flag_prev_next'} and $pages_hr->{'pages_num'} > 1) |
174
|
1 |
0 |
if ($pages_hr->{'pages_num'} > 1) |
175
|
0 |
1 |
if ($pages_hr->{'actual_page'} > 1) |
178
|
1 |
0 |
if ($pages_hr->{'actual_page'} < $pages_hr->{'pages_num'}) |
205
|
0 |
1 |
$prev ? : |
|
1 |
0 |
$next ? : |
301
|
3 |
1 |
defined $self->{'css_colors'}{$css_color} ? : |