Filename | /home/vagrant/kohaclone/Koha/Schema/Result/PrintersProfile.pm |
Statements | Executed 13 statements in 929µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 57µs | 63µs | BEGIN@1.1490 | Class::C3::Componentised::
1 | 1 | 1 | 17µs | 38µs | BEGIN@13 | Koha::Schema::Result::PrintersProfile::
1 | 1 | 1 | 16µs | 30µs | BEGIN@14 | Koha::Schema::Result::PrintersProfile::
1 | 1 | 1 | 15µs | 186µs | BEGIN@16 | Koha::Schema::Result::PrintersProfile::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 150µs | 2 | 69µs | # spent 63µs (57+6) within Class::C3::Componentised::BEGIN@1.1490 which was called:
# once (57µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 63µs making 1 call to Class::C3::Componentised::BEGIN@1.1490
# spent 6µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::PrintersProfile; | ||||
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::PrintersProfile | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 73µs | 2 | 58µs | # spent 38µs (17+21) within Koha::Schema::Result::PrintersProfile::BEGIN@13 which was called:
# once (17µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 38µs making 1 call to Koha::Schema::Result::PrintersProfile::BEGIN@13
# spent 21µs making 1 call to strict::import |
14 | 2 | 64µs | 2 | 44µs | # spent 30µs (16+14) within Koha::Schema::Result::PrintersProfile::BEGIN@14 which was called:
# once (16µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 30µs making 1 call to Koha::Schema::Result::PrintersProfile::BEGIN@14
# spent 14µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 494µs | 2 | 357µs | # spent 186µs (15+171) within Koha::Schema::Result::PrintersProfile::BEGIN@16 which was called:
# once (15µs+171µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 186µs making 1 call to Koha::Schema::Result::PrintersProfile::BEGIN@16
# spent 171µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<printers_profile> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 42µs | 1 | 597µs | __PACKAGE__->table("printers_profile"); # spent 597µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 profile_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 printer_name | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | default_value: 'Default Printer' | ||||
36 | is_nullable: 0 | ||||
37 | size: 40 | ||||
38 | |||||
39 | =head2 template_id | ||||
40 | |||||
41 | data_type: 'integer' | ||||
42 | default_value: 0 | ||||
43 | is_nullable: 0 | ||||
44 | |||||
45 | =head2 paper_bin | ||||
46 | |||||
47 | data_type: 'varchar' | ||||
48 | default_value: 'Bypass' | ||||
49 | is_nullable: 0 | ||||
50 | size: 20 | ||||
51 | |||||
52 | =head2 offset_horz | ||||
53 | |||||
54 | data_type: 'float' | ||||
55 | default_value: 0 | ||||
56 | is_nullable: 0 | ||||
57 | |||||
58 | =head2 offset_vert | ||||
59 | |||||
60 | data_type: 'float' | ||||
61 | default_value: 0 | ||||
62 | is_nullable: 0 | ||||
63 | |||||
64 | =head2 creep_horz | ||||
65 | |||||
66 | data_type: 'float' | ||||
67 | default_value: 0 | ||||
68 | is_nullable: 0 | ||||
69 | |||||
70 | =head2 creep_vert | ||||
71 | |||||
72 | data_type: 'float' | ||||
73 | default_value: 0 | ||||
74 | is_nullable: 0 | ||||
75 | |||||
76 | =head2 units | ||||
77 | |||||
78 | data_type: 'char' | ||||
79 | default_value: 'POINT' | ||||
80 | is_nullable: 0 | ||||
81 | size: 20 | ||||
82 | |||||
83 | =head2 creator | ||||
84 | |||||
85 | data_type: 'char' | ||||
86 | default_value: 'Labels' | ||||
87 | is_nullable: 0 | ||||
88 | size: 15 | ||||
89 | |||||
90 | =cut | ||||
91 | |||||
92 | 1 | 44µs | 1 | 4.76ms | __PACKAGE__->add_columns( # spent 4.76ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
93 | "profile_id", | ||||
94 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
95 | "printer_name", | ||||
96 | { | ||||
97 | data_type => "varchar", | ||||
98 | default_value => "Default Printer", | ||||
99 | is_nullable => 0, | ||||
100 | size => 40, | ||||
101 | }, | ||||
102 | "template_id", | ||||
103 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
104 | "paper_bin", | ||||
105 | { | ||||
106 | data_type => "varchar", | ||||
107 | default_value => "Bypass", | ||||
108 | is_nullable => 0, | ||||
109 | size => 20, | ||||
110 | }, | ||||
111 | "offset_horz", | ||||
112 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
113 | "offset_vert", | ||||
114 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
115 | "creep_horz", | ||||
116 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
117 | "creep_vert", | ||||
118 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
119 | "units", | ||||
120 | { data_type => "char", default_value => "POINT", is_nullable => 0, size => 20 }, | ||||
121 | "creator", | ||||
122 | { | ||||
123 | data_type => "char", | ||||
124 | default_value => "Labels", | ||||
125 | is_nullable => 0, | ||||
126 | size => 15, | ||||
127 | }, | ||||
128 | ); | ||||
129 | |||||
130 | =head1 PRIMARY KEY | ||||
131 | |||||
132 | =over 4 | ||||
133 | |||||
134 | =item * L</profile_id> | ||||
135 | |||||
136 | =back | ||||
137 | |||||
138 | =cut | ||||
139 | |||||
140 | 1 | 21µs | 1 | 118µs | __PACKAGE__->set_primary_key("profile_id"); # spent 118µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
141 | |||||
142 | =head1 UNIQUE CONSTRAINTS | ||||
143 | |||||
144 | =head2 C<printername> | ||||
145 | |||||
146 | =over 4 | ||||
147 | |||||
148 | =item * L</printer_name> | ||||
149 | |||||
150 | =item * L</template_id> | ||||
151 | |||||
152 | =item * L</paper_bin> | ||||
153 | |||||
154 | =item * L</creator> | ||||
155 | |||||
156 | =back | ||||
157 | |||||
158 | =cut | ||||
159 | |||||
160 | 1 | 24µs | 1 | 66µs | __PACKAGE__->add_unique_constraint( # spent 66µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint |
161 | "printername", | ||||
162 | ["printer_name", "template_id", "paper_bin", "creator"], | ||||
163 | ); | ||||
164 | |||||
165 | |||||
166 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
167 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GJid4zfVF0MmMnUn3xyVbA | ||||
168 | |||||
169 | |||||
170 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
171 | 1 | 16µs | 1; |