Code Analysis: SecurePay 1.0.18

Function Rating Maintainability Complexity Lines of code
WC_Gateway_SecurePay::process_payment()
B
35 16 81
WC_Gateway_SecurePay::get_bank_list()
B
45 17 36
WC_Gateway_SecurePay::capture_response()
A
42 13 48
WC_Gateway_SecurePay::payment_fields()
A
41 11 52
SecurePay::register_admin_hooks()
A
42 7 58
WC_Gateway_SecurePay::init_form_fields()
A
32 1 144
WC_Gateway_SecurePay::sanitize_response()
A
44 7 52
WC_Gateway_SecurePay::register_setting()
S
54 6 18
SecurePay::register_autoupdates()
S
57 6 16
WC_Gateway_SecurePay::log()
S
59 5 14
WC_Gateway_SecurePay::response_status()
S
69 5 6
WC_Gateway_SecurePay::payment_scripts()
S
60 4 11
WC_Gateway_SecurePay::process_admin_options()
S
58 3 16
WC_Gateway_SecurePay::is_bank_list()
S
65 4 8
WC_Gateway_SecurePay::custom_order_button_text()
S
60 2 12
SecurePay::callback_compatibility()
S
66 2 8
WC_Gateway_SecurePay::checkout_url()
S
77 2 3
WC_Gateway_SecurePay::is_testmode()
S
78 2 3
WC_Gateway_SecurePay::is_response_callback()
S
71 2 6
WC_Gateway_SecurePay::is_sandbox()
S
78 2 3
SecurePay::register_locale()
S
63 1 13
WC_Gateway_SecurePay::admin_options()
S
63 1 11
SecurePay::uninstall()
S
81 1 3
SecurePay::activate()
S
81 1 3
WC_Gateway_SecurePay::register_hooks()
S
68 1 6
SecurePay::deactivate()
S
81 1 3
SecurePay::attach()
S
73 1 6
SecurePay::register_plugin_hooks()
S
72 1 5
WC_Gateway_SecurePay::__construct()
S
78 1 4
SecurePay::is_woocommerce_activated()
S
80 1 3