Filename | /home/vagrant/kohaclone/Koha/Schema/Result/UploadedFile.pm |
Statements | Executed 12 statements in 777µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 93µs | 108µs | BEGIN@1.2386 | Class::C3::Componentised::
1 | 1 | 1 | 31µs | 51µs | BEGIN@13 | Koha::Schema::Result::UploadedFile::
1 | 1 | 1 | 21µs | 34µs | BEGIN@14 | Koha::Schema::Result::UploadedFile::
1 | 1 | 1 | 20µs | 112µs | BEGIN@16 | Koha::Schema::Result::UploadedFile::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 183µs | 2 | 122µs | # spent 108µs (93+14) within Class::C3::Componentised::BEGIN@1.2386 which was called:
# once (93µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 108µs making 1 call to Class::C3::Componentised::BEGIN@1.2386
# spent 14µ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 | 78µs | 2 | 70µs | # spent 51µs (31+19) within Koha::Schema::Result::UploadedFile::BEGIN@13 which was called:
# once (31µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 51µs making 1 call to Koha::Schema::Result::UploadedFile::BEGIN@13
# spent 19µs making 1 call to strict::import |
14 | 2 | 64µs | 2 | 47µs | # spent 34µs (21+13) within Koha::Schema::Result::UploadedFile::BEGIN@14 which was called:
# once (21µs+13µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 34µs making 1 call to Koha::Schema::Result::UploadedFile::BEGIN@14
# spent 13µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 330µs | 2 | 203µs | # spent 112µs (20+91) within Koha::Schema::Result::UploadedFile::BEGIN@16 which was called:
# once (20µs+91µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 112µs making 1 call to Koha::Schema::Result::UploadedFile::BEGIN@16
# spent 91µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<uploaded_files> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 37µs | 1 | 451µs | __PACKAGE__->table("uploaded_files"); # spent 451µ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 | 38µs | 1 | 7.16ms | __PACKAGE__->add_columns( # spent 7.16ms 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 | 35µs | 1 | 105µs | __PACKAGE__->set_primary_key("id"); # spent 105µ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 | 13µs | 1; |