| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Localization.pm | 
| Statements | Executed 13 statements in 524µs | 
| Calls | P | F | Exclusive Time | Inclusive Time | Subroutine | 
|---|---|---|---|---|---|
| 1 | 1 | 1 | 27µs | 30µs | Class::C3::Componentised::BEGIN@1.861 | 
| 1 | 1 | 1 | 12µs | 86µs | Koha::Schema::Result::Localization::BEGIN@16 | 
| 1 | 1 | 1 | 10µs | 20µs | Koha::Schema::Result::Localization::BEGIN@13 | 
| 1 | 1 | 1 | 10µs | 17µs | Koha::Schema::Result::Localization::BEGIN@14 | 
| Line | State ments | Time on line | Calls | Time in subs | Code | 
|---|---|---|---|---|---|
| 1 | 2 | 111µs | 2 | 33µs | # spent 30µs (27+3) within Class::C3::Componentised::BEGIN@1.861 which was called:
#    once (27µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent    30µs making 1 call to Class::C3::Componentised::BEGIN@1.861
# spent     3µs making 1 call to utf8::import | 
| 2 | package Koha::Schema::Result::Localization; | ||||
| 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::Localization | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 40µs | 2 | 29µs | # spent 20µs (10+10) within Koha::Schema::Result::Localization::BEGIN@13 which was called:
#    once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent    20µs making 1 call to Koha::Schema::Result::Localization::BEGIN@13
# spent    10µs making 1 call to strict::import | 
| 14 | 2 | 40µs | 2 | 24µs | # spent 17µs (10+7) within Koha::Schema::Result::Localization::BEGIN@14 which was called:
#    once (10µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent    17µs making 1 call to Koha::Schema::Result::Localization::BEGIN@14
# spent     7µs making 1 call to warnings::import | 
| 15 | |||||
| 16 | 2 | 232µs | 2 | 160µs | # spent 86µs (12+74) within Koha::Schema::Result::Localization::BEGIN@16 which was called:
#    once (12µs+74µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent    86µs making 1 call to Koha::Schema::Result::Localization::BEGIN@16
# spent    74µs making 1 call to base::import | 
| 17 | |||||
| 18 | =head1 TABLE: C<localization> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 25µs | 1 | 339µs | __PACKAGE__->table("localization"); # spent   339µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | 
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 localization_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 entity | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 16 | ||||
| 37 | |||||
| 38 | =head2 code | ||||
| 39 | |||||
| 40 | data_type: 'varchar' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | size: 64 | ||||
| 43 | |||||
| 44 | =head2 lang | ||||
| 45 | |||||
| 46 | data_type: 'varchar' | ||||
| 47 | is_nullable: 0 | ||||
| 48 | size: 25 | ||||
| 49 | |||||
| 50 | =head2 translation | ||||
| 51 | |||||
| 52 | data_type: 'text' | ||||
| 53 | is_nullable: 1 | ||||
| 54 | |||||
| 55 | =cut | ||||
| 56 | |||||
| 57 | 1 | 23µs | 1 | 8.97ms | __PACKAGE__->add_columns( # spent  8.97ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | 
| 58 | "localization_id", | ||||
| 59 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 60 | "entity", | ||||
| 61 | { data_type => "varchar", is_nullable => 0, size => 16 }, | ||||
| 62 | "code", | ||||
| 63 | { data_type => "varchar", is_nullable => 0, size => 64 }, | ||||
| 64 | "lang", | ||||
| 65 | { data_type => "varchar", is_nullable => 0, size => 25 }, | ||||
| 66 | "translation", | ||||
| 67 | { data_type => "text", is_nullable => 1 }, | ||||
| 68 | ); | ||||
| 69 | |||||
| 70 | =head1 PRIMARY KEY | ||||
| 71 | |||||
| 72 | =over 4 | ||||
| 73 | |||||
| 74 | =item * L</localization_id> | ||||
| 75 | |||||
| 76 | =back | ||||
| 77 | |||||
| 78 | =cut | ||||
| 79 | |||||
| 80 | 1 | 24µs | 1 | 89µs | __PACKAGE__->set_primary_key("localization_id"); # spent    89µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | 
| 81 | |||||
| 82 | =head1 UNIQUE CONSTRAINTS | ||||
| 83 | |||||
| 84 | =head2 C<entity_code_lang> | ||||
| 85 | |||||
| 86 | =over 4 | ||||
| 87 | |||||
| 88 | =item * L</entity> | ||||
| 89 | |||||
| 90 | =item * L</code> | ||||
| 91 | |||||
| 92 | =item * L</lang> | ||||
| 93 | |||||
| 94 | =back | ||||
| 95 | |||||
| 96 | =cut | ||||
| 97 | |||||
| 98 | 1 | 19µs | 1 | 32µs | __PACKAGE__->add_unique_constraint("entity_code_lang", ["entity", "code", "lang"]); # spent    32µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint | 
| 99 | |||||
| 100 | |||||
| 101 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-27 12:51:15 | ||||
| 102 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bYEuhKEE13txmjNiRHk8tA | ||||
| 103 | |||||
| 104 | |||||
| 105 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 106 | 1 | 11µs | 1; |