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