| line |
true |
false |
branch |
|
28
|
0 |
3 |
if (my $config_param = $mojo->config("TagHelpers-Pagination")) |
|
33
|
6 |
24 |
if defined $param->{$_} |
|
40
|
1 |
5 |
if (defined $param->{$_}) |
|
77
|
4 |
57 |
unless $_[1] |
|
80
|
0 |
57 |
!$_[1] ? : |
|
90
|
20 |
37 |
if ($_[3] and ref $_[3] eq 'HASH') { } |
|
|
12 |
42 |
elsif ($_[2] and ref $_[2] eq 'HASH') { } |
|
98
|
32 |
25 |
if ($overwrite) |
|
100
|
150 |
170 |
if defined $overwrite->{$_} |
|
104
|
31 |
33 |
if (defined $overwrite->{$_}) |
|
112
|
35 |
22 |
if (exists $values{'num_format'} and ref $values{'num_format'} ne 'CODE') { } |
|
124
|
1 |
56 |
if (&blessed($t) and &blessed($t) eq "Mojo::URL") |
|
129
|
0 |
57 |
unless my $sub = sublink_gen($c, $t, $ps, $pe, $ph) |
|
136
|
21 |
36 |
if ($_[1] >= 7 or $_[1] == -1 and $_[0] > 4) { } |
|
143
|
3 |
18 |
if ($_[0] == 1) { } |
|
|
2 |
16 |
elsif ($_[0] == 0) { } |
|
144
|
0 |
3 |
$nf ? : |
|
166
|
0 |
21 |
if ($_[0] == 2) { } |
|
|
14 |
7 |
elsif ($_[0] > 3) { } |
|
167
|
0 |
0 |
$nf ? : |
|
178
|
7 |
14 |
$nf ? : |
|
182
|
7 |
14 |
if ($_[0] >= 3 and $_[0] <= $_[1] - 2) |
|
190
|
12 |
9 |
if ($_[0] < $_[1] - 2) |
|
195
|
1 |
20 |
if ($_[0] == $_[1] - 1) { } |
|
|
0 |
20 |
elsif ($_[0] == $_[1]) { } |
|
|
8 |
12 |
elsif ($_[1] == -1) { } |
|
228
|
15 |
21 |
if ($_[0] > 1) { } |
|
236
|
55 |
24 |
if ($_[0] != $counter) { } |
|
242
|
11 |
13 |
$nf ? : |
|
252
|
10 |
26 |
if $_[1] == -1 |
|
255
|
29 |
7 |
if ($_[0] != $_[1]) { } |
|
279
|
28 |
29 |
if ($url and length $url > 0) { } |
|
307
|
0 |
57 |
if $@ |