| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MatchpointComponentNorm.pm |
| Statements | Executed 12 statements in 448µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 33µs | 37µs | Class::C3::Componentised::BEGIN@1.2628 |
| 1 | 1 | 1 | 11µs | 92µs | Koha::Schema::Result::MatchpointComponentNorm::BEGIN@16 |
| 1 | 1 | 1 | 11µs | 23µs | Koha::Schema::Result::MatchpointComponentNorm::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 19µs | Koha::Schema::Result::MatchpointComponentNorm::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 80µs | 2 | 42µs | # spent 37µs (33+4) within Class::C3::Componentised::BEGIN@1.2628 which was called:
# once (33µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 37µs making 1 call to Class::C3::Componentised::BEGIN@1.2628
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::MatchpointComponentNorm; | ||||
| 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::MatchpointComponentNorm | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 44µs | 2 | 35µs | # spent 23µs (11+12) within Koha::Schema::Result::MatchpointComponentNorm::BEGIN@13 which was called:
# once (11µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 23µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::BEGIN@13
# spent 12µs making 1 call to strict::import |
| 14 | 2 | 42µs | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::MatchpointComponentNorm::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::MatchpointComponentNorm::BEGIN@14
# spent 9µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 221µs | 2 | 172µs | # spent 92µs (11+81) within Koha::Schema::Result::MatchpointComponentNorm::BEGIN@16 which was called:
# once (11µs+81µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 92µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::BEGIN@16
# spent 81µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<matchpoint_component_norms> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 20µs | 1 | 352µs | __PACKAGE__->table("matchpoint_component_norms"); # spent 352µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 matchpoint_component_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_foreign_key: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 sequence | ||||
| 33 | |||||
| 34 | accessor: undef | ||||
| 35 | data_type: 'integer' | ||||
| 36 | default_value: 0 | ||||
| 37 | is_nullable: 0 | ||||
| 38 | |||||
| 39 | =head2 norm_routine | ||||
| 40 | |||||
| 41 | data_type: 'varchar' | ||||
| 42 | default_value: (empty string) | ||||
| 43 | is_nullable: 0 | ||||
| 44 | size: 50 | ||||
| 45 | |||||
| 46 | =cut | ||||
| 47 | |||||
| 48 | 1 | 22µs | 1 | 1.03ms | __PACKAGE__->add_columns( # spent 1.03ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 49 | "matchpoint_component_id", | ||||
| 50 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 51 | "sequence", | ||||
| 52 | { | ||||
| 53 | accessor => undef, | ||||
| 54 | data_type => "integer", | ||||
| 55 | default_value => 0, | ||||
| 56 | is_nullable => 0, | ||||
| 57 | }, | ||||
| 58 | "norm_routine", | ||||
| 59 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 }, | ||||
| 60 | ); | ||||
| 61 | |||||
| 62 | =head1 RELATIONS | ||||
| 63 | |||||
| 64 | =head2 matchpoint_component | ||||
| 65 | |||||
| 66 | Type: belongs_to | ||||
| 67 | |||||
| 68 | Related object: L<Koha::Schema::Result::MatchpointComponent> | ||||
| 69 | |||||
| 70 | =cut | ||||
| 71 | |||||
| 72 | 1 | 10µs | 1 | 303µs | __PACKAGE__->belongs_to( # spent 303µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
| 73 | "matchpoint_component", | ||||
| 74 | "Koha::Schema::Result::MatchpointComponent", | ||||
| 75 | { matchpoint_component_id => "matchpoint_component_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:Aj5cUNNx7G5iq0w0AFVgtA | ||||
| 82 | |||||
| 83 | |||||
| 84 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 85 | 1 | 7µs | 1; |