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

filter: Statementstmt 58.0% 18 / 31 Branchbran 10.0% 1 / 10 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 6 / 15 Podpod 60.0% 6 / 10 totaltotal 46.9% 31 / 66 CC 5 SCAR 10.0
CC
5
Cov
46%
accept_language
4.5
browser_ip
4.5
session_hash
4.5
CRAP 2.7
« blib/lib/WWW/Shopify/Field/Text.pm ↑ Summary blib/lib/WWW/Shopify/Model/SmartCollection/Rule.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::ClientDetails;
9 1 ▶use parent "WWW::Shopify::Model::NestedItem";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 15 ▶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 "accept_language" => new WWW::Shopify::Field::String(),
14 "browser_ip" => new WWW::Shopify::Field::String::IPAddress(),
15 "session_hash" => new WWW::Shopify::Field::String("[0-9A-F]{32}"),
16 "user_agent" => new WWW::Shopify::Field::String()
17 }; }
18 0 ▶sub singular { return 'client_details'; }
Subroutine singular: not called CC=1 SCAR=6.9
Pod documented
19 0 ▶sub plural { return 'client_details'; }
Subroutine plural: not called CC=1 SCAR=6.9
Pod documented
20 0 ▶sub creatable { return undef; }
Subroutine creatable: not called CC=1 SCAR=6.9
Pod documented
21 0 ▶sub updatable { return undef; }
Subroutine updatable: not called CC=1 SCAR=6.9
Pod documented
22 0 ▶sub deletable { return undef; }
Subroutine deletable: not called CC=1 SCAR=6.9
Pod documented
23  
24 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine accept_language: not called CC=2 SCAR=14.9
Subroutine browser_ip: not called CC=2 SCAR=14.9
Subroutine session_hash: not called CC=2 SCAR=14.9
Subroutine user_agent: not called CC=2 SCAR=14.9
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 5 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 $@ 0 1 1
25  
26 1 1;
« blib/lib/WWW/Shopify/Field/Text.pm ↑ Summary blib/lib/WWW/Shopify/Model/SmartCollection/Rule.pm »