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