Code Analysis: Bancr Payment Gateway for WooCommerce 1.0.0

Most Complex Classes

Class Rating Complexity
WC_Gateway_Bancr
S
44
WC_Bancr
S
35
WC_BANCR_Utility
S
17

Most Complex Functions

Function Rating Complexity
WC_Gateway_Bancr::verify_bancr_payment()
A
7
WC_Bancr::check_environment()
A
9
WC_BANCR_Utility::is_valid_card_number()
A
8
WC_Gateway_Bancr::check_pay_status_response()
S
5
WC_Gateway_Bancr::__construct()
S
4
WC_BANCR_Utility::is_valid_expiry()
S
5
WC_Bancr::get_environment_warning()
S
5
WC_Gateway_Bancr::process_payment()
S
4
WC_Gateway_Bancr::create_bancr_request()
S
3
WC_Gateway_Bancr::admin_notices()
S
4
WC_Gateway_Bancr::is_available()
S
3
WC_Bancr::get_setting_link()
S
3