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