| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/AuthType.pm |
| Statements | Executed 14 statements in 528µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 34µs | 39µs | Class::C3::Componentised::BEGIN@1.286 |
| 1 | 1 | 1 | 11µs | 100µs | Koha::Schema::Result::AuthType::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 23µs | Koha::Schema::Result::AuthType::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 19µs | Koha::Schema::Result::AuthType::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 77µs | 2 | 44µs | # spent 39µs (34+5) within Class::C3::Componentised::BEGIN@1.286 which was called:
# once (34µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 39µs making 1 call to Class::C3::Componentised::BEGIN@1.286
# spent 5µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::AuthType; | ||||
| 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::AuthType | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 44µs | 2 | 36µs | # spent 23µs (10+13) within Koha::Schema::Result::AuthType::BEGIN@13 which was called:
# once (10µs+13µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 23µs making 1 call to Koha::Schema::Result::AuthType::BEGIN@13
# spent 13µs making 1 call to strict::import |
| 14 | 2 | 41µs | 2 | 29µs | # spent 19µs (10+10) within Koha::Schema::Result::AuthType::BEGIN@14 which was called:
# once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 19µs making 1 call to Koha::Schema::Result::AuthType::BEGIN@14
# spent 10µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 269µs | 2 | 188µs | # spent 100µs (11+88) within Koha::Schema::Result::AuthType::BEGIN@16 which was called:
# once (11µs+88µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 100µs making 1 call to Koha::Schema::Result::AuthType::BEGIN@16
# spent 88µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<auth_types> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 28µs | 1 | 359µs | __PACKAGE__->table("auth_types"); # spent 359µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 authtypecode | ||||
| 27 | |||||
| 28 | data_type: 'varchar' | ||||
| 29 | default_value: (empty string) | ||||
| 30 | is_nullable: 0 | ||||
| 31 | size: 10 | ||||
| 32 | |||||
| 33 | =head2 authtypetext | ||||
| 34 | |||||
| 35 | data_type: 'varchar' | ||||
| 36 | default_value: (empty string) | ||||
| 37 | is_nullable: 0 | ||||
| 38 | size: 255 | ||||
| 39 | |||||
| 40 | =head2 auth_tag_to_report | ||||
| 41 | |||||
| 42 | data_type: 'varchar' | ||||
| 43 | default_value: (empty string) | ||||
| 44 | is_nullable: 0 | ||||
| 45 | size: 3 | ||||
| 46 | |||||
| 47 | =head2 summary | ||||
| 48 | |||||
| 49 | data_type: 'mediumtext' | ||||
| 50 | is_nullable: 0 | ||||
| 51 | |||||
| 52 | =cut | ||||
| 53 | |||||
| 54 | 1 | 24µs | 1 | 2.04ms | __PACKAGE__->add_columns( # spent 2.04ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 55 | "authtypecode", | ||||
| 56 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
| 57 | "authtypetext", | ||||
| 58 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
| 59 | "auth_tag_to_report", | ||||
| 60 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 }, | ||||
| 61 | "summary", | ||||
| 62 | { data_type => "mediumtext", is_nullable => 0 }, | ||||
| 63 | ); | ||||
| 64 | |||||
| 65 | =head1 PRIMARY KEY | ||||
| 66 | |||||
| 67 | =over 4 | ||||
| 68 | |||||
| 69 | =item * L</authtypecode> | ||||
| 70 | |||||
| 71 | =back | ||||
| 72 | |||||
| 73 | =cut | ||||
| 74 | |||||
| 75 | 1 | 20µs | 1 | 88µs | __PACKAGE__->set_primary_key("authtypecode"); # spent 88µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 76 | |||||
| 77 | =head1 RELATIONS | ||||
| 78 | |||||
| 79 | =head2 auth_subfield_structures | ||||
| 80 | |||||
| 81 | Type: has_many | ||||
| 82 | |||||
| 83 | Related object: L<Koha::Schema::Result::AuthSubfieldStructure> | ||||
| 84 | |||||
| 85 | =cut | ||||
| 86 | |||||
| 87 | 1 | 10µs | 1 | 427µs | __PACKAGE__->has_many( # spent 427µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 88 | "auth_subfield_structures", | ||||
| 89 | "Koha::Schema::Result::AuthSubfieldStructure", | ||||
| 90 | { "foreign.authtypecode" => "self.authtypecode" }, | ||||
| 91 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 92 | ); | ||||
| 93 | |||||
| 94 | =head2 auth_tag_structures | ||||
| 95 | |||||
| 96 | Type: has_many | ||||
| 97 | |||||
| 98 | Related object: L<Koha::Schema::Result::AuthTagStructure> | ||||
| 99 | |||||
| 100 | =cut | ||||
| 101 | |||||
| 102 | 1 | 5µs | 1 | 275µs | __PACKAGE__->has_many( # spent 275µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 103 | "auth_tag_structures", | ||||
| 104 | "Koha::Schema::Result::AuthTagStructure", | ||||
| 105 | { "foreign.authtypecode" => "self.authtypecode" }, | ||||
| 106 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 107 | ); | ||||
| 108 | |||||
| 109 | |||||
| 110 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-05-18 11:22:30 | ||||
| 111 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FELYJXziUcU7+b/X8SaDwA | ||||
| 112 | |||||
| 113 | |||||
| 114 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 115 | 1 | 11µs | 1; |