| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Matchpoint.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 125µs | 138µs | Class::C3::Componentised::BEGIN@1.2780 |
| 1 | 1 | 1 | 28µs | 40µs | Koha::Schema::Result::Matchpoint::BEGIN@13 |
| 1 | 1 | 1 | 18µs | 102µs | Koha::Schema::Result::Matchpoint::BEGIN@16 |
| 1 | 1 | 1 | 18µs | 36µs | Koha::Schema::Result::Matchpoint::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 150µs | # spent 138µs (125+12) within Class::C3::Componentised::BEGIN@1.2780 which was called:
# once (125µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 138µs making 1 call to Class::C3::Componentised::BEGIN@1.2780
# spent 12µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::Matchpoint; | ||||
| 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::Matchpoint | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 52µs | # spent 40µs (28+12) within Koha::Schema::Result::Matchpoint::BEGIN@13 which was called:
# once (28µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 40µs making 1 call to Koha::Schema::Result::Matchpoint::BEGIN@13
# spent 12µs making 1 call to strict::import | ||
| 14 | 2 | 54µs | # spent 36µs (18+18) within Koha::Schema::Result::Matchpoint::BEGIN@14 which was called:
# once (18µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 36µs making 1 call to Koha::Schema::Result::Matchpoint::BEGIN@14
# spent 18µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 186µs | # spent 102µs (18+84) within Koha::Schema::Result::Matchpoint::BEGIN@16 which was called:
# once (18µs+84µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 102µs making 1 call to Koha::Schema::Result::Matchpoint::BEGIN@16
# spent 84µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<matchpoints> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 340µs | __PACKAGE__->table("matchpoints"); # spent 340µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 matcher_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_foreign_key: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 matchpoint_id | ||||
| 33 | |||||
| 34 | data_type: 'integer' | ||||
| 35 | is_auto_increment: 1 | ||||
| 36 | is_nullable: 0 | ||||
| 37 | |||||
| 38 | =head2 search_index | ||||
| 39 | |||||
| 40 | data_type: 'varchar' | ||||
| 41 | default_value: (empty string) | ||||
| 42 | is_nullable: 0 | ||||
| 43 | size: 30 | ||||
| 44 | |||||
| 45 | =head2 score | ||||
| 46 | |||||
| 47 | data_type: 'integer' | ||||
| 48 | default_value: 0 | ||||
| 49 | is_nullable: 0 | ||||
| 50 | |||||
| 51 | =cut | ||||
| 52 | |||||
| 53 | 1 | 1.19ms | __PACKAGE__->add_columns( # spent 1.19ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 54 | "matcher_id", | ||||
| 55 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 56 | "matchpoint_id", | ||||
| 57 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 58 | "search_index", | ||||
| 59 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 30 }, | ||||
| 60 | "score", | ||||
| 61 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
| 62 | ); | ||||
| 63 | |||||
| 64 | =head1 PRIMARY KEY | ||||
| 65 | |||||
| 66 | =over 4 | ||||
| 67 | |||||
| 68 | =item * L</matchpoint_id> | ||||
| 69 | |||||
| 70 | =back | ||||
| 71 | |||||
| 72 | =cut | ||||
| 73 | |||||
| 74 | 1 | 80µs | __PACKAGE__->set_primary_key("matchpoint_id"); # spent 80µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 75 | |||||
| 76 | =head1 RELATIONS | ||||
| 77 | |||||
| 78 | =head2 matchchecks_source_matchpoints | ||||
| 79 | |||||
| 80 | Type: has_many | ||||
| 81 | |||||
| 82 | Related object: L<Koha::Schema::Result::Matchcheck> | ||||
| 83 | |||||
| 84 | =cut | ||||
| 85 | |||||
| 86 | 1 | 339µs | __PACKAGE__->has_many( # spent 339µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 87 | "matchchecks_source_matchpoints", | ||||
| 88 | "Koha::Schema::Result::Matchcheck", | ||||
| 89 | { "foreign.source_matchpoint_id" => "self.matchpoint_id" }, | ||||
| 90 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 91 | ); | ||||
| 92 | |||||
| 93 | =head2 matchchecks_target_matchpoints | ||||
| 94 | |||||
| 95 | Type: has_many | ||||
| 96 | |||||
| 97 | Related object: L<Koha::Schema::Result::Matchcheck> | ||||
| 98 | |||||
| 99 | =cut | ||||
| 100 | |||||
| 101 | 1 | 267µs | __PACKAGE__->has_many( # spent 267µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 102 | "matchchecks_target_matchpoints", | ||||
| 103 | "Koha::Schema::Result::Matchcheck", | ||||
| 104 | { "foreign.target_matchpoint_id" => "self.matchpoint_id" }, | ||||
| 105 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 106 | ); | ||||
| 107 | |||||
| 108 | =head2 matcher | ||||
| 109 | |||||
| 110 | Type: belongs_to | ||||
| 111 | |||||
| 112 | Related object: L<Koha::Schema::Result::MarcMatcher> | ||||
| 113 | |||||
| 114 | =cut | ||||
| 115 | |||||
| 116 | 1 | 207µs | __PACKAGE__->belongs_to( # spent 207µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 117 | "matcher", | ||||
| 118 | "Koha::Schema::Result::MarcMatcher", | ||||
| 119 | { matcher_id => "matcher_id" }, | ||||
| 120 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 121 | ); | ||||
| 122 | |||||
| 123 | =head2 matcher_matchpoints | ||||
| 124 | |||||
| 125 | Type: has_many | ||||
| 126 | |||||
| 127 | Related object: L<Koha::Schema::Result::MatcherMatchpoint> | ||||
| 128 | |||||
| 129 | =cut | ||||
| 130 | |||||
| 131 | 1 | 239µs | __PACKAGE__->has_many( # spent 239µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 132 | "matcher_matchpoints", | ||||
| 133 | "Koha::Schema::Result::MatcherMatchpoint", | ||||
| 134 | { "foreign.matchpoint_id" => "self.matchpoint_id" }, | ||||
| 135 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 136 | ); | ||||
| 137 | |||||
| 138 | =head2 matchpoint_components | ||||
| 139 | |||||
| 140 | Type: has_many | ||||
| 141 | |||||
| 142 | Related object: L<Koha::Schema::Result::MatchpointComponent> | ||||
| 143 | |||||
| 144 | =cut | ||||
| 145 | |||||
| 146 | 1 | 308µs | __PACKAGE__->has_many( # spent 308µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 147 | "matchpoint_components", | ||||
| 148 | "Koha::Schema::Result::MatchpointComponent", | ||||
| 149 | { "foreign.matchpoint_id" => "self.matchpoint_id" }, | ||||
| 150 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 151 | ); | ||||
| 152 | |||||
| 153 | |||||
| 154 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 155 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KvZ0QM+OoJ+xaUKdkPGASg | ||||
| 156 | |||||
| 157 | |||||
| 158 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 159 | 1; |