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

filter: Statementstmt 47.3% 18 / 38 Branchbran 6.2% 1 / 16 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 31.5% 6 / 19 Podpod 42.8% 6 / 14 totaltotal 35.6% 31 / 87 CC 8 SCAR 12.2
CC
8
Cov
35%
access_token
5.0
api_client
5.0
api_permissions_count
5.0
CRAP 3.4
« blib/lib/WWW/Shopify/Model/Event.pm ↑ Summary blib/lib/WWW/Shopify/Tooltips.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::APIPermission;
9 1 ▶use parent 'WWW::Shopify::Model::Item';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 26 ▶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 "id" => new WWW::Shopify::Field::Identifier(),
14 "callback_url" => new WWW::Shopify::Field::String::URL(),
15 "preferences_url" => new WWW::Shopify::Field::String::URL(),
16 "app_url" => new WWW::Shopify::Field::String::URL(),
17 "api_permissions_count" => new WWW::Shopify::Field::Int(),
18 "api_client" => new WWW::Shopify::Field::Relation::OwnOne("WWW::Shopify::Model::APIClient"),
19 "access_token" => new WWW::Shopify::Field::String::Hash()
20 }; }
21  
22 0 ▶sub singular { return "api_permission"; }
Subroutine singular: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub needs_login { return 1; }
Subroutine needs_login: not called CC=1 SCAR=6.9
Pod undocumented
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 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
27  
28 0 ▶sub creation_filled { return qw(id); }
Subroutine creation_filled: not called CC=1 SCAR=6.9
Pod documented
29  
30 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine access_token: not called CC=2 SCAR=16.0
Subroutine api_client: not called CC=2 SCAR=16.0
Subroutine api_permissions_count: not called CC=2 SCAR=16.0
Subroutine app_url: not called CC=2 SCAR=16.0
Subroutine callback_url: not called CC=2 SCAR=16.0
Subroutine id: not called CC=2 SCAR=16.0
Subroutine preferences_url: not called CC=2 SCAR=16.0
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 8 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 defined $_[1] 0 0 0
if $@ 0 1 1
31  
32 1 1;
« blib/lib/WWW/Shopify/Model/Event.pm ↑ Summary blib/lib/WWW/Shopify/Tooltips.pm »