Filename | /home/vagrant/kohaclone/Koha/Schema/Result/DefaultCircRule.pm |
Statements | Executed 12 statements in 443µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 28µs | BEGIN@1.1872 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 21µs | BEGIN@13 | Koha::Schema::Result::DefaultCircRule::
1 | 1 | 1 | 10µs | 77µs | BEGIN@16 | Koha::Schema::Result::DefaultCircRule::
1 | 1 | 1 | 10µs | 17µs | BEGIN@14 | Koha::Schema::Result::DefaultCircRule::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 74µs | 2 | 31µs | # spent 28µs (25+3) within Class::C3::Componentised::BEGIN@1.1872 which was called:
# once (25µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 28µs making 1 call to Class::C3::Componentised::BEGIN@1.1872
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::DefaultCircRule; | ||||
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::DefaultCircRule | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 42µs | 2 | 31µs | # spent 21µs (12+10) within Koha::Schema::Result::DefaultCircRule::BEGIN@13 which was called:
# once (12µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::DefaultCircRule::BEGIN@13
# spent 10µs making 1 call to strict::import |
14 | 2 | 40µs | 2 | 24µs | # spent 17µs (10+7) within Koha::Schema::Result::DefaultCircRule::BEGIN@14 which was called:
# once (10µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::DefaultCircRule::BEGIN@14
# spent 7µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 218µs | 2 | 145µs | # spent 77µs (10+67) within Koha::Schema::Result::DefaultCircRule::BEGIN@16 which was called:
# once (10µs+67µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 77µs making 1 call to Koha::Schema::Result::DefaultCircRule::BEGIN@16
# spent 67µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<default_circ_rules> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 20µs | 1 | 308µs | __PACKAGE__->table("default_circ_rules"); # spent 308µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 singleton | ||||
27 | |||||
28 | data_type: 'enum' | ||||
29 | default_value: 'singleton' | ||||
30 | extra: {list => ["singleton"]} | ||||
31 | is_nullable: 0 | ||||
32 | |||||
33 | =head2 maxissueqty | ||||
34 | |||||
35 | data_type: 'integer' | ||||
36 | is_nullable: 1 | ||||
37 | |||||
38 | =head2 maxonsiteissueqty | ||||
39 | |||||
40 | data_type: 'integer' | ||||
41 | is_nullable: 1 | ||||
42 | |||||
43 | =head2 holdallowed | ||||
44 | |||||
45 | data_type: 'integer' | ||||
46 | is_nullable: 1 | ||||
47 | |||||
48 | =head2 returnbranch | ||||
49 | |||||
50 | data_type: 'varchar' | ||||
51 | is_nullable: 1 | ||||
52 | size: 15 | ||||
53 | |||||
54 | =cut | ||||
55 | |||||
56 | 1 | 24µs | 1 | 1.09ms | __PACKAGE__->add_columns( # spent 1.09ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
57 | "singleton", | ||||
58 | { | ||||
59 | data_type => "enum", | ||||
60 | default_value => "singleton", | ||||
61 | extra => { list => ["singleton"] }, | ||||
62 | is_nullable => 0, | ||||
63 | }, | ||||
64 | "maxissueqty", | ||||
65 | { data_type => "integer", is_nullable => 1 }, | ||||
66 | "maxonsiteissueqty", | ||||
67 | { data_type => "integer", is_nullable => 1 }, | ||||
68 | "holdallowed", | ||||
69 | { data_type => "integer", is_nullable => 1 }, | ||||
70 | "returnbranch", | ||||
71 | { data_type => "varchar", is_nullable => 1, size => 15 }, | ||||
72 | ); | ||||
73 | |||||
74 | =head1 PRIMARY KEY | ||||
75 | |||||
76 | =over 4 | ||||
77 | |||||
78 | =item * L</singleton> | ||||
79 | |||||
80 | =back | ||||
81 | |||||
82 | =cut | ||||
83 | |||||
84 | 1 | 18µs | 1 | 77µs | __PACKAGE__->set_primary_key("singleton"); # spent 77µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
85 | |||||
86 | |||||
87 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 | ||||
88 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TLEpv+H3v7P3psVl+WMA0Q | ||||
89 | |||||
90 | |||||
91 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
92 | 1 | 8µs | 1; |