Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Matchcheck.pm |
Statements | Executed 15 statements in 508µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 33µs | 37µs | BEGIN@1.1006 | Class::C3::Componentised::
1 | 1 | 1 | 14µs | 22µs | BEGIN@14 | Koha::Schema::Result::Matchcheck::
1 | 1 | 1 | 10µs | 22µs | BEGIN@13 | Koha::Schema::Result::Matchcheck::
1 | 1 | 1 | 10µs | 85µs | BEGIN@16 | Koha::Schema::Result::Matchcheck::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 72µs | 2 | 41µs | # spent 37µs (33+4) within Class::C3::Componentised::BEGIN@1.1006 which was called:
# once (33µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 37µs making 1 call to Class::C3::Componentised::BEGIN@1.1006
# spent 4µ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 | 41µs | 2 | 34µs | # spent 22µs (10+12) within Koha::Schema::Result::Matchcheck::BEGIN@13 which was called:
# once (10µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 22µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@13
# spent 12µs making 1 call to strict::import |
14 | 2 | 50µs | 2 | 30µs | # spent 22µs (14+8) within Koha::Schema::Result::Matchcheck::BEGIN@14 which was called:
# once (14µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 22µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 261µs | 2 | 161µs | # spent 85µs (10+76) within Koha::Schema::Result::Matchcheck::BEGIN@16 which was called:
# once (10µs+76µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 85µs making 1 call to Koha::Schema::Result::Matchcheck::BEGIN@16
# spent 76µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<matchchecks> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 20µs | 1 | 376µs | __PACKAGE__->table("matchchecks"); # spent 376µ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.58ms | __PACKAGE__->add_columns( # spent 1.58ms 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 | 16µs | 1 | 75µs | __PACKAGE__->set_primary_key("matchcheck_id"); # spent 75µ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 | 10µs | 1 | 325µs | __PACKAGE__->belongs_to( # spent 325µ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 | 4µs | 1 | 159µs | __PACKAGE__->belongs_to( # spent 159µ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 | 3µs | 1 | 158µs | __PACKAGE__->belongs_to( # spent 158µ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 | 9µs | 1; |