Code Analysis: Payment Gateway bKash for WC 1.3.0

Function Rating Maintainability Complexity Lines of code
Inc\WC_PGW_BKASH::payment_scripts()
A
49 8 28
Inc\Admin\Payment_List::process_bulk_action()
A
50 8 28
Inc\Bkash::execute_payment_request()
A
51 8 25
Inc\Bkash::create_payment_request()
S
53 7 22
Inc\Bkash::get_order_amount()
S
52 6 23
Inc\Bkash::payment_store()
S
46 5 38
Inc\Base\BkashQuery::executePayment()
S
59 6 14
Inc\WC_PGW_BKASH::thank_you_page()
S
54 5 24
Inc\WC_PGW_BKASH::localizeScripts()
S
52 5 22
Inc\Base\BkashQuery::verifyPayment()
S
54 5 21
Inc\Base\BkashQuery::createPayment()
S
57 5 17
Inc\Admin\Payment_List::prepare_items()
S
51 4 26
Inc\Base\BkashQuery::getToken()
S
53 4 23
Inc\WC_PGW_BKASH::init_form_fields()
S
42 1 63
Inc\Base\BkashQuery::get_final_amount()
S
59 3 13
Inc\Admin\Payment_List::get_column_actions()
S
54 2 22
get_bkash_payments_list()
S
54 2 20
Inc\Base\BkashQuery::makeRequest()
S
57 2 16
Inc\WC_PGW_BKASH::__construct()
S
57 2 15
Inc\Base\BkashQuery::checkTestMode()
S
64 3 10
Inc\Bkash::validate_fields()
S
67 3 8
Inc\Admin\Payment_List::column_default()
S
67 3 8
Inc\Base\BkashQuery::getAuthorizationHeader()
S
61 2 12
Inc\Base\BkashWoocommerceActivator::install()
S
59 1 18
WC_WP_bKash::init_plugin()
S
72 2 6
Inc\Base\BkashQuery::getPaymentUrl()
S
71 2 6
Inc\Base\BkashQuery::paymentQueryUrl()
S
74 2 4
Inc\Base\BkashQuery::paymentExecuteUrl()
S
71 2 5
WC_WP_bKash::includes()
S
71 2 6
Inc\Base\BkashWoocommerceActivator::do_install()
S
70 2 7
Inc\Base\BkashWoocommerceActivator::add_version()
S
68 2 7
Inc\Base\BkashQuery::getSelfClass()
S
71 2 6
Inc\Base\BkashQuery::grantTokenUrl()
S
74 2 4
WC_WP_bKash::init()
S
69 2 7
WC_WP_bKash::appsero_init_tracker_woo_payment_bkash()
S
67 2 7
Inc\Admin\Payments::plugin_page()
S
71 2 6
insert_bkash_transaction()
S
60 1 13
Inc\Admin\Payment_List::get_columns()
S
61 1 12
Inc\WC_PGW_BKASH::process_payment()
S
63 1 11
Inc\Admin\Payment_List::column_order_number()
S
79 1 3
WC_WP_bKash::__construct()
S
66 1 8
get_bkash_payment()
S
65 1 9
Inc\Bkash::__construct()
S
72 1 5
WC_WP_bKash::deactivate()
S
82 1 3
Inc\Admin\Payment_List::get_sortable_columns()
S
68 1 8
Inc\Bkash::send_json_error()
S
76 1 4
Inc\Admin\Menu::admin_menu()
S
70 1 5
Inc\Admin::__construct()
S
80 1 3
WC_WP_bKash::define_constants()
S
75 1 7
WC_WP_bKash::active()
S
82 1 3
Inc\Admin\Menu::__construct()
S
79 1 3
delete_bkash_payment()
S
67 1 8
Inc\Base\BkashQuery::paymentCreateUrl()
S
79 1 3
Inc\Admin\Menu::bkash_page()
S
77 1 4
Inc\Admin\Payment_List::column_cb()
S
74 1 5
Inc\Base\BkashWoocommerceDeactivator::deactivate()
S
81 1 3
Inc\Base\BkashQuery::get_pgw_option()
S
75 1 4
init_wc_bkash()
S
82 1 3
get_payments_count()
S
72 1 5
Inc\Base\BkashWoocommerceActivator::has_woocommerce()
S
80 1 3
Inc\Admin\Payment_List::__construct()
S
69 1 7
Inc\Admin\Payment_List::get_bulk_actions()
S
71 1 6
WC_WP_bKash::register_gateway()
S
76 1 4
delete_multiple_bkash_payments()
S
69 1 6