Code Analysis: Yesh Invoice Payment Gateway for WooCommerce 1.0.1

Function Rating Maintainability Complexity Lines of code
WC_YESHIN_Gateway::__construct()
A
45 14 35
yeshin_init_gateway_class()
A
28
2 164
WC_YESHIN_Gateway::process_payment()
S
39 4 61
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
yeshin_load_textdomain()
S
78 1 3
yeshin_add_gateway_class()
S
77 1 4
WC_YESHIN_Gateway::validate_fields()
S
91 1 2
WC_YESHIN_Gateway::init_form_fields()
S
79 1 3