PayPal/Product.pm

filter: Statementstmt 58.8% 10 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 22.2% 2 / 9 Podpod 100% 7 / 7 totaltotal 57.5% 19 / 33 CC 1 SCAR 5.8
CC
1
Cov
59%
id
2.0
name
2.0
type
2.0
CRAP 1.8
« PayPal/Subscription.pm ↑ Summary PayPal/Plan.pm »
1 package WWW::PayPal::Product;
2  
3 # ABSTRACT: PayPal Catalogs Product entity
4  
5 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 our $VERSION = '0.003';
9  
10  
11 3 has _client => (
12 is => 'ro',
13 required => 1,
14 weak_ref => 1,
15 init_arg => 'client',
16 );
17  
18 3 has data => ( is => 'rw', required => 1 );
19  
20  
21 0 ▶sub id { $_[0]->data->{id} }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
22 0 ▶sub name { $_[0]->data->{name} }
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
23 0 ▶sub type { $_[0]->data->{type} }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
24 0 ▶sub category { $_[0]->data->{category} }
Subroutine category: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub description { $_[0]->data->{description} }
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
26 0 ▶sub create_time { $_[0]->data->{create_time} }
Subroutine create_time: not called CC=1 SCAR=6.9
Pod documented
27 0 ▶sub update_time { $_[0]->data->{update_time} }
Subroutine update_time: not called CC=1 SCAR=6.9
Pod documented
28  
29  
30 3 1;
31  
32 __END__
« PayPal/Subscription.pm ↑ Summary PayPal/Plan.pm »