blib/lib/WWW/Shopify/Model/Shop.pm

filter: Statementstmt 21.1% 18 / 85 Branchbran 1.5% 1 / 64 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 14.2% 6 / 42 Podpod 16.2% 6 / 37 totaltotal 13.6% 31 / 228 CC 32 SCAR 16.3
CC
32
Cov
13%
address1
5.7
city
5.7
country
5.7
CRAP 5.1
« blib/lib/WWW/Shopify/Model/Country.pm ↑ Summary blib/lib/WWW/Shopify/Model/CustomCollection.pm »
1 #!/usr/bin/perl
2  
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  
6 1 ▶use WWW::Shopify;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 package WWW::Shopify::Model::Shop;
9 1 ▶use parent 'WWW::Shopify::Model::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 97 ▶my $fields; sub fields { return $fields; }
Subroutine fields: called CC=1 SCAR=0.0
Pod documented
12 1 ▶BEGIN { $fields = {
Subroutine BEGIN: called CC=1 SCAR=0.0
13 "id" => new WWW::Shopify::Field::Identifier(),
14 "address1" => new WWW::Shopify::Field::String::Address(),
15 "city" => new WWW::Shopify::Field::String::City(),
16 "country" => new WWW::Shopify::Field::String("[A-Z]{3}"),
17 "country_name" => new WWW::Shopify::Field::String::Country(),
18 "country_code" => new WWW::Shopify::Field::String("[A-Z]{3}"),
19 "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'),
20 "customer_email" => new WWW::Shopify::Field::String::Email(),
21 "domain" => new WWW::Shopify::Field::String::Hostname(),
22 "email" => new WWW::Shopify::Field::String::Email(),
23 "google_apps_domain" => new WWW::Shopify::Field::String::Hostname::Shopify(),
24 "google_apps_login_enabled" => new WWW::Shopify::Field::Boolean(),
25 "name" => new WWW::Shopify::Field::String::Words(1, 3),
26 "phone" => new WWW::Shopify::Field::String::Phone(),
27 "province" => new WWW::Shopify::Field::String::Words(1),
28 "province_code" => new WWW::Shopify::Field::String("[A-Z]{3}"),
29 "public" => new WWW::Shopify::Field::String(),
30 "source" => new WWW::Shopify::Field::String(),
31 "display_plan_name" => new WWW::Shopify::Field::String(),
32 "zip" => new WWW::Shopify::Field::String("[A-Z][0-9][A-Z] [0-9][A-Z][0-9]"),
33 "currency" => new WWW::Shopify::Field::Currency(),
34 "timezone" => new WWW::Shopify::Field::Timezone(),
35 "latitude" => new WWW::Shopify::Field::Float(),
36 "longitude" => new WWW::Shopify::Field::Float(),
37 "shop_owner" => new WWW::Shopify::Field::String::Name(),
38 "money_format" => new WWW::Shopify::Field::String("\$ \{\{amount\}\}"),
39 "money_with_currency_format" => new WWW::Shopify::Field::String("\$ \{\{amount\}\} USD"),
40 "taxes_included" => new WWW::Shopify::Field::String(),
41 "tax_shipping" => new WWW::Shopify::Field::String(),
42 "plan_name" => new WWW::Shopify::Field::String::Words(1),
43 "myshopify_domain" => new WWW::Shopify::Field::String::Hostname::Shopify(),
44 "metafields" => new WWW::Shopify::Field::Relation::Many("WWW::Shopify::Model::Metafield")
45 }; }
46  
47 0 ▶sub creatable($) { return undef; }
Subroutine creatable: not called CC=1 SCAR=6.9
Pod documented
48 0 ▶sub updatable($) { return undef; }
Subroutine updatable: not called CC=1 SCAR=6.9
Pod documented
49 0 ▶sub deletable($) { return undef; }
Subroutine deletable: not called CC=1 SCAR=6.9
Pod documented
50 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
51  
52 0 ▶sub is_shop { return 1; }
Subroutine is_shop: not called CC=1 SCAR=6.9
Pod documented
53  
54 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine address1: not called CC=2 SCAR=17.4
Subroutine city: not called CC=2 SCAR=17.4
Subroutine country: not called CC=2 SCAR=17.4
Subroutine country_code: not called CC=2 SCAR=17.4
Subroutine country_name: not called CC=2 SCAR=17.4
Subroutine created_at: not called CC=2 SCAR=17.4
Subroutine currency: not called CC=2 SCAR=17.4
Subroutine customer_email: not called CC=2 SCAR=17.4
Subroutine display_plan_name: not called CC=2 SCAR=17.4
Subroutine domain: not called CC=2 SCAR=17.4
Subroutine email: not called CC=2 SCAR=17.4
Subroutine google_apps_domain: not called CC=2 SCAR=17.4
Subroutine google_apps_login_enabled: not called CC=2 SCAR=17.4
Subroutine id: not called CC=2 SCAR=17.4
Subroutine latitude: not called CC=2 SCAR=17.4
Subroutine longitude: not called CC=2 SCAR=17.4
Subroutine money_format: not called CC=2 SCAR=17.4
Subroutine money_with_currency_format: not called CC=2 SCAR=17.4
Subroutine myshopify_domain: not called CC=2 SCAR=17.4
Subroutine name: not called CC=2 SCAR=17.4
Subroutine phone: not called CC=2 SCAR=17.4
Subroutine plan_name: not called CC=2 SCAR=17.4
Subroutine province: not called CC=2 SCAR=17.4
Subroutine province_code: not called CC=2 SCAR=17.4
Subroutine public: not called CC=2 SCAR=17.4
Subroutine shop_owner: not called CC=2 SCAR=17.4
Subroutine source: not called CC=2 SCAR=17.4
Subroutine tax_shipping: not called CC=2 SCAR=17.4
Subroutine taxes_included: not called CC=2 SCAR=17.4
Subroutine timezone: not called CC=2 SCAR=17.4
Subroutine zip: not called CC=2 SCAR=17.4
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 32 branches
BranchTrueFalseTotal
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if $@ 0 1 1
55  
56 1 1
« blib/lib/WWW/Shopify/Model/Country.pm ↑ Summary blib/lib/WWW/Shopify/Model/CustomCollection.pm »