| 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::LinkList; | ||||||||||||||||||||||||||||||||||
| 9 | 1 | ▶ | use parent "WWW::Shopify::Model::Item"; | ||||||||||||||||||||||||||||||||
|
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 | "handle" => new WWW::Shopify::Field::String::Handle(), | ||||||||||||||||||||||||||||||||||
| 14 | "title" => new WWW::Shopify::Field::String(), | ||||||||||||||||||||||||||||||||||
| 15 | "id" => new WWW::Shopify::Field::Identifier(), | ||||||||||||||||||||||||||||||||||
| 16 | # "default" => new WWW::Shopify::Field::Boolean(), | ||||||||||||||||||||||||||||||||||
| 17 | "links" => new WWW::Shopify::Field::Relation::Many("WWW::Shopify::Model::LinkList::Link") | ||||||||||||||||||||||||||||||||||
| 18 | }; } | ||||||||||||||||||||||||||||||||||
| 19 | |||||||||||||||||||||||||||||||||||
| 20 | 0 | ▶ | sub singular { return "link_list"; } | ||||||||||||||||||||||||||||||||
|
Subroutine
singular: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 21 | 0 | ▶ | sub countable { return undef; } | ||||||||||||||||||||||||||||||||
|
Subroutine
countable: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||||||||
| 23 | 0 | ▶ | sub creation_minimal { return qw(handle); } | ||||||||||||||||||||||||||||||||
|
Subroutine
creation_minimal: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 24 | 0 | ▶ | sub creation_filled { return qw(id); } | ||||||||||||||||||||||||||||||||
|
Subroutine
creation_filled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 25 | 0 | ▶ | sub update_fields { return qw(handle title links); } | ||||||||||||||||||||||||||||||||
|
Subroutine
update_fields: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 26 | 0 | ▶ | sub update_filled { return qw(); } | ||||||||||||||||||||||||||||||||
|
Subroutine
update_filled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 27 | |||||||||||||||||||||||||||||||||||
| 28 | 0 | ▶ | sub needs_login { return 1; } | ||||||||||||||||||||||||||||||||
|
Subroutine
needs_login: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||||||||
| 30 | 0 | ▶ | eval(__PACKAGE__->generate_accessors); die $@ if $@; | ||||||||||||||||||||||||||||||||
|
Subroutine
handle: not called CC=2 SCAR=15.7
Subroutine
id: not called CC=2 SCAR=15.7
Subroutine
links: not called CC=4 SCAR=27.2
Subroutine
title: not called CC=2 SCAR=15.7
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Branch: 7 branches
| |||||||||||||||||||||||||||||||||||
| 31 | |||||||||||||||||||||||||||||||||||
| 32 | 1 | 1; | |||||||||||||||||||||||||||||||||