Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MarcMatcher.pm |
Statements | Executed 15 statements in 564µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 30µs | BEGIN@1.2584 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 80µs | BEGIN@16 | Koha::Schema::Result::MarcMatcher::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::MarcMatcher::
1 | 1 | 1 | 8µs | 16µs | BEGIN@14 | Koha::Schema::Result::MarcMatcher::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 73µs | 2 | 33µs | # spent 30µs (26+3) within Class::C3::Componentised::BEGIN@1.2584 which was called:
# once (26µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.2584
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::MarcMatcher; | ||||
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::MarcMatcher | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 38µs | 2 | 27µs | # spent 19µs (10+9) within Koha::Schema::Result::MarcMatcher::BEGIN@13 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::MarcMatcher::BEGIN@13
# spent 9µs making 1 call to strict::import |
14 | 2 | 37µs | 2 | 23µs | # spent 16µs (8+8) within Koha::Schema::Result::MarcMatcher::BEGIN@14 which was called:
# once (8µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::MarcMatcher::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 279µs | 2 | 149µs | # spent 80µs (11+69) within Koha::Schema::Result::MarcMatcher::BEGIN@16 which was called:
# once (11µs+69µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 80µs making 1 call to Koha::Schema::Result::MarcMatcher::BEGIN@16
# spent 69µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<marc_matchers> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 25µs | 1 | 528µs | __PACKAGE__->table("marc_matchers"); # spent 528µ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_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 code | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | default_value: (empty string) | ||||
36 | is_nullable: 0 | ||||
37 | size: 10 | ||||
38 | |||||
39 | =head2 description | ||||
40 | |||||
41 | data_type: 'varchar' | ||||
42 | default_value: (empty string) | ||||
43 | is_nullable: 0 | ||||
44 | size: 255 | ||||
45 | |||||
46 | =head2 record_type | ||||
47 | |||||
48 | data_type: 'varchar' | ||||
49 | default_value: 'biblio' | ||||
50 | is_nullable: 0 | ||||
51 | size: 10 | ||||
52 | |||||
53 | =head2 threshold | ||||
54 | |||||
55 | data_type: 'integer' | ||||
56 | default_value: 0 | ||||
57 | is_nullable: 0 | ||||
58 | |||||
59 | =cut | ||||
60 | |||||
61 | 1 | 63µs | 1 | 1.48ms | __PACKAGE__->add_columns( # spent 1.48ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
62 | "matcher_id", | ||||
63 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
64 | "code", | ||||
65 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
66 | "description", | ||||
67 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
68 | "record_type", | ||||
69 | { | ||||
70 | data_type => "varchar", | ||||
71 | default_value => "biblio", | ||||
72 | is_nullable => 0, | ||||
73 | size => 10, | ||||
74 | }, | ||||
75 | "threshold", | ||||
76 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
77 | ); | ||||
78 | |||||
79 | =head1 PRIMARY KEY | ||||
80 | |||||
81 | =over 4 | ||||
82 | |||||
83 | =item * L</matcher_id> | ||||
84 | |||||
85 | =back | ||||
86 | |||||
87 | =cut | ||||
88 | |||||
89 | 1 | 20µs | 1 | 84µs | __PACKAGE__->set_primary_key("matcher_id"); # spent 84µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
90 | |||||
91 | =head1 RELATIONS | ||||
92 | |||||
93 | =head2 matchchecks | ||||
94 | |||||
95 | Type: has_many | ||||
96 | |||||
97 | Related object: L<Koha::Schema::Result::Matchcheck> | ||||
98 | |||||
99 | =cut | ||||
100 | |||||
101 | 1 | 10µs | 1 | 340µs | __PACKAGE__->has_many( # spent 340µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
102 | "matchchecks", | ||||
103 | "Koha::Schema::Result::Matchcheck", | ||||
104 | { "foreign.matcher_id" => "self.matcher_id" }, | ||||
105 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
106 | ); | ||||
107 | |||||
108 | =head2 matcher_matchpoints | ||||
109 | |||||
110 | Type: has_many | ||||
111 | |||||
112 | Related object: L<Koha::Schema::Result::MatcherMatchpoint> | ||||
113 | |||||
114 | =cut | ||||
115 | |||||
116 | 1 | 4µs | 1 | 231µs | __PACKAGE__->has_many( # spent 231µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
117 | "matcher_matchpoints", | ||||
118 | "Koha::Schema::Result::MatcherMatchpoint", | ||||
119 | { "foreign.matcher_id" => "self.matcher_id" }, | ||||
120 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
121 | ); | ||||
122 | |||||
123 | =head2 matchpoints | ||||
124 | |||||
125 | Type: has_many | ||||
126 | |||||
127 | Related object: L<Koha::Schema::Result::Matchpoint> | ||||
128 | |||||
129 | =cut | ||||
130 | |||||
131 | 1 | 4µs | 1 | 205µs | __PACKAGE__->has_many( # spent 205µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
132 | "matchpoints", | ||||
133 | "Koha::Schema::Result::Matchpoint", | ||||
134 | { "foreign.matcher_id" => "self.matcher_id" }, | ||||
135 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
136 | ); | ||||
137 | |||||
138 | |||||
139 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
140 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2K4K9wfjRlJJKDztPgHJDA | ||||
141 | |||||
142 | |||||
143 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
144 | 1 | 11µs | 1; |