myCRED_Payment_Gateway D

Total Complexity 298
Dependencies 2
Dependents 1
Total lines 2,267
Lines of code 1,327
Logical lines of code 644
Comment lines 453
Methods 73
Properties 23

Methods 73

Method Rating Maintainability Complexity Lines of code
get_billing_address_form()
D
30 37 113
valid_request()
B
43 17 42
list_option_countries()
B
21
3 250
IPN_is_valid_sale()
A
46 16 36
get_page_header()
A
44 11 45
add_pending_payment()
A
44 10 41
checkout_logo()
A
55 11 17
get_cost()
A
50 10 27
IPN_has_required_fields()
A
51 10 27
__construct()
A
52 9 21
checkout_footer()
A
52 8 21
list_option_us_states()
A
39 5 64
exchange_rate_setup()
S
50 7 26
get_recipient_id()
S
52 7 24
currencies_dropdown()
S
44 5 40
exceeds_limit()
S
53 6 24
field_name()
S
57 6 16
field_id()
S
57 6 16
populate_transaction()
S
51 5 28
get_buyers_name()
S
59 6 12
list_option_card_years()
S
54 5 20
get_entry()
S
62 6 10
get_thankyou()
S
58 5 14
transaction_exists()
S
43 2 58
get_page_redirect()
S
54 4 19
item_types_dropdown()
S
56 4 16
complete_payment()
S
49 3 29
get_amount()
S
61 4 11
checkout_order()
S
53 3 22
list_option_months()
S
53 3 21
get_point_type()
S
65 4 9
transaction_id_is_unique()
S
58 3 15
verify_token()
S
63 3 9
POST_to_data()
S
65 3 9
get_log_entry()
S
67 3 7
get_errors()
S
65 3 9
checkout_header()
S
66 3 7
get_debug()
S
55 1 28
log_call()
S
72 2 5
email_notice()
S
71 2 5
create_unique_transaction_id()
S
65 2 8
decode_sales_data()
S
71 2 6
new_log_entry()
S
72 2 5
encode_sales_data()
S
71 2 6
create_token()
S
79 1 3
form_with_redirect()
S
79 1 3
IPN_is_valid_call()
S
82 1 3
log_entry()
S
79 1 3
purchase_footer()
S
82 1 3
checkout_cancel()
S
72 1 4
prep_sale()
S
98 1 1
send_json()
S
75 1 4
process()
S
98 1 1
returning()
S
98 1 1
ajax_buy()
S
98 1 1
buy()
S
98 1 1
admin_init()
S
98 1 1
preferences()
S
82 1 3
sanitise_preferences()
S
82 1 3
checkout_transaction_id()
S
73 1 4
checkout_page_title()
S
98 1 1
get_page_footer()
S
72 1 7
checkout_page_body()
S
98 1 1
checkout_page_footer()
S
98 1 1
first_comment()
S
82 1 3
get_pending_payment()
S
75 1 4
get_to()
S
81 1 3
get_cancelled()
S
70 1 6
callback_url()
S
74 1 4
start_log()
S
73 1 5
save_log_entry()
S
65 1 9
purchase_header()
S
80 1 3
trash_pending_payment()
S
80 1 3