| 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::Blog; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | 1 | ▶ | use parent 'WWW::Shopify::Model::Item'; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | 34 | ▶ | 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 | "title" => new WWW::Shopify::Field::String::Words(1, 3), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | "handle" => new WWW::Shopify::Field::String::Handle(), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | "commentable" => new WWW::Shopify::Field::String("(no|yes)"), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | "tags" => new WWW::Shopify::Field::String(), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | "metafields" => new WWW::Shopify::Field::Relation::Many("WWW::Shopify::Model::Metafield"), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | "id" => new WWW::Shopify::Field::Identifier(), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | "updated_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | "feedburner" => new WWW::Shopify::Field::String(), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | "feedburner_location" => new WWW::Shopify::Field::String(), | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | "template_suffix" => new WWW::Shopify::Field::String() | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | }; } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | 0 | ▶ | sub creation_minimal { return qw(title); } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
creation_minimal: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | 0 | ▶ | sub creation_filled { return qw(id created_at); } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
creation_filled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | 0 | ▶ | sub update_filled { return qw(updated_at); } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
update_filled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | 0 | ▶ | sub read_scope { return "read_content"; } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
read_scope: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | 0 | ▶ | sub write_scope { return "write_content"; } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
write_scope: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | 0 | ▶ | sub has_metafields { return 1; } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
has_metafields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | 0 | ▶ | eval(__PACKAGE__->generate_accessors); die $@ if $@; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
commentable: not called CC=2 SCAR=16.6
Subroutine
created_at: not called CC=2 SCAR=16.6
Subroutine
feedburner: not called CC=2 SCAR=16.6
Subroutine
feedburner_location: not called CC=2 SCAR=16.6
Subroutine
handle: not called CC=2 SCAR=16.6
Subroutine
id: not called CC=2 SCAR=16.6
Subroutine
tags: not called CC=2 SCAR=16.6
Subroutine
template_suffix: not called CC=2 SCAR=16.6
Subroutine
title: not called CC=2 SCAR=16.6
Subroutine
updated_at: not called CC=2 SCAR=16.6
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Branch: 11 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | 1 | 1 | |||||||||||||||||||||||||||||||||||||||||||||||||