| 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::Product::Option; | ||||||||||||||||||||||||||
| 9 | 1 | ▶ | use parent "WWW::Shopify::Model::NestedItem"; | ||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||
| 11 | 17 | ▶ | 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 | "id" => new WWW::Shopify::Field::Identifier(), | ||||||||||||||||||||||||||
| 15 | "position" => new WWW::Shopify::Field::Int(1, 3), | ||||||||||||||||||||||||||
| 16 | "product_id" => new WWW::Shopify::Field::Relation::Parent('WWW::Shopify::Model::Product') | ||||||||||||||||||||||||||
| 17 | }; } | ||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||
| 19 | 0 | ▶ | sub creation_minimal { return qw(name); } | ||||||||||||||||||||||||
|
Subroutine
creation_minimal: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||
| 20 | 0 | ▶ | sub creation_filled { return qw(id position); } | ||||||||||||||||||||||||
|
Subroutine
creation_filled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||
| 21 | |||||||||||||||||||||||||||
| 22 | 0 | ▶ | eval(__PACKAGE__->generate_accessors); die $@ if $@; | ||||||||||||||||||||||||
|
Subroutine
id: not called CC=2 SCAR=14.9
Subroutine
name: not called CC=2 SCAR=14.9
Subroutine
position: not called CC=2 SCAR=14.9
Subroutine
product_id: not called CC=2 SCAR=14.9
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Branch: 5 branches
| |||||||||||||||||||||||||||
| 23 | |||||||||||||||||||||||||||
| 24 | 1 | 1 | |||||||||||||||||||||||||