Revolut_Webhook_Controller S

Total Complexity 49
Dependencies 8
Dependents 1
Total lines 460
Lines of code 270
Logical lines of code 120
Comment lines 109
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
handle_revolut_webhook()
C
33 23 105
handle_revolut_address_validation_webhook()
S
50 3 30
revolut_webhook_permission_callback()
S
60 4 13
register_routes()
S
47 1 49
revolut_address_validation_webhook_permission_callback()
S
63 3 11
capture_authorised_revolut_order()
S
58 2 16
is_revolut_order_authorised()
S
64 3 9
handle_revolut_webhook_deprecated_endpoint()
S
68 2 7
should_capture_revolut_order()
S
68 2 7
revolut_address_validation_webhook_permission_callback_live()
S
75 1 4
revolut_address_validation_webhook_permission_callback_sandbox()
S
75 1 4
revolut_webhook_permission_callback_sandbox()
S
75 1 4
revolut_webhook_permission_callback_live()
S
75 1 4
get_wc_order_id()
S
74 1 4
is_wc_order_completed()
S
80 1 3