SPC_Payment_Method_Square D

Total Complexity 134
Dependencies 1
Dependents 0
Total lines 894
Lines of code 682
Logical lines of code 360
Comment lines 23
Methods 37
Properties 5

Methods 37

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