Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ActionLog.pm |
Statements | Executed 12 statements in 468µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 31µs | 36µs | BEGIN@1.1671 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 23µs | BEGIN@13 | Koha::Schema::Result::ActionLog::
1 | 1 | 1 | 10µs | 89µs | BEGIN@16 | Koha::Schema::Result::ActionLog::
1 | 1 | 1 | 9µs | 19µs | BEGIN@14 | Koha::Schema::Result::ActionLog::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 80µs | 2 | 40µs | # spent 36µs (31+4) within Class::C3::Componentised::BEGIN@1.1671 which was called:
# once (31µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 36µs making 1 call to Class::C3::Componentised::BEGIN@1.1671
# spent 4µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::ActionLog; | ||||
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::ActionLog | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 43µs | 2 | 34µs | # spent 23µs (12+11) within Koha::Schema::Result::ActionLog::BEGIN@13 which was called:
# once (12µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 23µs making 1 call to Koha::Schema::Result::ActionLog::BEGIN@13
# spent 11µs making 1 call to strict::import |
14 | 2 | 41µs | 2 | 28µs | # spent 19µs (9+9) within Koha::Schema::Result::ActionLog::BEGIN@14 which was called:
# once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 19µs making 1 call to Koha::Schema::Result::ActionLog::BEGIN@14
# spent 10µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 233µs | 2 | 168µs | # spent 89µs (10+79) within Koha::Schema::Result::ActionLog::BEGIN@16 which was called:
# once (10µs+79µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 89µs making 1 call to Koha::Schema::Result::ActionLog::BEGIN@16
# spent 79µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<action_logs> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 20µs | 1 | 354µs | __PACKAGE__->table("action_logs"); # spent 354µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 action_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 timestamp | ||||
33 | |||||
34 | data_type: 'timestamp' | ||||
35 | datetime_undef_if_invalid: 1 | ||||
36 | default_value: current_timestamp | ||||
37 | is_nullable: 0 | ||||
38 | |||||
39 | =head2 user | ||||
40 | |||||
41 | data_type: 'integer' | ||||
42 | default_value: 0 | ||||
43 | is_nullable: 0 | ||||
44 | |||||
45 | =head2 module | ||||
46 | |||||
47 | data_type: 'text' | ||||
48 | is_nullable: 1 | ||||
49 | |||||
50 | =head2 action | ||||
51 | |||||
52 | data_type: 'text' | ||||
53 | is_nullable: 1 | ||||
54 | |||||
55 | =head2 object | ||||
56 | |||||
57 | data_type: 'integer' | ||||
58 | is_nullable: 1 | ||||
59 | |||||
60 | =head2 info | ||||
61 | |||||
62 | data_type: 'text' | ||||
63 | is_nullable: 1 | ||||
64 | |||||
65 | =cut | ||||
66 | |||||
67 | 1 | 25µs | 1 | 2.75ms | __PACKAGE__->add_columns( # spent 2.75ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
68 | "action_id", | ||||
69 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
70 | "timestamp", | ||||
71 | { | ||||
72 | data_type => "timestamp", | ||||
73 | datetime_undef_if_invalid => 1, | ||||
74 | default_value => \"current_timestamp", | ||||
75 | is_nullable => 0, | ||||
76 | }, | ||||
77 | "user", | ||||
78 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
79 | "module", | ||||
80 | { data_type => "text", is_nullable => 1 }, | ||||
81 | "action", | ||||
82 | { data_type => "text", is_nullable => 1 }, | ||||
83 | "object", | ||||
84 | { data_type => "integer", is_nullable => 1 }, | ||||
85 | "info", | ||||
86 | { data_type => "text", is_nullable => 1 }, | ||||
87 | ); | ||||
88 | |||||
89 | =head1 PRIMARY KEY | ||||
90 | |||||
91 | =over 4 | ||||
92 | |||||
93 | =item * L</action_id> | ||||
94 | |||||
95 | =back | ||||
96 | |||||
97 | =cut | ||||
98 | |||||
99 | 1 | 17µs | 1 | 81µs | __PACKAGE__->set_primary_key("action_id"); # spent 81µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
100 | |||||
101 | |||||
102 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
103 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KRt26bXGF2SqTrf5u8MSig | ||||
104 | |||||
105 | |||||
106 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
107 | 1 | 8µs | 1; |