WPBDPStripeGateway A

Total Complexity 75
Dependencies 6
Dependents 1
Total lines 605
Lines of code 372
Logical lines of code 159
Comment lines 150
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
get_stripe_customer()
A
46 10 43
new_customer_data()
A
49 8 31
get_possible_user_ids()
S
54 7 19
get_session_parameters()
S
47 4 36
get_discounts()
S
54 4 24
get_stripe_plan()
S
56 4 17
render_form()
S
61 3 11
supports_currency()
S
45 1 35
get_payment_link()
S
68 3 7
set_listing_stripe_customer()
S
72 3 5
configure_stripe()
S
60 2 14
get_settings()
S
56 1 21
create_stripe_session()
S
66 2 8
cancel_subscription()
S
72 2 6
validate_settings()
S
66 2 9
get_posted_json()
S
68 2 7
connect_setting()
S
69 2 7
get_publishable_key()
S
73 2 5
create_stripe_plan()
S
60 1 13
get_id()
S
82 1 3
customer_meta_name()
S
81 1 3
handle_exception()
S
69 1 8
get_integration_method()
S
82 1 3
enqueue_scripts()
S
75 1 4
get_recurring_plan_fingerprint()
S
64 1 9
try_to_get_stripe_plan_with_id()
S
80 1 3
get_stripe_plan_fingerprint()
S
65 1 9
get_logo()
S
80 1 3
get_title()
S
79 1 3
formated_amount()
S
78 1 3
__construct()
S
78 1 3