Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.9.0

Most Complex Functions

Function Rating Complexity
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloCredit::process_payment()
D
27
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::process_payment()
D
24
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloCredit::get_card_provider()
A
14
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::get_card_provider()
A
14
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloCredit::payment_fields()
A
7
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::payment_fields()
A
2
LknWCCieloPayment::check_environment()
A
12
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloCredit::process_refund()
A
10
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::init_form_fields()
A
2
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::payment_gateway_scripts()
A
8
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::generate_debit_auth_token()
A
7
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::process_refund()
S
7