| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/CreatorImage.pm |
| Statements | Executed 13 statements in 444µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 27µs | 30µs | Class::C3::Componentised::BEGIN@1.2758 |
| 1 | 1 | 1 | 10µs | 19µs | Koha::Schema::Result::CreatorImage::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 86µs | Koha::Schema::Result::CreatorImage::BEGIN@16 |
| 1 | 1 | 1 | 8µs | 16µs | Koha::Schema::Result::CreatorImage::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 78µs | 2 | 34µs | # spent 30µs (27+4) within Class::C3::Componentised::BEGIN@1.2758 which was called:
# once (27µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.2758
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::CreatorImage; | ||||
| 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::CreatorImage | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 39µs | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::CreatorImage::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::CreatorImage::BEGIN@13
# spent 9µs making 1 call to strict::import |
| 14 | 2 | 39µs | 2 | 24µs | # spent 16µs (8+8) within Koha::Schema::Result::CreatorImage::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::CreatorImage::BEGIN@14
# spent 8µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 199µs | 2 | 161µs | # spent 86µs (10+75) within Koha::Schema::Result::CreatorImage::BEGIN@16 which was called:
# once (10µs+75µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 86µs making 1 call to Koha::Schema::Result::CreatorImage::BEGIN@16
# spent 76µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<creator_images> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 21µs | 1 | 327µs | __PACKAGE__->table("creator_images"); # spent 327µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 image_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 imagefile | ||||
| 33 | |||||
| 34 | data_type: 'mediumblob' | ||||
| 35 | is_nullable: 1 | ||||
| 36 | |||||
| 37 | =head2 image_name | ||||
| 38 | |||||
| 39 | data_type: 'char' | ||||
| 40 | default_value: 'DEFAULT' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | size: 20 | ||||
| 43 | |||||
| 44 | =cut | ||||
| 45 | |||||
| 46 | 1 | 21µs | 1 | 1.78ms | __PACKAGE__->add_columns( # spent 1.78ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 47 | "image_id", | ||||
| 48 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 49 | "imagefile", | ||||
| 50 | { data_type => "mediumblob", is_nullable => 1 }, | ||||
| 51 | "image_name", | ||||
| 52 | { | ||||
| 53 | data_type => "char", | ||||
| 54 | default_value => "DEFAULT", | ||||
| 55 | is_nullable => 0, | ||||
| 56 | size => 20, | ||||
| 57 | }, | ||||
| 58 | ); | ||||
| 59 | |||||
| 60 | =head1 PRIMARY KEY | ||||
| 61 | |||||
| 62 | =over 4 | ||||
| 63 | |||||
| 64 | =item * L</image_id> | ||||
| 65 | |||||
| 66 | =back | ||||
| 67 | |||||
| 68 | =cut | ||||
| 69 | |||||
| 70 | 1 | 21µs | 1 | 84µs | __PACKAGE__->set_primary_key("image_id"); # spent 84µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 71 | |||||
| 72 | =head1 UNIQUE CONSTRAINTS | ||||
| 73 | |||||
| 74 | =head2 C<image_name_index> | ||||
| 75 | |||||
| 76 | =over 4 | ||||
| 77 | |||||
| 78 | =item * L</image_name> | ||||
| 79 | |||||
| 80 | =back | ||||
| 81 | |||||
| 82 | =cut | ||||
| 83 | |||||
| 84 | 1 | 18µs | 1 | 26µs | __PACKAGE__->add_unique_constraint("image_name_index", ["image_name"]); # spent 26µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint |
| 85 | |||||
| 86 | |||||
| 87 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 88 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:veljpS1CT3wfNDilccroGg | ||||
| 89 | |||||
| 90 | |||||
| 91 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 92 | 1 | 8µs | 1; |