Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Localization.pm |
Statements | Executed 13 statements in 459µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 30µs | BEGIN@1.2574 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 75µs | BEGIN@16 | Koha::Schema::Result::Localization::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::Localization::
1 | 1 | 1 | 10µs | 17µs | BEGIN@14 | Koha::Schema::Result::Localization::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 75µs | 2 | 33µs | # spent 30µs (26+3) within Class::C3::Componentised::BEGIN@1.2574 which was called:
# once (26µ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.2574
# 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 | 41µs | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::Localization::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::Localization::BEGIN@13
# spent 9µs making 1 call to strict::import |
14 | 2 | 46µ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 | 211µs | 2 | 138µs | # spent 75µs (12+63) within Koha::Schema::Result::Localization::BEGIN@16 which was called:
# once (12µs+63µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 75µs making 1 call to Koha::Schema::Result::Localization::BEGIN@16
# spent 63µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<localization> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 20µs | 1 | 298µs | __PACKAGE__->table("localization"); # spent 298µ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 | 21µs | 1 | 2.58ms | __PACKAGE__->add_columns( # spent 2.58ms 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 | 20µs | 1 | 77µs | __PACKAGE__->set_primary_key("localization_id"); # spent 77µ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 | 18µs | 1 | 31µs | __PACKAGE__->add_unique_constraint("entity_code_lang", ["entity", "code", "lang"]); # spent 31µ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 | 8µs | 1; |