Give_Stripe_Gateway A

Total Complexity 56
Dependencies 15
Dependents 3
Total lines 694
Lines of code 299
Logical lines of code 142
Comment lines 271
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
canShowFields()
A
49 7 35
get_customer_card()
S
47 6 37
process_charge()
S
52 6 22
create_charge()
S
49 5 30
is_3d_secure_required()
S
59 4 15
verify_payment()
S
61 4 11
log_error()
S
54 3 23
get_token_details()
S
56 3 19
set_api_version()
S
57 3 18
get_source_details()
S
56 3 18
prepare_source()
S
56 3 18
create_3d_secure_source()
S
50 2 29
save_stripe_customer_id()
S
64 3 9
prepare_metadata()
S
79 1 3
format_amount()
S
79 1 3
send_back_to_checkout()
S
80 1 3
__construct()
S
69 1 6