blib/lib/Module/CPANTS/Schema/Run.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Module/CPANTS/Schema/Modules.pm ↑ Summary blib/lib/Module/CPANTS/Schema/Uses.pm »
1 package Module::CPANTS::Schema::Run;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use base 'DBIx::Class';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 __PACKAGE__->load_components("ResultSetManager", "InflateColumn", "PK", "Core");
9 1 __PACKAGE__->table("run");
10 1 __PACKAGE__->add_columns(
11 "id",
12 {
13 data_type => "integer",
14 default_value => "nextval('run_id_seq'::regclass)",
15 is_nullable => 0,
16 size => 4,
17 },
18 "mcanalyse_version",
19 {
20 data_type => "text",
21 default_value => undef,
22 is_nullable => 1,
23 size => undef,
24 },
25 "mcprocess_version",
26 {
27 data_type => "text",
28 default_value => undef,
29 is_nullable => 1,
30 size => undef,
31 },
32 "available_kwalitee",
33 { data_type => "integer", default_value => 0, is_nullable => 0, size => 4 },
34 "total_kwalitee",
35 { data_type => "integer", default_value => 0, is_nullable => 0, size => 4 },
36 "date",
37 {
38 data_type => "timestamp without time zone",
39 default_value => "now()",
40 is_nullable => 1,
41 size => 8,
42 },
43 );
44 1 __PACKAGE__->set_primary_key("id");
45  
46  
47 # Created by DBIx::Class::Schema::Loader v0.04004 @ 2008-06-03 23:19:44
48 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kSqZ9Uby1zAJHzyeZ5QLOg
49  
50 1 __PACKAGE__->has_many(
51 "dists",
52 "Module::CPANTS::Schema::Dist",
53 { "foreign.run" => "self.id" },
54 );
55 1 __PACKAGE__->has_many(
56 "history_authors",
57 "Module::CPANTS::Schema::HistoryAuthor",
58 { "foreign.run" => "self.id" },
59 );
60 1 __PACKAGE__->has_many(
61 "history_dists",
62 "Module::CPANTS::Schema::HistoryDist",
63 { "foreign.run" => "self.id" },
64 );
65 1 __PACKAGE__->has_many(
66 "kwalitees",
67 "Module::CPANTS::Schema::Kwalitee",
68 { "foreign.run" => "self.id" },
69 );
70  
71  
72  
73 # You can replace this text with custom content, and it will be preserved on regeneration
74 1 1;
« blib/lib/Module/CPANTS/Schema/Modules.pm ↑ Summary blib/lib/Module/CPANTS/Schema/Uses.pm »