Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Matchcheck.pm |
Statements | Executed 15 statements in 504µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 28µs | BEGIN@1.1661 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 18µs | BEGIN@13 | Koha::Schema::Result::Matchcheck::
1 | 1 | 1 | 9µs | 71µs | BEGIN@16 | Koha::Schema::Result::Matchcheck::
1 | 1 | 1 | 9µs | 15µs | BEGIN@14 | Koha::Schema::Result::Matchcheck::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 72µs | 2 | 31µs | # spent 28µs (25+3) within Class::C3::Componentised::BEGIN@1.1661 which was called:
# once (25µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 28µs making 1 call to Class::C3::Componentised::BEGIN@1.1661
# spent 3µ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 | 39µs | 2 | 27µs | # spent 18µs (10+9) within Koha::Schema::Result::Matchcheck::BEGIN@13 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 18µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@13
# spent 9µs making 1 call to strict::import |
14 | 2 | 43µs | 2 | 21µs | # spent 15µs (9+6) within Koha::Schema::Result::Matchcheck::BEGIN@14 which was called:
# once (9µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@14
# spent 6µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 259µs | 2 | 133µs | # spent 71µs (9+62) within Koha::Schema::Result::Matchcheck::BEGIN@16 which was called:
# once (9µs+62µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 71µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@16
# spent 62µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<matchchecks> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 23µs | 1 | 417µs | __PACKAGE__->table("matchchecks"); # spent 417µ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 | 21µs | 1 | 1.59ms | __PACKAGE__->add_columns( # spent 1.59ms 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 | 18µs | 1 | 77µs | __PACKAGE__->set_primary_key("matchcheck_id"); # spent 77µ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 | 11µs | 1 | 307µs | __PACKAGE__->belongs_to( # spent 307µ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 | 5µs | 1 | 167µs | __PACKAGE__->belongs_to( # spent 167µ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 | 4µs | 1 | 155µs | __PACKAGE__->belongs_to( # spent 155µ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 | 10µs | 1; |