| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/OaiSet.pm |
| Statements | Executed 16 statements in 539µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 30µs | 34µs | Class::C3::Componentised::BEGIN@1.2319 |
| 1 | 1 | 1 | 12µs | 23µs | Koha::Schema::Result::OaiSet::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 19µs | Koha::Schema::Result::OaiSet::BEGIN@14 |
| 1 | 1 | 1 | 10µs | 95µs | Koha::Schema::Result::OaiSet::BEGIN@16 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 79µs | 2 | 38µs | # spent 34µs (30+4) within Class::C3::Componentised::BEGIN@1.2319 which was called:
# once (30µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 34µs making 1 call to Class::C3::Componentised::BEGIN@1.2319
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::OaiSet; | ||||
| 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::OaiSet | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 42µs | 2 | 34µs | # spent 23µs (12+11) within Koha::Schema::Result::OaiSet::BEGIN@13 which was called:
# once (12µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 23µs making 1 call to Koha::Schema::Result::OaiSet::BEGIN@13
# spent 11µs making 1 call to strict::import |
| 14 | 2 | 41µs | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::OaiSet::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::OaiSet::BEGIN@14
# spent 9µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 271µs | 2 | 181µs | # spent 95µs (10+85) within Koha::Schema::Result::OaiSet::BEGIN@16 which was called:
# once (10µs+85µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 95µs making 1 call to Koha::Schema::Result::OaiSet::BEGIN@16
# spent 86µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<oai_sets> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 20µs | 1 | 338µs | __PACKAGE__->table("oai_sets"); # spent 338µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 spec | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 80 | ||||
| 37 | |||||
| 38 | =head2 name | ||||
| 39 | |||||
| 40 | data_type: 'varchar' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | size: 80 | ||||
| 43 | |||||
| 44 | =cut | ||||
| 45 | |||||
| 46 | 1 | 21µs | 1 | 1.03ms | __PACKAGE__->add_columns( # spent 1.03ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 47 | "id", | ||||
| 48 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 49 | "spec", | ||||
| 50 | { data_type => "varchar", is_nullable => 0, size => 80 }, | ||||
| 51 | "name", | ||||
| 52 | { data_type => "varchar", is_nullable => 0, size => 80 }, | ||||
| 53 | ); | ||||
| 54 | |||||
| 55 | =head1 PRIMARY KEY | ||||
| 56 | |||||
| 57 | =over 4 | ||||
| 58 | |||||
| 59 | =item * L</id> | ||||
| 60 | |||||
| 61 | =back | ||||
| 62 | |||||
| 63 | =cut | ||||
| 64 | |||||
| 65 | 1 | 16µs | 1 | 93µs | __PACKAGE__->set_primary_key("id"); # spent 93µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 66 | |||||
| 67 | =head1 UNIQUE CONSTRAINTS | ||||
| 68 | |||||
| 69 | =head2 C<spec> | ||||
| 70 | |||||
| 71 | =over 4 | ||||
| 72 | |||||
| 73 | =item * L</spec> | ||||
| 74 | |||||
| 75 | =back | ||||
| 76 | |||||
| 77 | =cut | ||||
| 78 | |||||
| 79 | 1 | 16µs | 1 | 26µs | __PACKAGE__->add_unique_constraint("spec", ["spec"]); # spent 26µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint |
| 80 | |||||
| 81 | =head1 RELATIONS | ||||
| 82 | |||||
| 83 | =head2 oai_sets_biblios | ||||
| 84 | |||||
| 85 | Type: has_many | ||||
| 86 | |||||
| 87 | Related object: L<Koha::Schema::Result::OaiSetsBiblio> | ||||
| 88 | |||||
| 89 | =cut | ||||
| 90 | |||||
| 91 | 1 | 8µs | 1 | 351µs | __PACKAGE__->has_many( # spent 351µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 92 | "oai_sets_biblios", | ||||
| 93 | "Koha::Schema::Result::OaiSetsBiblio", | ||||
| 94 | { "foreign.set_id" => "self.id" }, | ||||
| 95 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 96 | ); | ||||
| 97 | |||||
| 98 | =head2 oai_sets_descriptions | ||||
| 99 | |||||
| 100 | Type: has_many | ||||
| 101 | |||||
| 102 | Related object: L<Koha::Schema::Result::OaiSetsDescription> | ||||
| 103 | |||||
| 104 | =cut | ||||
| 105 | |||||
| 106 | 1 | 4µs | 1 | 217µs | __PACKAGE__->has_many( # spent 217µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 107 | "oai_sets_descriptions", | ||||
| 108 | "Koha::Schema::Result::OaiSetsDescription", | ||||
| 109 | { "foreign.set_id" => "self.id" }, | ||||
| 110 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 111 | ); | ||||
| 112 | |||||
| 113 | =head2 oai_sets_mappings | ||||
| 114 | |||||
| 115 | Type: has_many | ||||
| 116 | |||||
| 117 | Related object: L<Koha::Schema::Result::OaiSetsMapping> | ||||
| 118 | |||||
| 119 | =cut | ||||
| 120 | |||||
| 121 | 1 | 3µs | 1 | 211µs | __PACKAGE__->has_many( # spent 211µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 122 | "oai_sets_mappings", | ||||
| 123 | "Koha::Schema::Result::OaiSetsMapping", | ||||
| 124 | { "foreign.set_id" => "self.id" }, | ||||
| 125 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 126 | ); | ||||
| 127 | |||||
| 128 | |||||
| 129 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-07-08 15:06:22 | ||||
| 130 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ju63fVMgLPbeFxeZJsQHRQ | ||||
| 131 | |||||
| 132 | |||||
| 133 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 134 | 1 | 19µs | 1; |