WPSC_Payment_Gateway_Amazon_Payments C

Total Complexity 113
Dependencies 9
Dependents 0
Total lines 938
Lines of code 617
Logical lines of code 346
Comment lines 126
Methods 27
Properties 13

Methods 27

Method Rating Maintainability Complexity Lines of code
process()
B
36 15 78
set_customer_details()
A
38 13 65
set_customer_address()
A
44 10 45
setup_form()
A
33 3 134
__construct()
A
49 10 24
define_widget_constants()
A
55 9 20
get_signed_amazon_url()
S
48 5 29
init()
S
51 5 25
scripts()
S
52 5 22
api_request()
S
50 4 28
address_widget()
S
58 2 23
remove_gateways_v2()
S
64 3 10
lazy_load_location_meta()
S
69 3 6
load()
S
77 3 3
checkout_message()
S
71 3 5
insert_reference_id()
S
70 3 7
handle_declined_transaction()
S
60 2 13
log()
S
60 2 13
add_widgets_to_method_form()
S
62 2 12
insert_reference_id_to_form()
S
63 2 11
maybe_hide_standard_checkout_button()
S
68 2 11
checkout_button()
S
73 2 6
head_script()
S
70 1 9
remove_gateways()
S
81 1 3
payment_widget()
S
69 1 9
get_image_url()
S
78 1 3
get_amazon_ipn_url()
S
77 1 3