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

filter: Statementstmt 57.1% 20 / 35 Branchbran 10.0% 1 / 10 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.1% 8 / 19 Podpod 61.5% 8 / 13 totaltotal 48.0% 37 / 77 CC 5 SCAR 9.2
CC
5
Cov
47%
english
4.5
id
4.5
locale_id
4.5
CRAP 2.5
« blib/lib/WWW/Shopify/Model/Order/TaxLine.pm ↑ Summary blib/lib/WWW/Shopify/Model/CustomCollection/Image.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::LocaleTranslation;
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 parent { return "WWW::Shopify::Model::Locale"; }
Subroutine parent: not called CC=1 SCAR=6.9
Pod documented
13  
14 17 ▶my $fields; sub fields { return $fields; }
Subroutine fields: called CC=1 SCAR=0.0
Pod documented
15 1 ▶BEGIN { $fields = {
Subroutine BEGIN: called CC=1 SCAR=0.0
16 "english" => new WWW::Shopify::Field::String(),
17 "id" => new WWW::Shopify::Field::Identifier(),
18 "locale_id" => new WWW::Shopify::Field::Relation::Parent("WWW::Shopify::Model::Locale"),
19 "text" => new WWW::Shopify::Field::Text()
20 }; }
21  
22 0 ▶sub creation_minimal { return qw(english locale_id text); }
Subroutine creation_minimal: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub update_fields { qw(text) }
Subroutine update_fields: not called CC=1 SCAR=6.9
Pod documented
24  
25 0 ▶sub get_through_parent { return undef; }
Subroutine get_through_parent: not called CC=1 SCAR=6.9
Pod documented
26 0 ▶sub get_all_through_parent { return undef; }
Subroutine get_all_through_parent: not called CC=1 SCAR=6.9
Pod documented
27  
28 2 ▶my $queries; sub queries { return $queries; }
Subroutine queries: called CC=1 SCAR=0.0
Pod documented
29 1 ▶BEGIN { $queries = {
Subroutine BEGIN: called CC=1 SCAR=0.0
30 locale_id => new WWW::Shopify::Query::Match('locale_id'),
31 }; }
32  
33 0 ▶sub needs_login { return 1; }
Subroutine needs_login: not called CC=1 SCAR=6.9
Pod undocumented
34  
35 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine english: not called CC=2 SCAR=14.9
Subroutine id: not called CC=2 SCAR=14.9
Subroutine locale_id: not called CC=2 SCAR=14.9
Subroutine text: not called CC=2 SCAR=14.9
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 5 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 $@ 0 1 1
36  
37 1 1
« blib/lib/WWW/Shopify/Model/Order/TaxLine.pm ↑ Summary blib/lib/WWW/Shopify/Model/CustomCollection/Image.pm »