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

filter: Statementstmt 40.9% 18 / 44 Branchbran 4.1% 1 / 24 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 30.0% 6 / 20 Podpod 33.3% 5 / 15 totaltotal 29.1% 30 / 103 CC 12 SCAR 17.0
CC
12
Cov
28%
authorships
17.1
id
5.3
name
5.3
CRAP 5.5
« blib/lib/WWW/Shopify/Model/Transaction/Receipt.pm ↑ Summary blib/lib/WWW/Shopify/Model/Comment.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::Locale;
9 1 ▶use parent "WWW::Shopify::Model::Item";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
12 0 ▶sub creatable { return undef; }
Subroutine creatable: not called CC=1 SCAR=6.9
Pod documented
13 0 ▶sub updatable { return undef; }
Subroutine updatable: not called CC=1 SCAR=6.9
Pod documented
14 0 ▶sub deletable { return undef; }
Subroutine deletable: not called CC=1 SCAR=6.9
Pod documented
15  
16 32 ▶my $fields; sub fields { return $fields; }
Subroutine fields: called CC=1 SCAR=0.0
Pod documented
17 1 ▶BEGIN { $fields = {
Subroutine BEGIN: called CC=1 SCAR=0.0
18 "id" => new WWW::Shopify::Field::Identifier(),
19 "name" => new WWW::Shopify::Field::String(),
20 "owner_email" => new WWW::Shopify::Field::String(),
21 "owner_id" => new WWW::Shopify::Field::BigInt(),
22 "owner_name" => new WWW::Shopify::Field::String(),
23 "user_count" => new WWW::Shopify::Field::Int(),
24 "shop_count" => new WWW::Shopify::Field::Int(),
25 "progress" => new WWW::Shopify::Field::Int(),
26 "authorships" => new WWW::Shopify::Field::Relation::Many("WWW::Shopify::Model::Locale::Authorship")
27 }; }
28  
29 0 ▶sub needs_login { return 1; }
Subroutine needs_login: not called CC=1 SCAR=6.9
Pod undocumented
30  
31 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine authorships: not called CC=4 SCAR=28.4
Subroutine id: not called CC=2 SCAR=16.6
Subroutine name: not called CC=2 SCAR=16.6
Subroutine owner_email: not called CC=2 SCAR=16.6
Subroutine owner_id: not called CC=2 SCAR=16.6
Subroutine owner_name: not called CC=2 SCAR=16.6
Subroutine progress: not called CC=2 SCAR=16.6
Subroutine shop_count: not called CC=2 SCAR=16.6
Subroutine user_count: not called CC=2 SCAR=16.6
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 12 branches
BranchTrueFalseTotal
if defined $_[1] 0 0 0
unless defined $_[0]{"authorships"} 0 0 0
if wantarray 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
32  
33 1 1
« blib/lib/WWW/Shopify/Model/Transaction/Receipt.pm ↑ Summary blib/lib/WWW/Shopify/Model/Comment.pm »