Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.11.2

Most Complex Functions

Function Rating Complexity
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::process_payment()
D
33
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloCredit::process_payment()
D
32
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::payment_fields()
C
13
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloCredit::payment_fields()
B
16
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloCredit::get_card_provider()
A
14
Lkn\WCCieloPaymentGateway\Includes\LknWCGatewayCieloDebit::get_card_provider()
A
14
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