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

filter: Statementstmt 50.0% 18 / 36 Branchbran 6.2% 1 / 16 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.2% 6 / 17 Podpod 41.6% 5 / 12 totaltotal 37.0% 30 / 81 CC 8 SCAR 12.5
CC
8
Cov
37%
cause_cancel
5.0
display
5.0
message
5.0
CRAP 3.5
« blib/lib/WWW/Shopify/Model/CarrierService.pm ↑ Summary blib/lib/WWW/Shopify/Model/Country/Province.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::Risk;
9 1 ▶use parent "WWW::Shopify::Model::Item";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 0 ▶sub parent { return 'WWW::Shopify::Model::Order'; }
Subroutine parent: not called CC=1 SCAR=6.9
Pod documented
12 24 ▶my $fields; sub fields { return $fields; }
Subroutine fields: called CC=1 SCAR=0.0
Pod documented
13 1 ▶BEGIN { $fields = {
Subroutine BEGIN: called CC=1 SCAR=0.0
14 "order_id" => new WWW::Shopify::Field::Money(),
15 "message" => new WWW::Shopify::Field::String(),
16 "recommendation" => new WWW::Shopify::Field::String::Enum([qw(cancel investigate accept)]),
17 "score" => new WWW::Shopify::Field::Float(),
18 "cause_cancel" => new WWW::Shopify::Field::Boolean(),
19 "source" => new WWW::Shopify::Field::String(),
20 "display" => new WWW::Shopify::Field::Boolean()
21 }; }
22  
23 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub deletable { return 1; }
Subroutine deletable: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub gettable { return undef; }
Subroutine gettable: not called CC=1 SCAR=6.9
Pod documented
26  
27 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine cause_cancel: not called CC=2 SCAR=16.0
Subroutine display: not called CC=2 SCAR=16.0
Subroutine message: not called CC=2 SCAR=16.0
Subroutine order_id: not called CC=2 SCAR=16.0
Subroutine recommendation: not called CC=2 SCAR=16.0
Subroutine score: not called CC=2 SCAR=16.0
Subroutine source: not called CC=2 SCAR=16.0
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 8 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 defined $_[1] 0 0 0
if $@ 0 1 1
28  
29 1 1;
« blib/lib/WWW/Shopify/Model/CarrierService.pm ↑ Summary blib/lib/WWW/Shopify/Model/Country/Province.pm »