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

filter: Statementstmt 50.0% 18 / 36 Branchbran 8.3% 1 / 12 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 31.5% 6 / 19 Podpod 46.1% 6 / 13 totaltotal 38.7% 31 / 80 CC 6 SCAR 10.5
CC
6
Cov
40%
created_at
4.7
id
4.7
name
4.7
CRAP 2.9
« blib/lib/WWW/Shopify/Model/Order/ShippingLine/TaxLine.pm ↑ Summary blib/lib/WWW/Shopify/Model/Product/Option.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::CustomerGroup;
9 1 ▶use parent "WWW::Shopify::Model::Item";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 18 ▶my $fields; sub fields { return $fields; }
Subroutine fields: called CC=1 SCAR=0.0
Pod documented
12 BEGIN { $fields = {
13 "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'),
14 "updated_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'),
15 "id" => new WWW::Shopify::Field::Identifier(),
16 "name" => new WWW::Shopify::Field::String::Words(1, 3),
17 "query" => new WWW::Shopify::Field::String::Custom(sub {
18 0 ▶ return 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
19 })
20 1 ▶}; }
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 0 ▶sub creation_minimal { return qw(name query); }
Subroutine creation_minimal: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub creation_filled { return qw(created_at id); }
Subroutine creation_filled: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub update_filled { return qw(updated_at); }
Subroutine update_filled: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub update_fields { return qw(name query); }
Subroutine update_fields: not called CC=1 SCAR=6.9
Pod documented
26 0 ▶sub throws_webhooks { return 1; }
Subroutine throws_webhooks: not called CC=1 SCAR=6.9
Pod documented
27  
28 0 ▶sub read_scope { return "read_customers"; }
Subroutine read_scope: not called CC=1 SCAR=6.9
Pod undocumented
29 0 ▶sub write_scope { return "write_customers"; }
Subroutine write_scope: not called CC=1 SCAR=6.9
Pod undocumented
30  
31 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine created_at: not called CC=2 SCAR=15.4
Subroutine id: not called CC=2 SCAR=15.4
Subroutine name: not called CC=2 SCAR=15.4
Subroutine query: not called CC=2 SCAR=15.4
Subroutine updated_at: not called CC=2 SCAR=15.4
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 6 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 $@ 0 1 1
32  
33 1 1;
« blib/lib/WWW/Shopify/Model/Order/ShippingLine/TaxLine.pm ↑ Summary blib/lib/WWW/Shopify/Model/Product/Option.pm »