| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Systempreference.pm |
| Statements | Executed 12 statements in 468µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 28µs | 32µs | Class::C3::Componentised::BEGIN@1.2543 |
| 1 | 1 | 1 | 10µs | 103µs | Koha::Schema::Result::Systempreference::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 20µs | Koha::Schema::Result::Systempreference::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 19µs | Koha::Schema::Result::Systempreference::BEGIN@14 |
| 2 | 2 | 2 | 2µs | 2µs | Koha::Schema::Result::Systempreference::in_storage (xsub) |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 77µs | 2 | 35µs | # spent 32µs (28+4) within Class::C3::Componentised::BEGIN@1.2543 which was called:
# once (28µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 32µs making 1 call to Class::C3::Componentised::BEGIN@1.2543
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::Systempreference; | ||||
| 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::Systempreference | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 41µs | 2 | 31µs | # spent 20µs (10+10) within Koha::Schema::Result::Systempreference::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::Systempreference::BEGIN@13
# spent 10µs making 1 call to strict::import |
| 14 | 2 | 41µs | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::Systempreference::BEGIN@14 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 19µs making 1 call to Koha::Schema::Result::Systempreference::BEGIN@14
# spent 9µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 230µs | 2 | 196µs | # spent 103µs (10+93) within Koha::Schema::Result::Systempreference::BEGIN@16 which was called:
# once (10µs+93µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 103µs making 1 call to Koha::Schema::Result::Systempreference::BEGIN@16
# spent 93µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<systempreferences> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 22µs | 1 | 341µs | __PACKAGE__->table("systempreferences"); # spent 341µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 variable | ||||
| 27 | |||||
| 28 | data_type: 'varchar' | ||||
| 29 | default_value: (empty string) | ||||
| 30 | is_nullable: 0 | ||||
| 31 | size: 50 | ||||
| 32 | |||||
| 33 | =head2 value | ||||
| 34 | |||||
| 35 | data_type: 'text' | ||||
| 36 | is_nullable: 1 | ||||
| 37 | |||||
| 38 | =head2 options | ||||
| 39 | |||||
| 40 | data_type: 'mediumtext' | ||||
| 41 | is_nullable: 1 | ||||
| 42 | |||||
| 43 | =head2 explanation | ||||
| 44 | |||||
| 45 | data_type: 'text' | ||||
| 46 | is_nullable: 1 | ||||
| 47 | |||||
| 48 | =head2 type | ||||
| 49 | |||||
| 50 | data_type: 'varchar' | ||||
| 51 | is_nullable: 1 | ||||
| 52 | size: 20 | ||||
| 53 | |||||
| 54 | =cut | ||||
| 55 | |||||
| 56 | 1 | 21µs | 1 | 2.65ms | __PACKAGE__->add_columns( # spent 2.65ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 57 | "variable", | ||||
| 58 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 }, | ||||
| 59 | "value", | ||||
| 60 | { data_type => "text", is_nullable => 1 }, | ||||
| 61 | "options", | ||||
| 62 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 63 | "explanation", | ||||
| 64 | { data_type => "text", is_nullable => 1 }, | ||||
| 65 | "type", | ||||
| 66 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
| 67 | ); | ||||
| 68 | |||||
| 69 | =head1 PRIMARY KEY | ||||
| 70 | |||||
| 71 | =over 4 | ||||
| 72 | |||||
| 73 | =item * L</variable> | ||||
| 74 | |||||
| 75 | =back | ||||
| 76 | |||||
| 77 | =cut | ||||
| 78 | |||||
| 79 | 1 | 28µs | 1 | 79µs | __PACKAGE__->set_primary_key("variable"); # spent 79µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 80 | |||||
| 81 | |||||
| 82 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 83 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WalVf/kVVNRcfYely910iQ | ||||
| 84 | |||||
| 85 | |||||
| 86 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 87 | 1 | 7µs | 1; | ||
# spent 2µs within Koha::Schema::Result::Systempreference::in_storage which was called 2 times, avg 950ns/call:
# once (1µs+0s) by DBIx::Class::Row::inflate_result at line 1312 of DBIx/Class/Row.pm
# once (600ns+0s) by DBIx::Class::Row::inflate_result at line 913 of Class/Accessor/Grouped.pm |