blib/lib/WWW/Shopify/Model/Order/Fulfillment/Receipt.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 60.0% 3 / 5 totaltotal 62.2% 28 / 45 CC 3 SCAR 7.2
CC
3
Cov
63%
authorization
3.7
testcase
3.7
creation_minimal
2.0
CRAP 2.1
« blib/lib/WWW/Shopify/Model/ProductSearchEngine.pm ↑ Summary blib/lib/WWW/Shopify/Query.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::Fulfillment::Receipt;
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 "testcase" => new WWW::Shopify::Field::Boolean(),
14 "authorization" => new WWW::Shopify::Field::String("[0-9]{5,10}")};
15 }
16 0 ▶sub creation_minimal { return qw(title); }
Subroutine creation_minimal: not called CC=1 SCAR=6.9
Pod documented
17 0 ▶sub creation_filled { return qw(id); }
Subroutine creation_filled: not called CC=1 SCAR=6.9
Pod documented
18  
19 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine authorization: not called CC=2 SCAR=13.0
Subroutine testcase: 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/ProductSearchEngine.pm ↑ Summary blib/lib/WWW/Shopify/Query.pm »