← Index
NYTProf Performance Profile   « line view »
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 13:01:18 2016
Reported on Fri Jan 8 13:01:35 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/MarcModificationTemplateAction.pm
StatementsExecuted 13 statements in 659µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11125µs28µsClass::C3::Componentised::::BEGIN@1.1229 Class::C3::Componentised::BEGIN@1.1229
11110µs80µsKoha::Schema::Result::MarcModificationTemplateAction::::BEGIN@16Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@16
1119µs18µsKoha::Schema::Result::MarcModificationTemplateAction::::BEGIN@13Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@13
1119µs16µsKoha::Schema::Result::MarcModificationTemplateAction::::BEGIN@14Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1269µs231µs
# spent 28µs (25+3) within Class::C3::Componentised::BEGIN@1.1229 which was called: # once (25µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 28µs making 1 call to Class::C3::Componentised::BEGIN@1.1229 # spent 3µs making 1 call to utf8::import
2package Koha::Schema::Result::MarcModificationTemplateAction;
3
4# Created by DBIx::Class::Schema::Loader
5# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7=head1 NAME
8
9Koha::Schema::Result::MarcModificationTemplateAction
10
11=cut
12
13238µs227µs
# spent 18µs (9+9) within Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@13 which was called: # once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 18µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@13 # spent 9µs making 1 call to strict::import
14237µs224µs
# spent 16µs (9+7) within Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@14 which was called: # once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 16µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@14 # spent 8µs making 1 call to warnings::import
15
162375µs2151µs
# spent 80µs (10+71) within Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@16 which was called: # once (10µs+71µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 80µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::BEGIN@16 # spent 71µs making 1 call to base::import
17
18=head1 TABLE: C<marc_modification_template_actions>
19
20=cut
21
22120µs1340µs__PACKAGE__->table("marc_modification_template_actions");
# spent 340µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 mmta_id
27
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
31
32=head2 template_id
33
34 data_type: 'integer'
35 is_foreign_key: 1
36 is_nullable: 0
37
38=head2 ordering
39
40 data_type: 'integer'
41 is_nullable: 0
42
43=head2 action
44
45 data_type: 'enum'
46 extra: {list => ["delete_field","update_field","move_field","copy_field","copy_and_replace_field"]}
47 is_nullable: 0
48
49=head2 field_number
50
51 data_type: 'smallint'
52 default_value: 0
53 is_nullable: 0
54
55=head2 from_field
56
57 data_type: 'varchar'
58 is_nullable: 0
59 size: 3
60
61=head2 from_subfield
62
63 data_type: 'varchar'
64 is_nullable: 1
65 size: 1
66
67=head2 field_value
68
69 data_type: 'varchar'
70 is_nullable: 1
71 size: 100
72
73=head2 to_field
74
75 data_type: 'varchar'
76 is_nullable: 1
77 size: 3
78
79=head2 to_subfield
80
81 data_type: 'varchar'
82 is_nullable: 1
83 size: 1
84
85=head2 to_regex_search
86
87 data_type: 'text'
88 is_nullable: 1
89
90=head2 to_regex_replace
91
92 data_type: 'text'
93 is_nullable: 1
94
95=head2 to_regex_modifiers
96
97 data_type: 'varchar'
98 default_value: (empty string)
99 is_nullable: 1
100 size: 8
101
102=head2 conditional
103
104 data_type: 'enum'
105 extra: {list => ["if","unless"]}
106 is_nullable: 1
107
108=head2 conditional_field
109
110 data_type: 'varchar'
111 is_nullable: 1
112 size: 3
113
114=head2 conditional_subfield
115
116 data_type: 'varchar'
117 is_nullable: 1
118 size: 1
119
120=head2 conditional_comparison
121
122 data_type: 'enum'
123 extra: {list => ["exists","not_exists","equals","not_equals"]}
124 is_nullable: 1
125
126=head2 conditional_value
127
128 data_type: 'text'
129 is_nullable: 1
130
131=head2 conditional_regex
132
133 data_type: 'tinyint'
134 default_value: 0
135 is_nullable: 0
136
137=head2 description
138
139 data_type: 'text'
140 is_nullable: 1
141
142=cut
143
144161µs19.73ms__PACKAGE__->add_columns(
# spent 9.73ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
145 "mmta_id",
146 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
147 "template_id",
148 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
149 "ordering",
150 { data_type => "integer", is_nullable => 0 },
151 "action",
152 {
153 data_type => "enum",
154 extra => {
155 list => [
156 "delete_field",
157 "update_field",
158 "move_field",
159 "copy_field",
160 "copy_and_replace_field",
161 ],
162 },
163 is_nullable => 0,
164 },
165 "field_number",
166 { data_type => "smallint", default_value => 0, is_nullable => 0 },
167 "from_field",
168 { data_type => "varchar", is_nullable => 0, size => 3 },
169 "from_subfield",
170 { data_type => "varchar", is_nullable => 1, size => 1 },
171 "field_value",
172 { data_type => "varchar", is_nullable => 1, size => 100 },
173 "to_field",
174 { data_type => "varchar", is_nullable => 1, size => 3 },
175 "to_subfield",
176 { data_type => "varchar", is_nullable => 1, size => 1 },
177 "to_regex_search",
178 { data_type => "text", is_nullable => 1 },
179 "to_regex_replace",
180 { data_type => "text", is_nullable => 1 },
181 "to_regex_modifiers",
182 { data_type => "varchar", default_value => "", is_nullable => 1, size => 8 },
183 "conditional",
184 {
185 data_type => "enum",
186 extra => { list => ["if", "unless"] },
187 is_nullable => 1,
188 },
189 "conditional_field",
190 { data_type => "varchar", is_nullable => 1, size => 3 },
191 "conditional_subfield",
192 { data_type => "varchar", is_nullable => 1, size => 1 },
193 "conditional_comparison",
194 {
195 data_type => "enum",
196 extra => { list => ["exists", "not_exists", "equals", "not_equals"] },
197 is_nullable => 1,
198 },
199 "conditional_value",
200 { data_type => "text", is_nullable => 1 },
201 "conditional_regex",
202 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
203 "description",
204 { data_type => "text", is_nullable => 1 },
205);
206
207=head1 PRIMARY KEY
208
209=over 4
210
211=item * L</mmta_id>
212
213=back
214
215=cut
216
217124µs1143µs__PACKAGE__->set_primary_key("mmta_id");
# spent 143µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
218
219=head1 RELATIONS
220
221=head2 template
222
223Type: belongs_to
224
225Related object: L<Koha::Schema::Result::MarcModificationTemplate>
226
227=cut
228
229116µs1331µs__PACKAGE__->belongs_to(
# spent 331µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
230 "template",
231 "Koha::Schema::Result::MarcModificationTemplate",
232 { template_id => "template_id" },
233 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
234);
235
236
237# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-11-05 10:39:28
238# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mIif3RU6QvUc0xJepUQZjw
239
240
241# You can replace this text with custom code or comments, and it will be preserved on regeneration
242120µs1;