WPSC_Payment_Gateway_Paypal_Express_Checkout D

Total Complexity 147
Dependencies 8
Dependents 0
Total lines 1,287
Lines of code 841
Logical lines of code 475
Comment lines 266
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
set_post_var()
B
44 17 44
process_refund()
A
41 13 52
do_transaction()
A
42 11 48
setup_form()
A
32 3 166
callback_process_confirmed_payment()
A
44 9 43
log_payer_details()
S
53 7 24
process()
S
46 6 38
callback_ipn()
S
53 7 22
__construct()
S
48 5 34
incontext_load_scripts()
S
58 6 13
callback_shortcut_process()
S
42 3 53
callback_credit_process()
S
42 3 53
get_redirect_url()
S
56 5 19
pull_paypal_details()
S
54 4 21
add_ecs_button()
S
61 5 10
callback_confirm_transaction()
S
64 4 9
add_credit_button()
S
62 4 10
log_error()
S
57 2 17
filter_paypal_error_page()
S
57 2 17
set_purchase_log_for_callbacks()
S
64 3 10
log_protection_status()
S
62 2 11
convert()
S
71 2 6
get_currency_code()
S
68 2 7
validate_var()
S
72 2 6
callback_review_transaction()
S
66 2 8
add_credit_button_tev1()
S
68 2 6
review_order_url()
S
71 2 6
filter_unselect_default()
S
70 2 6
get_return_url()
S
62 1 12
init()
S
69 1 7
review_order_shipping_details()
S
63 1 10
callback_display_paypal_error()
S
79 1 3
callback_display_generic_error()
S
79 1 3
get_shortcut_url()
S
68 1 7
review_order_buyer_details()
S
64 1 9
filter_generic_error_page()
S
65 1 9
is_currency_supported()
S
79 1 3
get_notify_url()
S
68 1 7
get_mark_html()
S
75 1 4
review_order_callback()
S
67 1 8