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

filter: Statementstmt 72.0% 18 / 25 Branchbran 12.5% 1 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 6 / 10 Podpod 20.0% 1 / 5 totaltotal 54.1% 26 / 48 CC 4 SCAR 9.3
CC
4
Cov
58%
price
4.1
rate
4.1
title
4.1
CRAP 2.5
« blib/lib/WWW/Shopify/Model/SmartCollection/Image.pm ↑ Summary blib/lib/WWW/Shopify/Model/LocaleTranslation.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::TaxLine;
9 1 ▶use parent "WWW::Shopify::Model::NestedItem";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 24 ▶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 "price" => new WWW::Shopify::Field::Money(),
14 "rate" => new WWW::Shopify::Field::Float(0.01, 0.5),
15 "title" => new WWW::Shopify::Field::String::Words(1, 3)
16 }; }
17  
18 0 ▶sub identifier { return qw(title); }
Subroutine identifier: not called CC=1 SCAR=6.9
Pod undocumented
19  
20 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine price: not called CC=2 SCAR=14.2
Subroutine rate: not called CC=2 SCAR=14.2
Subroutine title: not called CC=2 SCAR=14.2
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 4 branches
BranchTrueFalseTotal
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if defined $_[1] 0 0 0
if $@ 0 1 1
21  
22 1 1;
« blib/lib/WWW/Shopify/Model/SmartCollection/Image.pm ↑ Summary blib/lib/WWW/Shopify/Model/LocaleTranslation.pm »