Filename | /home/vagrant/kohaclone/Koha/Schema/Result/DefaultCircRule.pm |
Statements | Executed 12 statements in 1.11ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 29µs | BEGIN@1.598 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 115µs | BEGIN@16 | Koha::Schema::Result::DefaultCircRule::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::DefaultCircRule::
1 | 1 | 1 | 8µs | 16µs | BEGIN@14 | Koha::Schema::Result::DefaultCircRule::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 70µs | 2 | 32µs | # spent 29µs (25+4) within Class::C3::Componentised::BEGIN@1.598 which was called:
# once (25µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.598
# spent 4µ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 | 38µs | 2 | 27µs | # spent 19µs (10+9) within Koha::Schema::Result::DefaultCircRule::BEGIN@13 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::DefaultCircRule::BEGIN@13
# spent 8µs making 1 call to strict::import |
14 | 2 | 39µs | 2 | 24µs | # spent 16µs (8+8) within Koha::Schema::Result::DefaultCircRule::BEGIN@14 which was called:
# once (8µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::DefaultCircRule::BEGIN@14
# spent 8µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 890µs | 2 | 219µs | # spent 115µs (12+103) within Koha::Schema::Result::DefaultCircRule::BEGIN@16 which was called:
# once (12µs+103µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 115µs making 1 call to Koha::Schema::Result::DefaultCircRule::BEGIN@16
# spent 103µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<default_circ_rules> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 20µs | 1 | 318µs | __PACKAGE__->table("default_circ_rules"); # spent 318µ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 | 27µs | 1 | 876µs | __PACKAGE__->add_columns( # spent 876µs 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 | 17µs | 1 | 76µs | __PACKAGE__->set_primary_key("singleton"); # spent 76µ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; |