| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/PrintersProfile.pm |
| Statements | Executed 13 statements in 557µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 41µs | 45µs | Class::C3::Componentised::BEGIN@1.2593 |
| 1 | 1 | 1 | 11µs | 20µs | Koha::Schema::Result::PrintersProfile::BEGIN@13 |
| 1 | 1 | 1 | 11µs | 90µs | Koha::Schema::Result::PrintersProfile::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::PrintersProfile::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 94µs | 2 | 49µs | # spent 45µs (41+4) within Class::C3::Componentised::BEGIN@1.2593 which was called:
# once (41µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 45µs making 1 call to Class::C3::Componentised::BEGIN@1.2593
# spent 4µ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 | 39µs | 2 | 29µs | # spent 20µs (11+9) within Koha::Schema::Result::PrintersProfile::BEGIN@13 which was called:
# once (11µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::PrintersProfile::BEGIN@13
# spent 9µs making 1 call to strict::import |
| 14 | 2 | 43µs | 2 | 26µs | # spent 18µs (9+8) within Koha::Schema::Result::PrintersProfile::BEGIN@14 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::PrintersProfile::BEGIN@14
# spent 8µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 286µs | 2 | 169µs | # spent 90µs (11+79) within Koha::Schema::Result::PrintersProfile::BEGIN@16 which was called:
# once (11µs+79µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 90µs making 1 call to Koha::Schema::Result::PrintersProfile::BEGIN@16
# spent 79µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<printers_profile> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 19µs | 1 | 351µs | __PACKAGE__->table("printers_profile"); # spent 351µ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 | 28µs | 1 | 5.13ms | __PACKAGE__->add_columns( # spent 5.13ms 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 | 18µs | 1 | 87µs | __PACKAGE__->set_primary_key("profile_id"); # spent 87µ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 | 18µs | 1 | 36µs | __PACKAGE__->add_unique_constraint( # spent 36µ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 | 13µs | 1; |