Code Analysis: CCAvenue Payment Gateway for WooCommerce 2.8

Function Rating Maintainability Complexity Lines of code
woocommerce_nilesh_ccave_init()
C
16
2 409
WC_nilesh_Ccave::generate_ccavenue_form()
A
31 10 125
WC_nilesh_Ccave::check_ccavenue_response()
A
38 12 74
WC_nilesh_Ccave::__construct()
A
41 12 50
WC_nilesh_Ccave::init_form_fields()
S
34 1 82
WC_nilesh_Ccave::get_pages()
S
56 5 18
nilesh_hextobin()
S
56 3 20
WC_nilesh_Ccave::currency_convert()
S
58 3 16
WC_nilesh_Ccave::receipt_page()
S
71 2 5
WC_nilesh_Ccave::thankyou_page()
S
76 2 4
WC_nilesh_Ccave::payment_fields()
S
79 2 3
nilesh_pkcs5_pad()
S
74 1 4
woocommerce_add_nilesh_ccave_gateway()
S
77 1 4
WC_nilesh_Ccave::process_payment()
S
71 1 5
WC_nilesh_Ccave::admin_options()
S
68 1 7
nilesh_debug()
S
75 1 5
nilesh_encrypt()
S
65 1 7
nilesh_decrypt()
S
64 1 8