blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Address.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 75.0% 18 / 24 CC 1 SCAR 3.4
CC
1
Cov
88%
represents
2.0
parent_variable
2.0
BEGIN
1.0
CRAP 1.4
« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Transaction/Receipt.pm ↑ Summary blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/ApplicationCharge.pm »
1  
2 #!/usr/bin/perl
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 # This class is generated from DBIx.pm. Do not modify.
6 package WWW::Shopify::Model::DBIx::Schema::Result::Model::Address;
7 1 ▶use base qw/DBIx::Class::Core/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
10  
11 1 __PACKAGE__->table('shopify_addresses');
12 1 __PACKAGE__->add_columns(
13 "province", { data_type => 'VARCHAR(255)', is_nullable => '1' },
14 "city", { data_type => 'VARCHAR(255)', is_nullable => '1' },
15 "country_code", { is_nullable => '1', data_type => 'VARCHAR(255)' },
16 "latitude", { is_nullable => '1', data_type => 'FLOAT' },
17 "zip", { is_nullable => '1', data_type => 'VARCHAR(255)' },
18 "country", { is_nullable => '1', data_type => 'VARCHAR(255)' },
19 "company", { data_type => 'VARCHAR(255)', is_nullable => '1' },
20 "id", { is_nullable => '0', data_type => 'BIGINT' },
21 "address2", { is_nullable => '1', data_type => 'VARCHAR(255)' },
22 "last_name", { data_type => 'VARCHAR(255)', is_nullable => '1' },
23 "longitude", { is_nullable => '1', data_type => 'FLOAT' },
24 "name", { data_type => 'VARCHAR(255)', is_nullable => '1' },
25 "phone", { data_type => 'VARCHAR(255)', is_nullable => '1' },
26 "province_code", { data_type => 'VARCHAR(255)', is_nullable => '1' },
27 "first_name", { data_type => 'VARCHAR(255)', is_nullable => '1' },
28 "address1", { data_type => 'VARCHAR(255)', is_nullable => '1' },
29 "shop_id", { data_type => "BIGINT" }
30 );
31 1 __PACKAGE__->set_primary_key('id');
32  
33  
34  
35 1 __PACKAGE__->belongs_to(shop => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Shop', 'shop_id');
36  
37  
38 0 ▶sub represents { return 'WWW::Shopify::Model::Address'; }
Subroutine represents: not called CC=1 SCAR=6.9
Pod undocumented
39 0 ▶sub parent_variable { return undef; }
Subroutine parent_variable: not called CC=1 SCAR=6.9
Pod undocumented
40  
41 1 1;
« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Transaction/Receipt.pm ↑ Summary blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/ApplicationCharge.pm »