Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ImportRecordMatch.pm |
Statements | Executed 12 statements in 428µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 28µs | 32µs | BEGIN@1.2698 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 85µs | BEGIN@16 | Koha::Schema::Result::ImportRecordMatch::
1 | 1 | 1 | 11µs | 21µs | BEGIN@13 | Koha::Schema::Result::ImportRecordMatch::
1 | 1 | 1 | 10µs | 18µs | BEGIN@14 | Koha::Schema::Result::ImportRecordMatch::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 77µs | 2 | 36µs | # spent 32µs (28+4) within Class::C3::Componentised::BEGIN@1.2698 which was called:
# once (28µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 32µs making 1 call to Class::C3::Componentised::BEGIN@1.2698
# 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 | 39µs | 2 | 31µs | # spent 21µs (11+10) within Koha::Schema::Result::ImportRecordMatch::BEGIN@13 which was called:
# once (11µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 40µs | 2 | 27µs | # spent 18µs (10+9) within Koha::Schema::Result::ImportRecordMatch::BEGIN@14 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@14
# spent 9µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 218µs | 2 | 159µs | # spent 85µs (12+74) within Koha::Schema::Result::ImportRecordMatch::BEGIN@16 which was called:
# once (12µs+74µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 85µs making 1 call to Koha::Schema::Result::ImportRecordMatch::BEGIN@16
# spent 74µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<import_record_matches> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 21µs | 1 | 310µs | __PACKAGE__->table("import_record_matches"); # spent 310µ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.16ms | __PACKAGE__->add_columns( # spent 1.16ms 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 | 9µs | 1 | 294µs | __PACKAGE__->belongs_to( # spent 294µ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; |