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

filter: Statementstmt 64.2% 18 / 28 Branchbran 12.5% 1 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 46.1% 6 / 13 Podpod 37.5% 3 / 8 totaltotal 49.1% 28 / 57 CC 4 SCAR 8.9
CC
4
Cov
53%
id
4.1
path
4.1
target
4.1
CRAP 2.4
« blib/lib/WWW/Shopify/Model/CustomCollection/Image.pm ↑ Summary blib/lib/WWW/Shopify/Model/Order/Fulfillment/LineItem.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::Redirect;
9 1 ▶use parent 'WWW::Shopify::Model::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 12 ▶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 "path" => new WWW::Shopify::Field::String(),
14 "target" => new WWW::Shopify::Field::String(),
15 "id" => new WWW::Shopify::Field::Identifier()
16 }; }
17  
18 0 ▶sub creation_minimal { return qw(path target); }
Subroutine creation_minimal: not called CC=1 SCAR=6.9
Pod documented
19 0 ▶sub creation_filled { return qw(id); }
Subroutine creation_filled: not called CC=1 SCAR=6.9
Pod documented
20  
21 0 ▶sub read_scope { return "read_content"; }
Subroutine read_scope: not called CC=1 SCAR=6.9
Pod undocumented
22 0 ▶sub write_scope { return "write_content"; }
Subroutine write_scope: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine id: not called CC=2 SCAR=14.2
Subroutine path: not called CC=2 SCAR=14.2
Subroutine target: 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
25  
26 1 1
« blib/lib/WWW/Shopify/Model/CustomCollection/Image.pm ↑ Summary blib/lib/WWW/Shopify/Model/Order/Fulfillment/LineItem.pm »