Code Analysis: Depix - PIX Payment Gateway for WooCommerce 0.4.4

Most Complex Classes

Class Rating Complexity
Depix_WP_Gateway_Pix
A
66
Depix_WP_Webhook_Handler
A
53
Depix_WP_Display
S
48
Depix_WP_API_Client
S
37
Depix_WP_Gateway_Pix_Blocks
S
8

Most Complex Functions

Function Rating Complexity
Depix_WP_Gateway_Pix::process_payment()
D
48
depix_wp_poll_payment_status_action()
D
44
Depix_WP_Webhook_Handler::handle()
D
42
Depix_WP_Display::render_for_order_id()
C
22
Depix_WP_Display::render_email_pix_block()
B
12
Depix_WP_API_Client::get()
A
11
Depix_WP_API_Client::post()
A
10
depix_wp_map_external_status_to_wc()
A
10
Depix_WP_Webhook_Handler::map_external_status_to_wc()
A
10
Depix_WP_Display::translate_status_label()
A
8
depix_wp_polling_is_order_eligible()
S
7
depix_wp_polling_schedule_next()
S
6