Code Analysis: Payment gateway via Teya SecurePay for WooCommerce 1.3.31

Most Complex Classes

Class Rating Complexity
WC_Gateway_Borgun
C
125
PaymentMethodBorgunRegistration
S
11

Most Complex Functions

Function Rating Complexity
WC_Gateway_Borgun::check_borgun_response()
D
32
WC_Gateway_Borgun::get_borgun_args()
C
23
WC_Gateway_Borgun::checkout_payment_handler()
A
14
WC_Gateway_Borgun::process_refund()
A
12
WC_Gateway_Borgun::init_form_fields()
A
1
WC_Gateway_Borgun::generate_borgun_form()
S
6
woocommerce_borgun_textdomain()
S
7
borgun_cancel_order()
S
6
WC_Gateway_Borgun::get_translated_string()
S
5
WC_Gateway_Borgun::receipt_page()
S
4
PaymentMethodBorgunRegistration::register_scripts()
S
3
WC_Gateway_Borgun::__construct()
S
2