AISK_WhatsApp_Handler A

Total Complexity 56
Dependencies 5
Dependents 1
Total lines 487
Lines of code 260
Logical lines of code 142
Comment lines 149
Methods 12
Properties 7

Methods 12

Method Rating Maintainability Complexity Lines of code
handle_webhook()
A
42 14 50
send_message_to_twilio()
A
43 10 48
verify_twilio_request()
A
49 9 26
__construct()
S
59 6 12
send_product_messages()
S
55 4 19
format_order_message()
S
50 3 32
handle_inquiry_submission()
S
52 3 26
get_or_create_conversation()
S
59 2 15
format_twilio_response()
S
65 2 9
start_inquiry_process()
S
63 1 11
register_webhook_endpoint()
S
66 1 9
esc_xml()
S
78 1 3