blib/lib/WWW/Shopify/Model/Order/NoteAttributes.pm

filter: Statementstmt 75.0% 18 / 24 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 6 / 10 Podpod 40.0% 2 / 5 totaltotal 60.0% 27 / 45 CC 3 SCAR 7.2
CC
3
Cov
63%
name
3.7
value
3.7
singular
2.0
CRAP 2.1
« blib/lib/WWW/Shopify/Model/Order/LineItem/Property.pm ↑ Summary blib/lib/WWW/Shopify/Model/Order/DiscountCode.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::Order::NoteAttributes;
9 1 ▶use parent "WWW::Shopify::Model::NestedItem";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 9 ▶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, 3),
14 "value" => new WWW::Shopify::Field::String::Words(1, 10)};
15 }
16 0 ▶sub singular { return "note_attribute"; }
Subroutine singular: not called CC=1 SCAR=6.9
Pod documented
17 0 ▶sub identifier { return "name"; }
Subroutine identifier: not called CC=1 SCAR=6.9
Pod undocumented
18  
19 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine name: not called CC=2 SCAR=13.0
Subroutine value: not called CC=2 SCAR=13.0
Pod undocumented
Pod undocumented
Branch: 3 branches
BranchTrueFalseTotal
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if $@ 0 1 1
20  
21 1 1
« blib/lib/WWW/Shopify/Model/Order/LineItem/Property.pm ↑ Summary blib/lib/WWW/Shopify/Model/Order/DiscountCode.pm »