| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/SocialData.pm |
| Statements | Executed 12 statements in 481µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 40µs | 45µs | Class::C3::Componentised::BEGIN@1.1681 |
| 1 | 1 | 1 | 11µs | 26µs | Koha::Schema::Result::SocialData::BEGIN@13 |
| 1 | 1 | 1 | 11µs | 94µs | Koha::Schema::Result::SocialData::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 20µs | Koha::Schema::Result::SocialData::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 84µs | 2 | 49µs | # spent 45µs (40+5) within Class::C3::Componentised::BEGIN@1.1681 which was called:
# once (40µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 45µs making 1 call to Class::C3::Componentised::BEGIN@1.1681
# spent 5µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::SocialData; | ||||
| 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::SocialData | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 48µs | 2 | 40µs | # spent 26µs (11+14) within Koha::Schema::Result::SocialData::BEGIN@13 which was called:
# once (11µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 26µs making 1 call to Koha::Schema::Result::SocialData::BEGIN@13
# spent 14µs making 1 call to strict::import |
| 14 | 2 | 43µs | 2 | 30µs | # spent 20µs (10+10) within Koha::Schema::Result::SocialData::BEGIN@14 which was called:
# once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 20µs making 1 call to Koha::Schema::Result::SocialData::BEGIN@14
# spent 10µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 227µs | 2 | 176µs | # spent 94µs (11+82) within Koha::Schema::Result::SocialData::BEGIN@16 which was called:
# once (11µs+82µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 94µs making 1 call to Koha::Schema::Result::SocialData::BEGIN@16
# spent 82µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<social_data> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 27µs | 1 | 359µs | __PACKAGE__->table("social_data"); # spent 359µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 isbn | ||||
| 27 | |||||
| 28 | data_type: 'varchar' | ||||
| 29 | default_value: (empty string) | ||||
| 30 | is_nullable: 0 | ||||
| 31 | size: 30 | ||||
| 32 | |||||
| 33 | =head2 num_critics | ||||
| 34 | |||||
| 35 | data_type: 'integer' | ||||
| 36 | is_nullable: 1 | ||||
| 37 | |||||
| 38 | =head2 num_critics_pro | ||||
| 39 | |||||
| 40 | data_type: 'integer' | ||||
| 41 | is_nullable: 1 | ||||
| 42 | |||||
| 43 | =head2 num_quotations | ||||
| 44 | |||||
| 45 | data_type: 'integer' | ||||
| 46 | is_nullable: 1 | ||||
| 47 | |||||
| 48 | =head2 num_videos | ||||
| 49 | |||||
| 50 | data_type: 'integer' | ||||
| 51 | is_nullable: 1 | ||||
| 52 | |||||
| 53 | =head2 score_avg | ||||
| 54 | |||||
| 55 | data_type: 'decimal' | ||||
| 56 | is_nullable: 1 | ||||
| 57 | size: [5,2] | ||||
| 58 | |||||
| 59 | =head2 num_scores | ||||
| 60 | |||||
| 61 | data_type: 'integer' | ||||
| 62 | is_nullable: 1 | ||||
| 63 | |||||
| 64 | =cut | ||||
| 65 | |||||
| 66 | 1 | 23µs | 1 | 7.51ms | __PACKAGE__->add_columns( # spent 7.51ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 67 | "isbn", | ||||
| 68 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 30 }, | ||||
| 69 | "num_critics", | ||||
| 70 | { data_type => "integer", is_nullable => 1 }, | ||||
| 71 | "num_critics_pro", | ||||
| 72 | { data_type => "integer", is_nullable => 1 }, | ||||
| 73 | "num_quotations", | ||||
| 74 | { data_type => "integer", is_nullable => 1 }, | ||||
| 75 | "num_videos", | ||||
| 76 | { data_type => "integer", is_nullable => 1 }, | ||||
| 77 | "score_avg", | ||||
| 78 | { data_type => "decimal", is_nullable => 1, size => [5, 2] }, | ||||
| 79 | "num_scores", | ||||
| 80 | { data_type => "integer", is_nullable => 1 }, | ||||
| 81 | ); | ||||
| 82 | |||||
| 83 | =head1 PRIMARY KEY | ||||
| 84 | |||||
| 85 | =over 4 | ||||
| 86 | |||||
| 87 | =item * L</isbn> | ||||
| 88 | |||||
| 89 | =back | ||||
| 90 | |||||
| 91 | =cut | ||||
| 92 | |||||
| 93 | 1 | 18µs | 1 | 83µs | __PACKAGE__->set_primary_key("isbn"); # spent 83µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 94 | |||||
| 95 | |||||
| 96 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 97 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Medc/ZzPVp5Eq+adFoqQoA | ||||
| 98 | |||||
| 99 | |||||
| 100 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 101 | 1 | 9µs | 1; |