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

filter: Statementstmt 40.0% 18 / 45 Branchbran 3.8% 1 / 26 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 28.5% 6 / 21 Podpod 25.0% 4 / 16 totaltotal 26.8% 29 / 108 CC 13 SCAR 14.5
CC
13
Cov
27%
address1
5.3
address2
5.3
city
5.3
CRAP 4.3
« blib/lib/WWW/Shopify/Model/RecurringApplicationCharge.pm ↑ Summary blib/lib/WWW/Shopify/Model/APIClient.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::Location;
9 1 ▶use parent 'WWW::Shopify::Model::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 39 ▶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 "name" => new WWW::Shopify::Field::String(),
15 "location_type" => new WWW::Shopify::Field::String(),
16 "address1" => new WWW::Shopify::Field::String::Address(),
17 "address2" => new WWW::Shopify::Field::String::Address(),
18 "zip" => new WWW::Shopify::Field::String::Zip(),
19 "city" => new WWW::Shopify::Field::String::City(),
20 "province" => new WWW::Shopify::Field::String::Province(),
21 "country" => new WWW::Shopify::Field::String::Country(),
22 "phone" => new WWW::Shopify::Field::String::Phone(),
23 "created_at" => new WWW::Shopify::Field::Date(),
24 "updated_at" => new WWW::Shopify::Field::Date(),
25  
26 }; }
27  
28 0 ▶sub updatable { return undef; }
Subroutine updatable: not called CC=1 SCAR=6.9
Pod documented
29 0 ▶sub deletable { return undef; }
Subroutine deletable: not called CC=1 SCAR=6.9
Pod documented
30 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
31  
32 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine address1: not called CC=2 SCAR=16.8
Subroutine address2: not called CC=2 SCAR=16.8
Subroutine city: not called CC=2 SCAR=16.8
Subroutine country: not called CC=2 SCAR=16.8
Subroutine created_at: not called CC=2 SCAR=16.8
Subroutine id: not called CC=2 SCAR=16.8
Subroutine location_type: not called CC=2 SCAR=16.8
Subroutine name: not called CC=2 SCAR=16.8
Subroutine phone: not called CC=2 SCAR=16.8
Subroutine province: not called CC=2 SCAR=16.8
Subroutine updated_at: not called CC=2 SCAR=16.8
Subroutine zip: not called CC=2 SCAR=16.8
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: 13 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 $@ 0 1 1
33  
34 1 1;
« blib/lib/WWW/Shopify/Model/RecurringApplicationCharge.pm ↑ Summary blib/lib/WWW/Shopify/Model/APIClient.pm »