SPC_Payment_Method_PayPal A

Total Complexity 74
Dependencies 1
Dependents 0
Total lines 710
Lines of code 606
Logical lines of code 192
Comment lines 9
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
options()
A
29 1 171
get_fields()
A
40 3 95
create_order()
S
39 4 71
process_refund()
S
50 6 28
process_payment()
S
50 6 26
admin_order_tab_content_paypal()
S
55 6 19
generate_access_token()
S
49 5 30
get_transaction_url()
S
61 5 12
checkout_validation()
S
66 5 7
enqueue_scripts()
S
63 5 9
make_request()
S
52 3 23
mode()
S
70 3 6
order_actions_options()
S
57 1 26
init()
S
54 1 19
setup()
S
67 2 8
is_active()
S
68 2 7
get_secret()
S
70 2 5
get_client_id()
S
70 2 5
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
reset_token()
S
74 1 5
get_capture_id()
S
80 1 3
get_mode()
S
79 1 3
get_option()
S
79 1 3