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

Function Rating Maintainability Complexity Lines of code
PGBW_Payment::get_bkash_token()
A
42 13 51
PGBW_Init_Webhooks::add_bkash_details_to_order_table()
A
50 12 26
PGBW_Payment::process_payment()
A
43 6 48
PGBW_Payment::handle_bkash_callback()
S
44 6 44
pgbw_get_bkash_payments_details()
S
47 6 34
pgbw_sort_date_wise()
S
57 7 16
PGBW_Init_Webhooks::custom_thankyou_page_status_notices()
S
54 6 19
PGBW_Init_Webhooks::bkash_check_custom_bdt_prices()
S
56 6 19
PGBW_Init_Webhooks::override_price_for_bd_visitors()
S
58 6 16
PGBW_Init_Webhooks::bkash_disable_if_not_configured()
S
58 6 15
PGBW_Init_Webhooks::bkash_check_all_products_bdt_price()
S
53 5 24
PGBW_Init_Webhooks::is_bkash_payment_selected()
S
55 5 22
PGBW_Init_Webhooks::save_bdt_price_fields()
S
61 5 12
PGBW_Payment::init_form_fields()
S
41 1 71
PGBW_Init_Webhooks::override_regular_price_for_bd_visitors()
S
62 5 11
PGBW_Payment::__construct()
S
51 4 23
PGBW_Init_Webhooks::override_sale_price_for_bd_visitors()
S
64 5 9
PGBW_Payment::add_bkash_payment_fee()
S
62 5 10
PGBW_Menu_Settings::register_admin_menu()
S
52 3 26
PGBW_Init_Webhooks::add_bdt_price_fields()
S
55 3 20
pgbw_get_all_bkash_payments_count()
S
56 3 17
PGBW_Payment_List::render_payment_table()
S
56 3 17
pgbw_add_status_filter()
S
66 4 8
PGBW_Admin::pgbw_enqueue_styles()
S
65 4 8
PGBW_Admin::pgbw_enqueue_scripts()
S
65 4 8
PGBW_Payment_List::get_query_args()
S
64 3 10
PGBW_Payment_List::get_query_filters()
S
68 3 6
PGBW_Loader::run()
S
66 3 8
PGBW_Init_Webhooks::bkash_admin_missing_price_configuration_notice()
S
65 3 9
PGBW_Init_Webhooks::set_bdt_currency_symbol()
S
69 3 7
PGBW::__construct()
S
62 2 12
PGBW_Menu_Settings::payment_list_page()
S
61 2 11
PGBW::init_bkash_payment()
S
68 2 7
PGBW_Menu_Settings::include_template_file()
S
67 2 8
PGBW_Payment::get_agreement_execution_url()
S
72 2 6
pgbw_run_plugin()
S
72 2 6
PGBW_Init_Webhooks::trigger_recalculation_on_payment_method_change()
S
72 2 5
PGBW_Init_Webhooks::set_currency_for_bd_visitors()
S
73 2 5
PGBW_Init_Webhooks::__construct()
S
57 1 15
pgbw_check_requirements()
S
68 2 8
PGBW_Payment::get_agreement_tokenized_url()
S
72 2 6
PGBW_Payment_List::menu_page()
S
71 2 6
PGBW_Payment::get_agreement_creation_url()
S
72 2 6
PGBW_Admin::pgbw_get_admin_styles()
S
63 1 11
PGBW_Loader::__construct()
S
77 1 4
PGBW_Loader::add_action()
S
77 1 3
PGBW_Loader::add()
S
64 1 10
PGBW_Admin::__construct()
S
74 1 5
PGBW::init_webhooks()
S
82 1 3
PGBW_Admin::pgbw_get_admin_scripts()
S
77 1 4
PGBW::get_loader()
S
82 1 3
PGBW_Menu_Settings::__construct()
S
72 1 5
PGBW::run()
S
82 1 3
PGBW::load_dependencies()
S
68 1 7
PGBW_Admin::pgbw_add_menu()
S
71 1 5
PGBW_Menu_Settings::get_submenu_list()
S
77 1 4
PGBW_Init_Webhooks::add_bkash_gateway()
S
77 1 4
PGBW::define_admin_hooks()
S
72 1 5
pgbw_missing_wc_notice()
S
72 1 5
PGBW::get_version()
S
82 1 3
PGBW_Loader::add_filter()
S
77 1 3
PGBW::get_plugin_name()
S
82 1 3