Stripe/Billing/Plan/TransformUsage.pm

filter: Statementstmt 90.9% 20 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 77.7% 7 / 9 Podpod 100% 2 / 2 totaltotal 87.8% 29 / 33 CC 1 SCAR 2.0
CC
1
Cov
91%
divide_by
2.0
round
2.0
BEGIN
1.0
CRAP 1.2
« Stripe/Billing/Invoice/Period.pm ↑ Summary Stripe/Billing/TestClock.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Billing/Plan/TransformUsage.pm
3 ## Version v0.100.0
4 ## Copyright(c) 2019 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2019/11/02
7 ## Modified 2020/05/15
8 ##
9 ##----------------------------------------------------------------------------
10 package Net::API::Stripe::Billing::Plan::TransformUsage;
11 BEGIN
12 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
13 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
16 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 our( $VERSION ) = 'v0.100.0';
18 };
19  
20 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 0 ▶sub divide_by { return( shift->_set_get_scalar( 'divide_by', @_ ) ); }
Subroutine divide_by: not called CC=1 SCAR=6.9
Pod documented
24  
25 0 ▶sub round { return( shift->_set_get_scalar( 'round', @_ ) ); }
Subroutine round: not called CC=1 SCAR=6.9
Pod documented
26  
27 2 1;
28  
29 __END__
« Stripe/Billing/Invoice/Period.pm ↑ Summary Stripe/Billing/TestClock.pm »