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

filter: Statementstmt 51.4% 18 / 35 Branchbran 8.3% 1 / 12 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 6 / 18 Podpod 46.1% 6 / 13 totaltotal 39.7% 31 / 78 CC 6 SCAR 10.7
CC
6
Cov
40%
created_at
4.7
id
4.7
name
4.7
CRAP 2.9
« blib/lib/WWW/Shopify/Model/ScriptTag.pm ↑ Summary blib/lib/WWW/Shopify/Model/Refund/LineItem.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::Theme;
9 1 ▶use parent 'WWW::Shopify::Model::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 18 ▶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 "name" => new WWW::Shopify::Field::String::Words(1),
14 "role" => new WWW::Shopify::Field::String::Enum(["main", "mobile", "unpublished"]),
15 "id" => new WWW::Shopify::Field::Identifier(),
16 "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'),
17 "updated_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now')
18 }; }
19  
20 0 ▶sub countable { return 0; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
21  
22 0 ▶sub creation_minimal { return qw(name role); }
Subroutine creation_minimal: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub creation_filled { return qw(id created_at); }
Subroutine creation_filled: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub update_filled { return qw(updated_at); }
Subroutine update_filled: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub update_fields { return qw(role name); }
Subroutine update_fields: not called CC=1 SCAR=6.9
Pod documented
26  
27 0 ▶sub read_scope { return "read_themes"; }
Subroutine read_scope: not called CC=1 SCAR=6.9
Pod undocumented
28 0 ▶sub write_scope { return "write_themes"; }
Subroutine write_scope: not called CC=1 SCAR=6.9
Pod undocumented
29  
30 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine created_at: not called CC=2 SCAR=15.4
Subroutine id: not called CC=2 SCAR=15.4
Subroutine name: not called CC=2 SCAR=15.4
Subroutine role: not called CC=2 SCAR=15.4
Subroutine updated_at: not called CC=2 SCAR=15.4
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 6 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 $@ 0 1 1
31  
32 1 1
« blib/lib/WWW/Shopify/Model/ScriptTag.pm ↑ Summary blib/lib/WWW/Shopify/Model/Refund/LineItem.pm »