Code Analysis: Payment Gateway for Adyen and WooCommerce 2.0.0

Function Rating Maintainability Complexity Lines of code
PGAWC_Adyen\Adyen\Notifications\DataObjects\PGAWC_Adyen_Notification_Request::__construct()
A
52 14 20
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::process_payment()
A
47 7 35
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::receive_adyen_notifications()
S
51 7 25
PGAWC_Adyen\Adyen\PGAWC_Adyen::refund()
S
48 6 33
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::init_form_fields()
S
36 1 102
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::refund_through_adyen()
S
56 6 16
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::is_gateway_configured()
S
69 6 6
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::handle_sca_redirect()
S
51 4 26
PGAWC_Adyen\Adyen\PGAWC_Adyen::pay()
S
47 3 36
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::receipt_page()
S
56 4 17
PGAWC_Adyen\Adyen\PGAWC_Adyen::get_payment_methods()
S
54 3 23
PGAWC_Adyen\Adyen\Notifications\PGAWC_Refund_Handler::handle()
S
57 3 16
PGAWC_Adyen\Adyen\Notifications\PGAWC_Abstract_Handler::store()
S
60 3 13
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::recursive_sanitize_text_field()
S
63 3 11
PGAWC_Adyen\Adyen\Notifications\PGAWC_Handlers_Factory::make()
S
66 3 9
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::is_woocommerce_active()
S
67 3 7
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::__construct()
S
50 1 27
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::__construct()
S
60 2 12
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::__construct()
S
61 2 11
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::admin_options()
S
64 2 9
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::payment_fields()
S
68 2 7
PGAWC_Adyen\Adyen\PGAWC_Adyen::getClient()
S
67 2 7
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::get_adyen_payment_data()
S
68 2 7
PGAWC_Adyen\Adyen\PGAWC_Adyen_Logger::log()
S
62 2 10
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::get_instance()
S
72 2 6
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setEnvironment()
S
74 2 4
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::scripts_and_styles()
S
68 2 7
PGAWC_Adyen\Adyen\PGAWC_Adyen::get_adyen_transaction_url()
S
70 2 6
PGAWC_Adyen\Adyen\Notifications\PGAWC_Capture_Handler::handle()
S
68 2 7
PGAWC_Adyen\Adyen\PGAWC_Adyen::get_payment_details()
S
63 1 11
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::adyen_payment_load_plugin_textdomain()
S
77 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::getHmacKey()
S
82 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::getMerchantCode()
S
82 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setLiveEndpointPrefix()
S
81 1 3
PGAWC_Adyen\Adyen\Notifications\PGAWC_Abstract_Handler::handle()
S
100 1 0
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::getApiKey()
S
80 1 3
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::separator()
S
70 1 7
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::webhook_description()
S
73 1 4
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::getEnvironment()
S
82 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setRefundInAdyen()
S
77 1 4
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::isCaptureImmediately()
S
82 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setApiKey()
S
76 1 4
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::admin_scripts_and_styles()
S
79 1 3
PGAWC_Adyen\Adyen\Notifications\PGAWC_Abstract_Handler::verify()
S
75 1 4
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::isRefundInAdyen()
S
82 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::getOriginKey()
S
82 1 3
PGAWC_Adyen\Core\PGAWC_Adyen_Gateway::is_available()
S
81 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setHmacKey()
S
76 1 4
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setMerchantCode()
S
76 1 4
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setOriginKey()
S
76 1 4
PGAWC_Adyen\Adyen\PGAWC_Adyen::__construct()
S
81 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::getLiveEndpointPrefix()
S
82 1 3
PGAWC_Adyen\Adyen\Notifications\DataObjects\PGAWC_Adyen_Notification_Request::to_array()
S
82 1 3
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::init_adyen_payment_gateway()
S
79 1 3
PGAWC_Adyen\Adyen\PGAWC_Adyen_Config::setCaptureImmediately()
S
77 1 4
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::add_adyen_to_woocommerce()
S
77 1 4
PGAWC_Adyen\Core\PGAWC_Adyen_Integration::accept_request()
S
78 1 4