Stripe/Identity.pm

filter: Statementstmt 83.3% 20 / 24 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 80.0% 28 / 35 CC 2 SCAR 7.5
CC
2
Cov
77%
init
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.1
« Stripe/TimeZone.pm ↑ Summary Stripe/Billing/Invoice.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Identity.pm
3 ## Version v0.1.0
4 ## Copyright(c) 2022 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2022/01/20
7 ## Modified 2022/01/20
8 ## All rights reserved
9 ##
10 ## This program is free software; you can redistribute it and/or modify it
11 ## under the same terms as Perl itself.
12 ##----------------------------------------------------------------------------
13 package Net::API::Stripe::Identity;
14 BEGIN
15 1 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶ use parent qw( Module::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 our $VERSION = 'v0.1.0';
21 };
22  
23 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 sub init
27 0 ▶{
Subroutine init: not called CC=2 SCAR=17.9
Pod documented
28 0 my $self = shift( @_ );
29 0 $self->{_init_strict_use_sub} = 1;
30 0 ▶ $self->SUPER::init( @_ ) || return( $self->pass_error );
Branch: 1 branch
BranchTrueFalseTotal
$self->SUPER::init(@_) or return $self->pass_error 0 0 0
31 0 return( $self );
32 }
33  
34 1 1;
35  
36 __END__
« Stripe/TimeZone.pm ↑ Summary Stripe/Billing/Invoice.pm »