SPC_Payment_Method_Square C

Total Complexity 118
Dependencies 7
Dependents 0
Total lines 835
Lines of code 637
Logical lines of code 343
Comment lines 26
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
options()
A
33 10 115
square_connect_return()
A
47 8 35
process_refund()
A
43 7 47
init_order()
S
44 6 45
square_disconnect()
S
47 6 35
create_order()
S
56 6 17
refresh_token()
S
49 5 29
setup()
S
55 5 19
get_location_id()
S
61 5 13
get_locations()
S
52 4 23
get_transaction_url()
S
61 4 12
enqueue_scripts()
S
54 3 21
square_connect_display()
S
56 3 18
get_application_fee_amount()
S
59 3 15
secure_token()
S
59 3 13
init()
S
50 2 27
get_fields()
S
59 2 16
get_idempotency_key()
S
68 3 6
mode()
S
70 3 6
square_refresh_token()
S
66 3 8
get_access_token()
S
64 3 10
square_refresh_locations()
S
65 3 9
admin_order_tab_content_square()
S
59 2 13
order_actions_options()
S
57 1 26
is_active()
S
69 2 7
get_refresh_token()
S
67 2 8
get_merchant_id()
S
69 2 7
init_setup()
S
72 2 6
admin_order_tab()
S
70 2 6
order_actions()
S
68 2 7
get_application_id()
S
71 2 6
get_application_fee_percent()
S
79 1 3
get_mode()
S
80 1 3
get_transaction_id()
S
80 1 3
get_app_fee()
S
80 1 3