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

filter: Statementstmt 51.4% 18 / 35 Branchbran 7.1% 1 / 14 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.2% 6 / 17 Podpod 41.6% 5 / 12 totaltotal 38.4% 30 / 78 CC 7 SCAR 11.7
CC
7
Cov
39%
content_type
4.8
created_at
4.8
key
4.8
CRAP 3.2
« blib/lib/WWW/Shopify/Model/EmailTemplate.pm ↑ Summary blib/lib/WWW/Shopify/Model/Order/PaymentDetails.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::File;
9 1 ▶use parent 'WWW::Shopify::Model::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 21 ▶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 "key" => new WWW::Shopify::Field::Identifier::String(),
14 "public_url" => new WWW::Shopify::Field::String::URL(),
15 "created_at" => new WWW::Shopify::Field::Date(),
16 "updated_at" => new WWW::Shopify::Field::Date(),
17 "content_type" => new WWW::Shopify::Field::String(),
18 "size" => new WWW::Shopify::Field::Int()
19 }; }
20  
21 # Use upload_files.
22 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub creatable { return undef; }
Subroutine creatable: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub updatable { return undef; }
Subroutine updatable: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub deletable { return undef; }
Subroutine deletable: not called CC=1 SCAR=6.9
Pod documented
26  
27 0 ▶sub needs_login { return 1; }
Subroutine needs_login: not called CC=1 SCAR=6.9
Pod undocumented
28  
29  
30 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine content_type: not called CC=2 SCAR=15.8
Subroutine created_at: not called CC=2 SCAR=15.8
Subroutine key: not called CC=2 SCAR=15.8
Subroutine public_url: not called CC=2 SCAR=15.8
Subroutine size: not called CC=2 SCAR=15.8
Subroutine updated_at: not called CC=2 SCAR=15.8
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 7 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 defined $_[1] 0 0 0
if $@ 0 1 1
31  
32 1 1;
« blib/lib/WWW/Shopify/Model/EmailTemplate.pm ↑ Summary blib/lib/WWW/Shopify/Model/Order/PaymentDetails.pm »