SPC_Payment_Method_PayPal B

Total Complexity 83
Dependencies 1
Dependents 0
Total lines 767
Lines of code 652
Logical lines of code 219
Comment lines 20
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
options()
A
29 1 171
create_order()
A
37 6 85
enqueue_scripts()
A
52 9 23
process_refund()
A
47 8 33
generate_access_token()
A
46 7 37
get_fields()
A
40 3 95
process_payment()
A
48 7 31
admin_order_tab_content_paypal()
S
55 6 19
get_transaction_url()
S
61 5 12
checkout_validation()
S
66 5 7
make_request()
S
51 3 26
order_actions_options()
S
57 1 26
init()
S
54 1 19
create_order_status()
S
69 2 7
get_client_id()
S
70 2 5
get_secret()
S
70 2 5
is_active()
S
68 2 7
setup()
S
67 2 8
get_transaction_id()
S
71 2 6
admin_order_tab()
S
70 2 6
order_actions()
S
68 2 7
mode()
S
71 2 6
get_option()
S
79 1 3
reset_token()
S
74 1 5
get_capture_id()
S
80 1 3