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

filter: Statementstmt 35.1% 19 / 54 Branchbran 3.1% 1 / 32 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 26.9% 7 / 26 Podpod 28.5% 6 / 21 totaltotal 24.8% 33 / 133 CC 16 SCAR 14.7
CC
16
Cov
23%
activate
5.5
activated_on
5.5
billing_on
5.5
CRAP 4.4
« blib/lib/WWW/Shopify/Model/Discount.pm ↑ Summary blib/lib/WWW/Shopify/Model/Location.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::RecurringApplicationCharge;
9 1 ▶use parent "WWW::Shopify::Model::Item";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 45 ▶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,3),
14 "price" => new WWW::Shopify::Field::Money(),
15 "return_url" => new WWW::Shopify::Field::String::URL(),
16 "activated_on" => new WWW::Shopify::Field::String::Words(1, 3),
17 "billing_on" => new WWW::Shopify::Field::Date(),
18 "cancelled_on" => new WWW::Shopify::Field::Date(),
19 "created_at" => new WWW::Shopify::Field::Date(),
20 "id" => new WWW::Shopify::Field::Identifier(),
21 "status" => new WWW::Shopify::Field::String::Enum(["pending", "accepted", "declined"]),
22 "test" => new WWW::Shopify::Field::Boolean(),
23 "trial_days" => new WWW::Shopify::Field::Int(0, 31),
24 "trial_ends_on" => new WWW::Shopify::Field::Date(),
25 "updated_at" => new WWW::Shopify::Field::Date(),
26 "confirmation_url" => new WWW::Shopify::Field::String::URL()};
27 }
28 0 ▶sub countable() { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
29 0 ▶sub creation_minimal { return qw(name price return_url); }
Subroutine creation_minimal: not called CC=1 SCAR=6.9
Pod documented
30 0 ▶sub creation_filled { return qw(id created_at confirmation_url); }
Subroutine creation_filled: not called CC=1 SCAR=6.9
Pod documented
31 0 ▶sub update_filled { return qw(updated_at); }
Subroutine update_filled: not called CC=1 SCAR=6.9
Pod documented
32 1 ▶sub actions { return qw(activate); }
Subroutine actions: called CC=1 SCAR=0.0
Pod documented
33  
34 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine activate: not called CC=2 SCAR=17.0
Subroutine activated_on: not called CC=2 SCAR=17.0
Subroutine billing_on: not called CC=2 SCAR=17.0
Subroutine cancelled_on: not called CC=2 SCAR=17.0
Subroutine confirmation_url: not called CC=2 SCAR=17.0
Subroutine created_at: not called CC=2 SCAR=17.0
Subroutine id: not called CC=2 SCAR=17.0
Subroutine name: not called CC=2 SCAR=17.0
Subroutine price: not called CC=2 SCAR=17.0
Subroutine return_url: not called CC=2 SCAR=17.0
Subroutine status: not called CC=2 SCAR=17.0
Subroutine test: not called CC=2 SCAR=17.0
Subroutine trial_days: not called CC=2 SCAR=17.0
Subroutine trial_ends_on: not called CC=2 SCAR=17.0
Subroutine updated_at: not called CC=2 SCAR=17.0
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 16 branches
BranchTrueFalseTotal
unless $sa 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 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 defined $_[1] 0 0 0
if $@ 0 1 1
35  
36 1 1;
« blib/lib/WWW/Shopify/Model/Discount.pm ↑ Summary blib/lib/WWW/Shopify/Model/Location.pm »