| 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::Theme; | ||||||||||||||||||||||||||||||
| 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 | "name" => new WWW::Shopify::Field::String::Words(1), | ||||||||||||||||||||||||||||||
| 14 | "role" => new WWW::Shopify::Field::String::Enum(["main", "mobile", "unpublished"]), | ||||||||||||||||||||||||||||||
| 15 | "id" => new WWW::Shopify::Field::Identifier(), | ||||||||||||||||||||||||||||||
| 16 | "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'), | ||||||||||||||||||||||||||||||
| 17 | "updated_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now') | ||||||||||||||||||||||||||||||
| 18 | }; } | ||||||||||||||||||||||||||||||
| 19 | |||||||||||||||||||||||||||||||
| 20 | 0 | ▶ | sub countable { return 0; } | ||||||||||||||||||||||||||||
|
Subroutine
countable: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||
| 21 | |||||||||||||||||||||||||||||||
| 22 | 0 | ▶ | sub creation_minimal { return qw(name role); } | ||||||||||||||||||||||||||||
|
Subroutine
creation_minimal: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||
| 23 | 0 | ▶ | sub creation_filled { return qw(id created_at); } | ||||||||||||||||||||||||||||
|
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(role name); } | ||||||||||||||||||||||||||||
|
Subroutine
update_fields: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||
| 26 | |||||||||||||||||||||||||||||||
| 27 | 0 | ▶ | sub read_scope { return "read_themes"; } | ||||||||||||||||||||||||||||
|
Subroutine
read_scope: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||
| 28 | 0 | ▶ | sub write_scope { return "write_themes"; } | ||||||||||||||||||||||||||||
|
Subroutine
write_scope: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||||
| 30 | 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
role: 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
| |||||||||||||||||||||||||||||||
| 31 | |||||||||||||||||||||||||||||||
| 32 | 1 | 1 | |||||||||||||||||||||||||||||