Code Analysis: ZyroPAI Crypto Payments 0.2.1

Most Complex Classes

Class Rating Complexity
ZyroPAI_Payments_Admin
D
259
WC_Gateway_ZyroPAI
C
113
ZyroPAI_Payments_Shortcode
B
91
ZyroPAI_Payments_Webhook
S
47
ZyroPAI_Payments_Blocks
S
14

Most Complex Functions

Function Rating Complexity
ZyroPAI_Payments_Webhook::handle()
D
34
WC_Gateway_ZyroPAI::process_payment()
C
25
ZyroPAI_Payments_Shortcode::ajax_create_payment()
C
27
ZyroPAI_Payments_Admin::fetch_config()
B
20
WC_Gateway_ZyroPAI::get_accepted_currencies()
B
18
ZyroPAI_Payments_Shortcode::render()
B
15
WC_Gateway_ZyroPAI::process_admin_options()
B
17
ZyroPAI_Payments_Admin::get_stats()
A
14
ZyroPAI_Payments_Shortcode::get_tokens()
A
13
ZyroPAI_Payments_Admin::ajax_payment_details()
A
12
ZyroPAI_Payments_Admin::render_pos()
A
10
ZyroPAI_Payments_Admin::ajax_save_pos()
A
12