Code Analysis: 6amTech - Payment Gateway for bKash and WC 1.0.1

Most Complex Classes

Class Rating Complexity
PGBW_Init_Webhooks
S
41
PGBW_Payment
S
31
PGBW_Admin
S
12
PGBW_Payment_List
S
11
PGBW
S
11
PGBW_Menu_Settings
S
9
PGBW_Loader
S
7

Most Complex Functions

Function Rating Complexity
PGBW_Payment::process_payment()
A
6
PGBW_Payment::handle_bkash_callback()
S
6
PGBW_Init_Webhooks::custom_thankyou_page_status_notices()
S
6
pgbw_sort_date_wise()
S
6
PGBW_Init_Webhooks::override_price_for_bd_visitors()
S
6
PGBW_Init_Webhooks::override_regular_price_for_bd_visitors()
S
5
PGBW_Payment::init_form_fields()
S
1
pgbw_get_bkash_payments_details()
S
4
PGBW_Payment::__construct()
S
4
PGBW_Init_Webhooks::override_sale_price_for_bd_visitors()
S
5
PGBW_Payment::add_bkash_payment_fee()
S
5
PGBW_Menu_Settings::register_admin_menu()
S
3