FB11X/Model/PreferencesDB.pm

filter: Statementstmt 66.6% 4 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 75.0% 6 / 8 CC 1 SCAR 1.4
CC
1
Cov
67%
BEGIN
1.3
BEGIN
1.0
CRAP 1.1
« Preferences/Schema/Result/PrfOwner.pm ↑ Summary FB11X/Preferences/Controller/Preferences.pm »
1 package OpusVL::FB11X::Model::PreferencesDB;
2  
3 # ABSTRACT: FB11 model for preferences DB
4  
5 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Switch::Plain;
Subroutine BEGIN: called CC=1 SCAR=2.6
7  
8 BEGIN {
9 extends 'Catalyst::Model::DBIC::Schema';
10 }
11  
12 __PACKAGE__->config(
13 schema_class => 'OpusVL::Preferences::Schema',
14 traits => 'SchemaProxy',
15 );
16  
17 has short_name => (
18 is => "rw",
19 lazy => 1,
20 default => "preferences"
21 );
22  
23 sub hats {
24 (
25 preferences => {
26 class => '+OpusVL::Preferences::Hat::preferences'
27 },
28 dbic_schema => {
29 class => 'dbic_schema::is_brain'
30 },
31 )
32 }
33  
34 with "OpusVL::FB11::Role::Brain";
35  
36 1;
37  
38 __END__
39  
40 =pod
41  
42 =encoding UTF-8
43  
44 =head1 NAME
45  
46 OpusVL::FB11X::Model::PreferencesDB - FB11 model for preferences DB
47  
48 =head1 VERSION
49  
50 version 0.32
51  
52 =head1 AUTHOR
53  
54 OpusVL - www.opusvl.com
55  
56 =head1 COPYRIGHT AND LICENSE
57  
58 This software is copyright (c) 2011 by OpusVL - www.opusvl.com.
59  
60 This is free software; you can redistribute it and/or modify it under
61 the same terms as the Perl 5 programming language system itself.
62  
63 =cut
« Preferences/Schema/Result/PrfOwner.pm ↑ Summary FB11X/Preferences/Controller/Preferences.pm »