Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Matchcheck.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 45µs | 50µs | BEGIN@1.2855 | Class::C3::Componentised::
1 | 1 | 1 | 15µs | 32µs | BEGIN@13 | Koha::Schema::Result::Matchcheck::
1 | 1 | 1 | 12µs | 23µs | BEGIN@14 | Koha::Schema::Result::Matchcheck::
1 | 1 | 1 | 11µs | 97µs | BEGIN@16 | Koha::Schema::Result::Matchcheck::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 55µs | # spent 50µs (45+5) within Class::C3::Componentised::BEGIN@1.2855 which was called:
# once (45µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 50µs making 1 call to Class::C3::Componentised::BEGIN@1.2855
# spent 5µs making 1 call to utf8::import | ||
2 | package Koha::Schema::Result::Matchcheck; | ||||
3 | |||||
4 | # Created by DBIx::Class::Schema::Loader | ||||
5 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||||
6 | |||||
7 | =head1 NAME | ||||
8 | |||||
9 | Koha::Schema::Result::Matchcheck | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 50µs | # spent 32µs (15+17) within Koha::Schema::Result::Matchcheck::BEGIN@13 which was called:
# once (15µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 32µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@13
# spent 17µs making 1 call to strict::import | ||
14 | 2 | 34µs | # spent 23µs (12+11) within Koha::Schema::Result::Matchcheck::BEGIN@14 which was called:
# once (12µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 23µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@14
# spent 11µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 183µs | # spent 97µs (11+86) within Koha::Schema::Result::Matchcheck::BEGIN@16 which was called:
# once (11µs+86µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 97µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@16
# spent 86µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<matchchecks> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 365µs | __PACKAGE__->table("matchchecks"); # spent 365µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 matcher_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_foreign_key: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 matchcheck_id | ||||
33 | |||||
34 | data_type: 'integer' | ||||
35 | is_auto_increment: 1 | ||||
36 | is_nullable: 0 | ||||
37 | |||||
38 | =head2 source_matchpoint_id | ||||
39 | |||||
40 | data_type: 'integer' | ||||
41 | is_foreign_key: 1 | ||||
42 | is_nullable: 0 | ||||
43 | |||||
44 | =head2 target_matchpoint_id | ||||
45 | |||||
46 | data_type: 'integer' | ||||
47 | is_foreign_key: 1 | ||||
48 | is_nullable: 0 | ||||
49 | |||||
50 | =cut | ||||
51 | |||||
52 | 1 | 13.4ms | __PACKAGE__->add_columns( # spent 13.4ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
53 | "matcher_id", | ||||
54 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
55 | "matchcheck_id", | ||||
56 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
57 | "source_matchpoint_id", | ||||
58 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
59 | "target_matchpoint_id", | ||||
60 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
61 | ); | ||||
62 | |||||
63 | =head1 PRIMARY KEY | ||||
64 | |||||
65 | =over 4 | ||||
66 | |||||
67 | =item * L</matchcheck_id> | ||||
68 | |||||
69 | =back | ||||
70 | |||||
71 | =cut | ||||
72 | |||||
73 | 1 | 99µs | __PACKAGE__->set_primary_key("matchcheck_id"); # spent 99µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
74 | |||||
75 | =head1 RELATIONS | ||||
76 | |||||
77 | =head2 matcher | ||||
78 | |||||
79 | Type: belongs_to | ||||
80 | |||||
81 | Related object: L<Koha::Schema::Result::MarcMatcher> | ||||
82 | |||||
83 | =cut | ||||
84 | |||||
85 | 1 | 323µs | __PACKAGE__->belongs_to( # spent 323µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
86 | "matcher", | ||||
87 | "Koha::Schema::Result::MarcMatcher", | ||||
88 | { matcher_id => "matcher_id" }, | ||||
89 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
90 | ); | ||||
91 | |||||
92 | =head2 source_matchpoint | ||||
93 | |||||
94 | Type: belongs_to | ||||
95 | |||||
96 | Related object: L<Koha::Schema::Result::Matchpoint> | ||||
97 | |||||
98 | =cut | ||||
99 | |||||
100 | 1 | 165µs | __PACKAGE__->belongs_to( # spent 165µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
101 | "source_matchpoint", | ||||
102 | "Koha::Schema::Result::Matchpoint", | ||||
103 | { matchpoint_id => "source_matchpoint_id" }, | ||||
104 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
105 | ); | ||||
106 | |||||
107 | =head2 target_matchpoint | ||||
108 | |||||
109 | Type: belongs_to | ||||
110 | |||||
111 | Related object: L<Koha::Schema::Result::Matchpoint> | ||||
112 | |||||
113 | =cut | ||||
114 | |||||
115 | 1 | 182µs | __PACKAGE__->belongs_to( # spent 182µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
116 | "target_matchpoint", | ||||
117 | "Koha::Schema::Result::Matchpoint", | ||||
118 | { matchpoint_id => "target_matchpoint_id" }, | ||||
119 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
120 | ); | ||||
121 | |||||
122 | |||||
123 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
124 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3G4E3DxiD6lCTP7a569BQg | ||||
125 | |||||
126 | |||||
127 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
128 | 1; |