line |
true |
false |
branch |
82
|
6 |
2 |
if ($entries) { } |
85
|
3 |
3 |
unless $last <= $entries |
93
|
24 |
13 |
if (0 <= $i and $i < $entries) { } |
126
|
7 |
2 |
$entries > $h ? : |
129
|
4 |
3 |
$selection == 1 ? : |
|
2 |
7 |
$selection == 0 ? : |
133
|
7 |
2 |
if $entries > $h |
140
|
4 |
25 |
unless $last <= $entries |
141
|
28 |
1 |
$entries ? : |
148
|
172 |
10 |
if (0 <= $i and $i < $entries) { } |
150
|
135 |
37 |
if ($selection) { } |
171
|
6 |
18 |
unless ($entries > $h and /^[-+]$/u or /^$re_selection$/u and $1 <= $h) |
175
|
7 |
22 |
if ($_ eq '+') { } |
|
4 |
18 |
elsif ($_ eq '-') { } |
178
|
6 |
1 |
unless $$self{"first"} + $h <= $entries |
183
|
3 |
1 |
unless $$self{"first"} >= 0 |
188
|
9 |
9 |
if ($selection == 1) { } |
190
|
5 |
4 |
if ($_ > 0) |
196
|
4 |
1 |
$$self{'_selected'}[$i] eq ' ' ? : |
|
35 |
5 |
$i != $$self{'first'} + $_ - 1 ? : |
205
|
5 |
7 |
unless $_ > 0 |
208
|
6 |
1 |
$$self{'_selected'}[$i] eq ' ' ? : |
213
|
4 |
14 |
if defined $$self{"on_select"} and $changes > 0 |