| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MatcherMatchpoint.pm |
| Statements | Executed 13 statements in 514µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 40µs | 45µs | Class::C3::Componentised::BEGIN@1.2287 |
| 1 | 1 | 1 | 12µs | 22µs | Koha::Schema::Result::MatcherMatchpoint::BEGIN@14 |
| 1 | 1 | 1 | 11µs | 24µs | Koha::Schema::Result::MatcherMatchpoint::BEGIN@13 |
| 1 | 1 | 1 | 11µs | 100µs | Koha::Schema::Result::MatcherMatchpoint::BEGIN@16 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 89µs | 2 | 50µs | # spent 45µs (40+5) within Class::C3::Componentised::BEGIN@1.2287 which was called:
# once (40µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 45µs making 1 call to Class::C3::Componentised::BEGIN@1.2287
# spent 5µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::MatcherMatchpoint; | ||||
| 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::MatcherMatchpoint | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 45µs | 2 | 36µs | # spent 24µs (11+12) within Koha::Schema::Result::MatcherMatchpoint::BEGIN@13 which was called:
# once (11µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 24µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::BEGIN@13
# spent 12µs making 1 call to strict::import |
| 14 | 2 | 44µs | 2 | 32µs | # spent 22µs (12+10) within Koha::Schema::Result::MatcherMatchpoint::BEGIN@14 which was called:
# once (12µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 22µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::BEGIN@14
# spent 10µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 255µs | 2 | 189µs | # spent 100µs (11+89) within Koha::Schema::Result::MatcherMatchpoint::BEGIN@16 which was called:
# once (11µs+89µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 100µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::BEGIN@16
# spent 89µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<matcher_matchpoints> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 26µs | 1 | 361µs | __PACKAGE__->table("matcher_matchpoints"); # spent 361µ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_foreign_key: 1 | ||||
| 36 | is_nullable: 0 | ||||
| 37 | |||||
| 38 | =cut | ||||
| 39 | |||||
| 40 | 1 | 19µs | 1 | 236µs | __PACKAGE__->add_columns( # spent 236µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 41 | "matcher_id", | ||||
| 42 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 43 | "matchpoint_id", | ||||
| 44 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 45 | ); | ||||
| 46 | |||||
| 47 | =head1 RELATIONS | ||||
| 48 | |||||
| 49 | =head2 matcher | ||||
| 50 | |||||
| 51 | Type: belongs_to | ||||
| 52 | |||||
| 53 | Related object: L<Koha::Schema::Result::MarcMatcher> | ||||
| 54 | |||||
| 55 | =cut | ||||
| 56 | |||||
| 57 | 1 | 10µs | 1 | 4.75ms | __PACKAGE__->belongs_to( # spent 4.75ms making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 58 | "matcher", | ||||
| 59 | "Koha::Schema::Result::MarcMatcher", | ||||
| 60 | { matcher_id => "matcher_id" }, | ||||
| 61 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 62 | ); | ||||
| 63 | |||||
| 64 | =head2 matchpoint | ||||
| 65 | |||||
| 66 | Type: belongs_to | ||||
| 67 | |||||
| 68 | Related object: L<Koha::Schema::Result::Matchpoint> | ||||
| 69 | |||||
| 70 | =cut | ||||
| 71 | |||||
| 72 | 1 | 6µs | 1 | 486µs | __PACKAGE__->belongs_to( # spent 486µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 73 | "matchpoint", | ||||
| 74 | "Koha::Schema::Result::Matchpoint", | ||||
| 75 | { matchpoint_id => "matchpoint_id" }, | ||||
| 76 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 77 | ); | ||||
| 78 | |||||
| 79 | |||||
| 80 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 81 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:W2mZNvJSe3CC0M52hqJsJg | ||||
| 82 | |||||
| 83 | |||||
| 84 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 85 | 1 | 21µs | 1; |