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

filter: Statementstmt 54.5% 18 / 33 Branchbran 8.3% 1 / 12 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.5% 6 / 16 Podpod 36.3% 4 / 11 totaltotal 40.2% 29 / 72 CC 6 SCAR 11.0
CC
6
Cov
42%
created_at
4.7
event
4.7
id
4.7
CRAP 3.0
« blib/lib/WWW/Shopify/Model/Webhook.pm ↑ Summary blib/lib/WWW/Shopify/Model/Locale/Authorship.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::ScriptTag;
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 1 ▶BEGIN { $fields = {
Subroutine BEGIN: called CC=1 SCAR=0.0
13 "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'),
14 "event" => new WWW::Shopify::Field::String::Enum(["onload"]),
15 "id" => new WWW::Shopify::Field::Identifier(),
16 "src" => new WWW::Shopify::Field::String::URL(),
17 "updated_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now')
18 }; }
19  
20 0 ▶sub creation_minimal { return qw(event src); }
Subroutine creation_minimal: not called CC=1 SCAR=6.9
Pod documented
21 0 ▶sub creation_filled { return qw(id created_at); }
Subroutine creation_filled: not called CC=1 SCAR=6.9
Pod documented
22 0 ▶sub update_filled { return qw(updated_at); }
Subroutine update_filled: not called CC=1 SCAR=6.9
Pod documented
23  
24 0 ▶sub read_scope { return "read_script_tags"; }
Subroutine read_scope: not called CC=1 SCAR=6.9
Pod undocumented
25 0 ▶sub write_scope { return "write_script_tags"; }
Subroutine write_scope: not called CC=1 SCAR=6.9
Pod undocumented
26  
27 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine created_at: not called CC=2 SCAR=15.4
Subroutine event: not called CC=2 SCAR=15.4
Subroutine id: not called CC=2 SCAR=15.4
Subroutine src: 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
28  
29 1 1;
« blib/lib/WWW/Shopify/Model/Webhook.pm ↑ Summary blib/lib/WWW/Shopify/Model/Locale/Authorship.pm »