line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::BigDoor::NamedGood; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
13032
|
use strict; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
116
|
|
4
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
103
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
#use Smart::Comments -ENV; |
7
|
|
|
|
|
|
|
|
8
|
3
|
|
|
3
|
|
17
|
use base qw(WWW::BigDoor::Resource Class::Accessor); |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
520
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->follow_best_practice; |
11
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors( |
12
|
|
|
|
|
|
|
qw(parent_id named_good_collection_id id read_only collection_uri urls attributes relative_weight) |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _parent_end_point { ## no critic (ProhibitUnusedPrivateSubroutines) |
16
|
2
|
|
|
2
|
|
15
|
return 'named_good_collection'; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub _parent_id_attr { ## no critic (ProhibitUnusedPrivateSubroutines) |
20
|
1
|
|
|
1
|
|
47
|
return 'named_good_collection_id'; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |