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

filter: Statementstmt 51.4% 18 / 35 Branchbran 7.1% 1 / 14 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.2% 6 / 17 Podpod 41.6% 5 / 12 totaltotal 38.4% 30 / 78 CC 7 SCAR 11.7
CC
7
Cov
39%
body
4.8
body_html
4.8
id
4.8
CRAP 3.2
« blib/lib/WWW/Shopify/Tooltips.pm ↑ Summary blib/lib/WWW/Shopify/Model/File.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::EmailTemplate;
9 1 ▶use parent "WWW::Shopify::Model::Item";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 21 ▶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 "body" => new WWW::Shopify::Field::Text(),
15 "body_html" => new WWW::Shopify::Field::String::HTML(),
16 "include_html" => new WWW::Shopify::Field::Boolean(),
17 "name" => new WWW::Shopify::Field::String(),
18 "title" => new WWW::Shopify::Field::String(),
19 }; }
20  
21 0 ▶sub update_fields { return qw(body_html body include_html title); }
Subroutine update_fields: not called CC=1 SCAR=6.9
Pod documented
22  
23 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub creatable { return undef; }
Subroutine creatable: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub deletable { return undef; }
Subroutine deletable: not called CC=1 SCAR=6.9
Pod documented
26  
27 0 ▶sub needs_login { return 1; }
Subroutine needs_login: not called CC=1 SCAR=6.9
Pod undocumented
28  
29 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine body: not called CC=2 SCAR=15.8
Subroutine body_html: not called CC=2 SCAR=15.8
Subroutine id: not called CC=2 SCAR=15.8
Subroutine include_html: not called CC=2 SCAR=15.8
Subroutine name: not called CC=2 SCAR=15.8
Subroutine title: not called CC=2 SCAR=15.8
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 7 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 $@ 0 1 1
30  
31 1 1;
« blib/lib/WWW/Shopify/Tooltips.pm ↑ Summary blib/lib/WWW/Shopify/Model/File.pm »