line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package # hide from pause |
2
|
|
|
|
|
|
|
DBIx::Class::ResultSet::Pager; |
3
|
|
|
|
|
|
|
|
4
|
5
|
|
|
5
|
|
2094
|
use warnings; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
158
|
|
5
|
5
|
|
|
5
|
|
23
|
use strict; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
101
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# temporary, to load MRO::Compat, will be soon entirely rewritten anyway |
8
|
5
|
|
|
5
|
|
23
|
use DBIx::Class::_Util; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
198
|
|
9
|
|
|
|
|
|
|
|
10
|
5
|
|
|
5
|
|
29
|
use base 'Data::Page'; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
1530
|
|
11
|
5
|
|
|
5
|
|
20138
|
use mro 'c3'; |
|
5
|
|
|
|
|
14
|
|
|
5
|
|
|
|
|
35
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# simple support for lazy totals |
14
|
|
|
|
|
|
|
sub _total_entries_accessor { |
15
|
81
|
100
|
100
|
81
|
|
6360
|
if (@_ == 1 and ref $_[0]->{total_entries} eq 'CODE') { |
16
|
10
|
|
|
|
|
36
|
return $_[0]->{total_entries} = $_[0]->{total_entries}->(); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
71
|
|
|
|
|
173
|
return shift->next::method(@_); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
|
|
sub _skip_namespace_frames { qr/^Data::Page/ } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |