Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MarcMatcher.pm |
Statements | Executed 15 statements in 492µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 28µs | 32µs | BEGIN@1.2571 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 21µs | BEGIN@13 | Koha::Schema::Result::MarcMatcher::
1 | 1 | 1 | 6µs | 49µs | BEGIN@16 | Koha::Schema::Result::MarcMatcher::
1 | 1 | 1 | 5µs | 8µs | BEGIN@14 | Koha::Schema::Result::MarcMatcher::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 76µs | 2 | 35µs | # spent 32µs (28+3) within Class::C3::Componentised::BEGIN@1.2571 which was called:
# once (28µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 32µs making 1 call to Class::C3::Componentised::BEGIN@1.2571
# spent 4µ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 | 40µs | 2 | 31µs | # spent 21µs (10+11) within Koha::Schema::Result::MarcMatcher::BEGIN@13 which was called:
# once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::MarcMatcher::BEGIN@13
# spent 11µs making 1 call to strict::import |
14 | 2 | 5µs | 2 | 11µs | # spent 8µs (5+3) within Koha::Schema::Result::MarcMatcher::BEGIN@14 which was called:
# once (5µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 8µs making 1 call to Koha::Schema::Result::MarcMatcher::BEGIN@14
# spent 3µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 269µs | 2 | 92µs | # spent 49µs (6+43) within Koha::Schema::Result::MarcMatcher::BEGIN@16 which was called:
# once (6µs+43µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 49µs making 1 call to Koha::Schema::Result::MarcMatcher::BEGIN@16
# spent 43µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<marc_matchers> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 22µs | 1 | 345µs | __PACKAGE__->table("marc_matchers"); # spent 345µ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 | 22µs | 1 | 1.20ms | __PACKAGE__->add_columns( # spent 1.20ms 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 | 30µs | 1 | 82µs | __PACKAGE__->set_primary_key("matcher_id"); # spent 82µ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 | 9µs | 1 | 344µs | __PACKAGE__->has_many( # spent 344µ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 | 250µs | __PACKAGE__->has_many( # spent 250µ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 | 226µs | __PACKAGE__->has_many( # spent 226µ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; |