Code Analysis: Payment Gateway - Alpha Bank for WooCommerce 1.3.5

Function Rating Maintainability Complexity Lines of code
woocommerce_alphabank_init()
D
7
3 1,089
WC_alphabank_Gateway::check_alphabank_response()
C
29
26 126
WC_alphabank_Gateway_masterpass::check_alphabank_masterpass_response()
C
31 22 110
WC_alphabank_Gateway_masterpass::generate_alphabank_masterpass_form()
B
28
10 169
WC_alphabank_Gateway::generate_alphabank_form()
B
28
10 165
WC_alphabank_Gateway_masterpass::payment_fields()
A
42 16 45
WC_alphabank_Gateway::payment_fields()
A
42 16 45
alphabank_message()
S
51 7 27
WC_alphabank_Gateway::process_payment()
S
50 5 28
WC_alphabank_Gateway_masterpass::process_payment()
S
50 5 28
WC_alphabank_Gateway::ab_get_pages()
S
55 5 20
WC_alphabank_Gateway_masterpass::ab_get_pages()
S
55 5 20
WC_alphabank_Gateway::init_form_fields()
S
40 1 75
WC_alphabank_Gateway::__construct()
S
47 3 33
WC_alphabank_Gateway_masterpass::__construct()
S
49 2 29
alphabank_plugin_action_links()
S
62 3 11
alphabank_plugin_action_links()
S
62 3 11
WC_Payment_Gateway_KeyEncryption_Alpha::decrypt()
S
58 2 15
WC_Payment_Gateway_KeyEncryption_Alpha::encrypt()
S
59 2 15
WC_alphabank_Gateway::generic_add_meta()
S
65 3 9
WC_alphabank_Gateway_masterpass::generic_add_meta()
S
65 3 9
WC_alphabank_Gateway_masterpass::init_form_fields()
S
53 1 25
WC_alphabank_Gateway::ab_get_installments()
S
71 2 6
WC_alphabank_Gateway::get_option()
S
66 2 8
WC_alphabank_Gateway_masterpass::register_session()
S
77 2 4
WC_alphabank_Gateway::register_session()
S
77 2 4
WC_alphabank_Gateway_masterpass::ab_get_installments()
S
71 2 6
WC_alphabank_Gateway_masterpass::get_option()
S
66 2 8
WC_alphabank_Gateway::receipt_page()
S
75 1 4
WC_alphabank_Gateway_masterpass::decrypt_ab_sharedSecretKey()
S
74 1 4
WC_alphabank_Gateway::validate_ab_sharedSecretKey_field()
S
74 1 4
woocommerce_add_alphabank_gateway()
S
74 1 5
WC_alphabank_Gateway::calculate_digest()
S
75 1 4
WC_alphabank_Gateway_masterpass::admin_options()
S
68 1 7
WC_alphabank_Gateway_masterpass::receipt_page()
S
75 1 4
WC_alphabank_Gateway_masterpass::calculate_digest()
S
75 1 4
WC_alphabank_Gateway::admin_options()
S
66 1 8