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

filter: Statementstmt 42.8% 18 / 42 Branchbran 4.1% 1 / 24 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.2% 6 / 17 Podpod 41.6% 5 / 12 totaltotal 31.5% 30 / 95 CC 12 SCAR 19.8
CC
12
Cov
29%
refund_line_items
17.1
transactions
17.1
created_at
5.3
CRAP 7.3
« blib/lib/WWW/Shopify/Model/Order.pm ↑ Summary blib/lib/WWW/Shopify/Model/FulfillmentService.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::Refund;
9 1 ▶use parent 'WWW::Shopify::Model::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 28 ▶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 "created_at" => new WWW::Shopify::Field::Date(),
14 "id" => new WWW::Shopify::Field::Identifier(),
15 "note" => new WWW::Shopify::Field::String(),
16 "refund_line_items" => new WWW::Shopify::Field::Relation::Many('WWW::Shopify::Model::Refund::LineItem'),
17 "restock" => new WWW::Shopify::Field::Boolean(),
18 "transactions" => new WWW::Shopify::Field::Relation::Many('WWW::Shopify::Model::Transaction'),
19 "user_id" => new WWW::Shopify::Field::Identifier()
20 }; }
21  
22 0 ▶sub parent { return 'WWW::Shopify::Model::Order'; }
Subroutine parent: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub creatable { return undef; }
Subroutine creatable: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub updatable { return undef; }
Subroutine updatable: 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 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine created_at: not called CC=2 SCAR=16.6
Subroutine id: not called CC=2 SCAR=16.6
Subroutine note: not called CC=2 SCAR=16.6
Subroutine refund_line_items: not called CC=4 SCAR=28.4
Subroutine restock: not called CC=2 SCAR=16.6
Subroutine transactions: not called CC=4 SCAR=28.4
Subroutine user_id: not called CC=2 SCAR=16.6
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 12 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
unless defined $_[0]{"refund_line_items"} 0 0 0
if wantarray 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
unless defined $_[0]{"transactions"} 0 0 0
if wantarray 0 0 0
if defined $_[1] 0 0 0
if $@ 0 1 1
28  
29 1 1;
« blib/lib/WWW/Shopify/Model/Order.pm ↑ Summary blib/lib/WWW/Shopify/Model/FulfillmentService.pm »