Code Analysis: JCC Payment Gateway Redirect 1.0.7

Function Rating Maintainability Complexity Lines of code
WC_Gateway_JCC_Payment_Redirect::process_admin_options()
B
49 20 25
WC_Gateway_JCC_Payment_Redirect::jcc_callback()
A
40 15 60
WC_Gateway_JCC_Payment_Redirect::admin_options()
A
39 5 78
WC_Gateway_JCC_Payment_Redirect::thankyou()
S
55 5 18
WC_Gateway_JCC_Payment_Redirect::__construct()
S
48 2 32
WC_Gateway_JCC_Payment_Redirect::generate_requesturl_html()
S
47 1 43
WC_Gateway_JCC_Payment_Redirect::generate_responseurl_html()
S
48 1 37
write_log()
S
69 3 7
write_log()
S
69 3 7
WC_Gateway_JCC_Payment_Gateway_Redirect_Request::__construct()
S
60 2 14
WC_Gateway_JCC_Payment_Gateway_Redirect_Request::getform()
S
60 2 13
WC_Gateway_JCC_Payment_Redirect::generate_h4_html()
S
53 1 27
WC_Gateway_JCC_Payment_Gateway_Redirect_Request::get_args()
S
54 1 21
JCC_PAYMENT_GATEWAY_REDIRECT::initialize()
S
63 2 9
JCC_PAYMENT_GATEWAY_REDIRECT::plugin_data2()
S
71 2 6
WC_Gateway_JCC_Payment_Redirect::process_payment()
S
65 2 9
JCC_PAYMENT_GATEWAY_REDIRECT::get_instance()
S
71 2 6
JCC_PAYMENT_GATEWAY_REDIRECT::__construct()
S
79 1 3
JCC_PAYMENT_GATEWAY_REDIRECT::gatewaymethods()
S
77 1 4
WC_Gateway_JCC_Payment_Redirect::get_redirect_html()
S
69 1 8
WC_Gateway_JCC_Payment_Gateway_Redirect_Request::formatamount()
S
66 1 8
JCC_PAYMENT_GATEWAY_REDIRECT::jcc_payment_gateway_redirect_add_section()
S
75 1 4
WC_Gateway_JCC_Payment_Redirect::init_form_fields()
S
80 1 3
JCC_PAYMENT_GATEWAY_REDIRECT::render_scripts()
S
78 1 3
WC_Gateway_JCC_Payment_Gateway_Redirect_Request::get_request_url()
S
70 1 5
JCC_PAYMENT_GATEWAY_REDIRECT::unsupported()
S
78 1 5
WC_Gateway_JCC_Payment_Redirect::payment_fields()
S
77 1 4