Code Analysis: Yesh Invoice Payment Gateway for WooCommerce 1.1.1

Function Rating Maintainability Complexity Lines of code
WC_YESHIN_Gateway::__construct()
A
44 15 38
yeshin_init_gateway_class()
A
25
2 212
WC_YESHIN_Gateway::process_payment()
A
35 6 88
custom_woocommerce_auto_complete_cws()
S
61 6 12
WC_YESHIN_Gateway::custom_woocommerce_auto_complete_paid_order()
S
60 6 12
WC_YESHIN_Gateway::yeshin_admin_enqueue_scripts()
S
56 5 17
WC_YESHIN_Gateway::yeshin_notify_webhook()
S
53 3 21
WC_YESHIN_Gateway::yeshin_receipt_page()
S
62 4 10
yeshin_plugin_log()
S
61 2 12
WC_YESHIN_Gateway::QuadLayers_change_order_status()
S
71 2 6
WC_YESHIN_Gateway::validate_fields()
S
91 1 2
yeshin_add_gateway_class()
S
77 1 4
yeshin_load_textdomain()
S
78 1 3
WC_YESHIN_Gateway::init_form_fields()
S
79 1 3