line |
true |
false |
branch |
24
|
0 |
10 |
if (defined $arg_ref and ref $arg_ref ne 'HASH') |
49
|
4 |
8 |
unless $arg_ref |
54
|
1 |
11 |
unless (blessed $pager and $pager->isa('Data::Page')) |
59
|
5 |
6 |
if ($pager->total_entries > $pager->entries_per_page) |
65
|
5 |
15 |
if ($current_page == $page) { } |
71
|
11 |
4 |
if ($page == $first_page or $page == $last_page or abs $page - $current_page <= $$arg_ref{'siblings'} or $last_page <= 2 * $$arg_ref{'siblings'} + 1) { } |
|
2 |
2 |
elsif ($first_page + 1 == $page or $last_page - 1 == $page) { } |
84
|
1 |
1 |
$page < $current_page ? : |
95
|
6 |
4 |
if ($version eq '2') { } |
|
4 |
0 |
elsif ($version eq '3') { } |
107
|
1 |
4 |
$$arg_ref{'right'} ? : |
|
1 |
5 |
$$arg_ref{'centered'} ? : |
110
|
1 |
5 |
defined $$arg_ref{'size'} ? : |
124
|
1 |
2 |
$$arg_ref{'right'} ? : |
|
1 |
3 |
$$arg_ref{'centered'} ? : |
127
|
1 |
3 |
defined $$arg_ref{'size'} ? : |
148
|
2 |
3 |
unless $arg_ref |
153
|
1 |
4 |
unless (blessed $pager and $pager->isa('Data::Page')) |
158
|
2 |
1 |
$$arg_ref{'align'} ? : |
161
|
2 |
1 |
$$arg_ref{'align'} ? : |
176
|
15 |
15 |
if (defined $uri) { } |
185
|
21 |
9 |
if (scalar @item_classes) |
197
|
17 |
19 |
$_ ? : |
207
|
2 |
32 |
if (not defined $uri or $uri eq '') |