TC_Gateway_API B

Total Complexity 99
Dependencies 3
Dependents 0
Total lines 392
Lines of code 269
Logical lines of code 169
Comment lines 15
Methods 38
Properties 7

Methods 38

Method Rating Maintainability Complexity Lines of code
buyer_info()
S
56 7 16
order_confirmation_message()
S
49 6 29
is_payment_page()
S
64 7 8
force_ssl()
S
66 6 8
save_payment_info()
S
54 4 20
cart_items()
S
58 4 13
_generate_failed_url()
S
60 4 12
_generate_cancel_url()
S
60 4 12
is_active()
S
62 4 11
total()
S
62 4 11
isSSL()
S
66 4 9
_checkout_confirmation_hook()
S
65 4 8
get_option()
S
64 4 8
show_cart_errors()
S
71 3 5
maybe_start_session()
S
73 3 5
__construct()
S
56 1 17
discount()
S
75 2 4
total_taxes()
S
75 2 4
get_global_currencies()
S
72 2 5
field_name()
S
70 2 6
_generate_ipn_url()
S
68 2 7
total_fees()
S
75 2 4
cart_info()
S
75 2 4
subtotal()
S
75 2 4
on_creation()
S
100 1 1
get_region_data()
S
83 1 3
get_country_data()
S
83 1 3
cart_error_content()
S
76 1 4
add_error()
S
69 1 7
init()
S
100 1 1
process_payment()
S
78 1 3
payment_form()
S
100 1 1
cart_contents()
S
77 1 4
order_confirmation()
S
100 1 1
ipn()
S
100 1 1
gateway_admin_settings()
S
100 1 1
order_confirmation_email()
S
83 1 3
save_cart_info()
S
70 1 6