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

filter: Statementstmt 38.0% 19 / 50 Branchbran 3.5% 1 / 28 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 29.1% 7 / 24 Podpod 31.5% 6 / 19 totaltotal 27.2% 33 / 121 CC 14 SCAR 14.4
CC
14
Cov
26%
activate
5.4
activated_on
5.4
billing_on
5.4
CRAP 4.2
« blib/lib/WWW/Shopify/Model/APIClient.pm ↑ Summary Build »
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::ApplicationCharge;
9 1 ▶use parent "WWW::Shopify::Model::Item";
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 39 ▶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 "updated_at" => new WWW::Shopify::Field::Date(),
24 "confirmation_url" => new WWW::Shopify::Field::String::URL()
25 }; }
26 0 ▶sub countable { return undef; }
Subroutine countable: not called CC=1 SCAR=6.9
Pod documented
27 1 ▶sub actions { return qw(activate); }
Subroutine actions: called CC=1 SCAR=0.0
Pod documented
28  
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  
33 0 ▶eval(__PACKAGE__->generate_accessors); die $@ if $@;
Subroutine activate: not called CC=2 SCAR=16.9
Subroutine activated_on: not called CC=2 SCAR=16.9
Subroutine billing_on: not called CC=2 SCAR=16.9
Subroutine cancelled_on: not called CC=2 SCAR=16.9
Subroutine confirmation_url: not called CC=2 SCAR=16.9
Subroutine created_at: not called CC=2 SCAR=16.9
Subroutine id: not called CC=2 SCAR=16.9
Subroutine name: not called CC=2 SCAR=16.9
Subroutine price: not called CC=2 SCAR=16.9
Subroutine return_url: not called CC=2 SCAR=16.9
Subroutine status: not called CC=2 SCAR=16.9
Subroutine test: not called CC=2 SCAR=16.9
Subroutine updated_at: not called CC=2 SCAR=16.9
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: 14 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 $@ 0 1 1
34  
35 1 1;
« blib/lib/WWW/Shopify/Model/APIClient.pm ↑ Summary Build »