Code Analysis: Yesh Invoice Payment Gateway for WooCommerce 1.3.5

Function Rating Maintainability Complexity Lines of code
WC_YESHIN_Gateway::__construct()
B
39 24 48
yeshin_init_gateway_class()
B
18
2 376
WC_YESHIN_Gateway::process_payment()
B
28
14 143
WC_YESHIN_Gateway::custom_woocommerce_auto_complete_paid_order()
A
46 12 38
WC_YESHIN_Gateway::custom_installments_page()
A
43 7 51
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
save_rental_option_field()
S
67 3 7
WC_Product_yesh_subs::add_to_cart_url()
S
72 3 4
custom_product_add_to_cart()
S
62 2 13
WC_YESHIN_Gateway::custom_installments_menu()
S
62 2 13
yeshin_plugin_log()
S
61 2 12
wc_yesin_register_order_approval_payment_method_type()
S
63 2 12
wc_yeshin_declare_cart_checkout_blocks_compatibility()
S
72 2 5
WC_YESHIN_Gateway::get_installments_data()
S
64 2 9
WC_YESHIN_Gateway::QuadLayers_change_order_status()
S
71 2 6
register_yesh_subs_product_type()
S
61 1 12
create_custom_installments_table()
S
62 1 12
WC_YESHIN_Gateway::init_form_fields()
S
79 1 3
rental_options_product_tab_content()
S
74 1 8
yeshin_add_gateway_class()
S
77 1 4
custom_product_tabs()
S
66 1 8
WC_YESHIN_Gateway_Blocks::is_active()
S
81 1 3
WC_YESHIN_Gateway_Blocks::initialize()
S
75 1 4
yeshin_load_textdomain()
S
78 1 3
WC_YESHIN_Gateway::validate_fields()
S
91 1 2
add_yesh_subs_product()
S
76 1 4
hide_attributes_data_panel()
S
76 1 4
WC_Product_yesh_subs::__construct()
S
76 1 4
WC_YESHIN_Gateway_Blocks::get_payment_method_data()
S
72 1 6