Code Analysis: Yesh Invoice Payment Gateway for WooCommerce 1.2.2

Function Rating Maintainability Complexity Lines of code
WC_YESHIN_Gateway::__construct()
B
42 18 41
yeshin_init_gateway_class()
B
22
2 256
WC_YESHIN_Gateway::process_payment()
A
32 8 110
WC_YESHIN_Gateway::custom_woocommerce_auto_complete_paid_order()
A
49 11 31
custom_woocommerce_auto_complete_cws()
S
61 6 12
WC_YESHIN_Gateway::yeshin_admin_enqueue_scripts()
S
56 5 17
custom_add_iframe_to_order_receipt()
S
52 3 27
WC_YESHIN_Gateway::yeshin_notify_webhook()
S
53 3 21
WC_YESHIN_Gateway::yeshin_receipt_page()
S
62 4 10
WC_YESHIN_Gateway_Blocks::get_payment_method_script_handles()
S
57 2 19
wc_yesin_register_order_approval_payment_method_type()
S
63 2 12
yeshin_plugin_log()
S
61 2 12
WC_YESHIN_Gateway::QuadLayers_change_order_status()
S
71 2 6
wc_yeshin_declare_cart_checkout_blocks_compatibility()
S
72 2 5
WC_YESHIN_Gateway_Blocks::get_payment_method_data()
S
72 1 6
WC_YESHIN_Gateway_Blocks::initialize()
S
75 1 4
WC_YESHIN_Gateway::validate_fields()
S
91 1 2
yeshin_add_gateway_class()
S
77 1 4
WC_YESHIN_Gateway::init_form_fields()
S
79 1 3
yeshin_load_textdomain()
S
78 1 3
WC_YESHIN_Gateway_Blocks::is_active()
S
81 1 3