line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
14
|
use utf8; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
15
|
|
2
|
|
|
|
|
|
|
package Interchange6::Schema::Candy; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Interchange6::Schema::Candy - add DBIx::Class::Candy to our Result classes |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=cut |
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
2
|
|
153
|
use base 'DBIx::Class::Candy'; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
1051
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 METHODS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head2 base |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Set base to either what is set by the Result class or else to DBIx::Class::Core |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# we want to know if a class tries to use a difference base class |
21
|
|
|
|
|
|
|
# uncoverable branch false |
22
|
208
|
50
|
|
208
|
1
|
203579
|
sub base { $_[1] || 'DBIx::Class::Core' } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 autotable |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Set autotable to either what is set by the Result class or else to 1 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# we want to know if a class tries to set its table name |
31
|
|
|
|
|
|
|
# uncoverable branch false |
32
|
104
|
50
|
|
104
|
1
|
573535
|
sub autotable { $_[1] || 1 } |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |