Stripe/GeoLocation.pm

filter: Statementstmt 80.0% 20 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 58.3% 7 / 12 Podpod 100% 5 / 5 totaltotal 76.1% 32 / 42 CC 1 SCAR 3.5
CC
1
Cov
80%
city
2.0
country
2.0
latitude
2.0
CRAP 1.4
« Stripe/Connect/Account/Settings/Payments.pm ↑ Summary Stripe/Billing/Details.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/GeoLocation.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::GeoLocation;
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 city { return( shift->_set_get_scalar( 'city', @_ ) ); }
Subroutine city: not called CC=1 SCAR=6.9
Pod documented
24  
25 0 ▶sub country { return( shift->_set_get_scalar( 'country', @_ ) ); }
Subroutine country: not called CC=1 SCAR=6.9
Pod documented
26  
27 0 ▶sub latitude { return( shift->_set_get_number( 'latitude', @_ ) ); }
Subroutine latitude: not called CC=1 SCAR=6.9
Pod documented
28  
29 0 ▶sub longitude { return( shift->_set_get_number( 'longitude', @_ ) ); }
Subroutine longitude: not called CC=1 SCAR=6.9
Pod documented
30  
31 0 ▶sub region { return( shift->_set_get_scalar( 'region', @_ ) ); }
Subroutine region: not called CC=1 SCAR=6.9
Pod documented
32  
33 2 1;
34  
35 __END__
« Stripe/Connect/Account/Settings/Payments.pm ↑ Summary Stripe/Billing/Details.pm »