SPC_Payment_Method_PayPal A

Total Complexity 59
Dependencies 9
Dependents 0
Total lines 641
Lines of code 558
Logical lines of code 171
Comment lines 11
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
options()
A
30 1 166
get_fields()
A
40 3 96
create_order()
A
38 4 78
process_payment()
S
47 6 33
process_refund()
S
45 5 41
admin_order_tab_content_paypal()
S
55 6 19
get_transaction_url()
S
61 5 12
enqueue_scripts()
S
63 5 9
mode()
S
70 3 6
order_actions_options()
S
57 1 26
init()
S
55 1 18
get_environment()
S
68 2 7
is_active()
S
68 2 7
get_secret()
S
77 2 3
get_client_id()
S
77 2 3
get_transaction_id()
S
71 2 6
admin_order_tab()
S
70 2 6
create_order_status()
S
71 2 6
order_actions()
S
68 2 7
get_capture_id()
S
80 1 3
get_mode()
S
79 1 3
get_option()
S
79 1 3