Filename | /home/vagrant/kohaclone/Koha/Schema/Result/UploadedFile.pm |
Statements | Executed 12 statements in 511µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 27µs | 31µs | BEGIN@1.2456 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 20µs | BEGIN@13 | Koha::Schema::Result::UploadedFile::
1 | 1 | 1 | 9µs | 82µs | BEGIN@16 | Koha::Schema::Result::UploadedFile::
1 | 1 | 1 | 9µs | 17µs | BEGIN@14 | Koha::Schema::Result::UploadedFile::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 74µs | 2 | 34µs | # spent 31µs (27+3) within Class::C3::Componentised::BEGIN@1.2456 which was called:
# once (27µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 31µs making 1 call to Class::C3::Componentised::BEGIN@1.2456
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::UploadedFile; | ||||
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::UploadedFile | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 41µs | 2 | 30µs | # spent 20µs (11+10) within Koha::Schema::Result::UploadedFile::BEGIN@13 which was called:
# once (11µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 20µs making 1 call to Koha::Schema::Result::UploadedFile::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 40µs | 2 | 25µs | # spent 17µs (9+8) within Koha::Schema::Result::UploadedFile::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::UploadedFile::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 280µs | 2 | 156µs | # spent 82µs (9+73) within Koha::Schema::Result::UploadedFile::BEGIN@16 which was called:
# once (9µs+73µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 82µs making 1 call to Koha::Schema::Result::UploadedFile::BEGIN@16
# spent 73µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<uploaded_files> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 18µs | 1 | 306µs | __PACKAGE__->table("uploaded_files"); # spent 306µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 hashvalue | ||||
33 | |||||
34 | data_type: 'char' | ||||
35 | is_nullable: 0 | ||||
36 | size: 40 | ||||
37 | |||||
38 | =head2 filename | ||||
39 | |||||
40 | data_type: 'text' | ||||
41 | is_nullable: 0 | ||||
42 | |||||
43 | =head2 dir | ||||
44 | |||||
45 | data_type: 'text' | ||||
46 | is_nullable: 0 | ||||
47 | |||||
48 | =head2 filesize | ||||
49 | |||||
50 | data_type: 'integer' | ||||
51 | is_nullable: 1 | ||||
52 | |||||
53 | =head2 dtcreated | ||||
54 | |||||
55 | data_type: 'timestamp' | ||||
56 | datetime_undef_if_invalid: 1 | ||||
57 | default_value: current_timestamp | ||||
58 | is_nullable: 0 | ||||
59 | |||||
60 | =head2 uploadcategorycode | ||||
61 | |||||
62 | data_type: 'tinytext' | ||||
63 | is_nullable: 1 | ||||
64 | |||||
65 | =head2 owner | ||||
66 | |||||
67 | data_type: 'integer' | ||||
68 | is_nullable: 1 | ||||
69 | |||||
70 | =head2 public | ||||
71 | |||||
72 | data_type: 'tinyint' | ||||
73 | is_nullable: 1 | ||||
74 | |||||
75 | =head2 permanent | ||||
76 | |||||
77 | data_type: 'tinyint' | ||||
78 | is_nullable: 1 | ||||
79 | |||||
80 | =cut | ||||
81 | |||||
82 | 1 | 26µs | 1 | 6.36ms | __PACKAGE__->add_columns( # spent 6.36ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
83 | "id", | ||||
84 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
85 | "hashvalue", | ||||
86 | { data_type => "char", is_nullable => 0, size => 40 }, | ||||
87 | "filename", | ||||
88 | { data_type => "text", is_nullable => 0 }, | ||||
89 | "dir", | ||||
90 | { data_type => "text", is_nullable => 0 }, | ||||
91 | "filesize", | ||||
92 | { data_type => "integer", is_nullable => 1 }, | ||||
93 | "dtcreated", | ||||
94 | { | ||||
95 | data_type => "timestamp", | ||||
96 | datetime_undef_if_invalid => 1, | ||||
97 | default_value => \"current_timestamp", | ||||
98 | is_nullable => 0, | ||||
99 | }, | ||||
100 | "uploadcategorycode", | ||||
101 | { data_type => "tinytext", is_nullable => 1 }, | ||||
102 | "owner", | ||||
103 | { data_type => "integer", is_nullable => 1 }, | ||||
104 | "public", | ||||
105 | { data_type => "tinyint", is_nullable => 1 }, | ||||
106 | "permanent", | ||||
107 | { data_type => "tinyint", is_nullable => 1 }, | ||||
108 | ); | ||||
109 | |||||
110 | =head1 PRIMARY KEY | ||||
111 | |||||
112 | =over 4 | ||||
113 | |||||
114 | =item * L</id> | ||||
115 | |||||
116 | =back | ||||
117 | |||||
118 | =cut | ||||
119 | |||||
120 | 1 | 20µs | 1 | 93µs | __PACKAGE__->set_primary_key("id"); # spent 93µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
121 | |||||
122 | |||||
123 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-25 15:20:07 | ||||
124 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Cq/HSuTaBxZH2qSGEddoaQ | ||||
125 | |||||
126 | |||||
127 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
128 | 1 | 12µs | 1; |