Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ImportRecordMatch.pm |
Statements | Executed 12 statements in 225µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 30µs | BEGIN@1.2130 | Class::C3::Componentised::
1 | 1 | 1 | 9µs | 17µs | BEGIN@14 | Koha::Schema::Result::ImportRecordMatch::
1 | 1 | 1 | 9µs | 18µs | BEGIN@13 | Koha::Schema::Result::ImportRecordMatch::
1 | 1 | 1 | 6µs | 43µs | BEGIN@16 | Koha::Schema::Result::ImportRecordMatch::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 72µs | 2 | 34µs | # spent 30µs (26+4) within Class::C3::Componentised::BEGIN@1.2130 which was called:
# once (26µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.2130
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::ImportRecordMatch; | ||||
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::ImportRecordMatch | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 38µs | 2 | 28µs | # spent 18µs (9+9) within Koha::Schema::Result::ImportRecordMatch::BEGIN@13 which was called:
# once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 18µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@13
# spent 9µs making 1 call to strict::import |
14 | 2 | 38µs | 2 | 24µs | # spent 17µs (9+7) within Koha::Schema::Result::ImportRecordMatch::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 40µs | 2 | 80µs | # spent 43µs (6+37) within Koha::Schema::Result::ImportRecordMatch::BEGIN@16 which was called:
# once (6µs+37µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 43µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@16
# spent 37µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<import_record_matches> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 300ns | 1 | 261µs | __PACKAGE__->table("import_record_matches"); # spent 261µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 import_record_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_foreign_key: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 candidate_match_id | ||||
33 | |||||
34 | data_type: 'integer' | ||||
35 | is_nullable: 0 | ||||
36 | |||||
37 | =head2 score | ||||
38 | |||||
39 | data_type: 'integer' | ||||
40 | default_value: 0 | ||||
41 | is_nullable: 0 | ||||
42 | |||||
43 | =cut | ||||
44 | |||||
45 | 1 | 18µs | 1 | 1.48ms | __PACKAGE__->add_columns( # spent 1.48ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
46 | "import_record_id", | ||||
47 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
48 | "candidate_match_id", | ||||
49 | { data_type => "integer", is_nullable => 0 }, | ||||
50 | "score", | ||||
51 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
52 | ); | ||||
53 | |||||
54 | =head1 RELATIONS | ||||
55 | |||||
56 | =head2 import_record | ||||
57 | |||||
58 | Type: belongs_to | ||||
59 | |||||
60 | Related object: L<Koha::Schema::Result::ImportRecord> | ||||
61 | |||||
62 | =cut | ||||
63 | |||||
64 | 1 | 12µs | 1 | 346µs | __PACKAGE__->belongs_to( # spent 346µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
65 | "import_record", | ||||
66 | "Koha::Schema::Result::ImportRecord", | ||||
67 | { import_record_id => "import_record_id" }, | ||||
68 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
69 | ); | ||||
70 | |||||
71 | |||||
72 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 | ||||
73 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hJW36EeP+H8+0/Ij3iuIFw | ||||
74 | |||||
75 | |||||
76 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
77 | 1 | 7µs | 1; |