Code Analysis: Payment gateway via Teya SecurePay for WooCommerce 1.3.31

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Borgun::check_borgun_response()
D
30 32 107
WC_Gateway_Borgun::get_borgun_args()
C
31 23 105
WC_Gateway_Borgun::checkout_payment_handler()
A
45 14 38
WC_Gateway_Borgun::process_refund()
A
39 12 61
WC_Gateway_Borgun::init_form_fields()
A
33 1 123
WC_Gateway_Borgun::generate_borgun_form()
S
44 6 44
woocommerce_borgun_textdomain()
S
51 7 25
borgun_cancel_order()
S
59 6 14
WC_Gateway_Borgun::get_translated_string()
S
54 5 22
WC_Gateway_Borgun::receipt_page()
S
60 4 13
PaymentMethodBorgunRegistration::register_scripts()
S
52 3 27
WC_Gateway_Borgun::__construct()
S
46 2 37
WC_Gateway_Borgun::save_order_metas()
S
66 4 8
PaymentMethodBorgunRegistration::get_file_version()
S
70 4 6
woocommerce_borgun_init()
S
52 2 26
WC_Gateway_Borgun::is_valid_for_use()
S
54 2 25
WC_Gateway_Borgun::check_order_refund_hash()
S
58 2 15
WC_Gateway_Borgun::tax_display()
S
74 3 4
WC_Gateway_Borgun::borgun_text_keys_to_translate()
S
68 3 7
borgun_woocommerce_blocks_support()
S
64 2 11
WC_Gateway_Borgun::admin_options()
S
64 2 11
WC_Gateway_Borgun::process_payment()
S
63 2 11
WC_Gateway_Borgun::check_hash()
S
57 1 16
WC_Gateway_Borgun::round()
S
68 2 7
WC_Gateway_Borgun::currency_has_decimals()
S
70 2 6
WC_Gateway_Borgun::fee_tax_display()
S
75 2 4
borgun_wc_active()
S
69 2 7
WC_Gateway_Borgun::check_order_hash()
S
60 1 12
PaymentMethodBorgunRegistration::get_payment_method_data()
S
69 1 7
PaymentMethodBorgunRegistration::initialize()
S
75 1 4
PaymentMethodBorgunRegistration::get_payment_method_script_handles()
S
81 1 3
add_borgun_gateway()
S
77 1 4
PaymentMethodBorgunRegistration::is_active()
S
78 1 3