Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.4.0

Most Complex Classes

Class Rating Complexity
Lkn_WC_Gateway_Cielo_Credit
B
93
Lkn_WC_Gateway_Cielo_Debit
B
86
Lkn_WC_Cielo_Payment
S
34

Most Complex Functions

Function Rating Complexity
Lkn_WC_Gateway_Cielo_Credit::process_payment()
C
23
Lkn_WC_Gateway_Cielo_Debit::process_payment()
C
20
Lkn_WC_Gateway_Cielo_Credit::get_card_provider()
A
14
Lkn_WC_Gateway_Cielo_Debit::get_card_provider()
A
14
Lkn_WC_Cielo_Payment::check_environment()
A
12
Lkn_WC_Gateway_Cielo_Credit::process_refund()
A
10
Lkn_WC_Gateway_Cielo_Credit::payment_fields()
A
7
Lkn_WC_Gateway_Cielo_Debit::payment_gateway_scripts()
A
8
Lkn_WC_Gateway_Cielo_Debit::process_refund()
S
7
Lkn_WC_Gateway_Cielo_Credit::validate_exp_date()
S
7
Lkn_WC_Gateway_Cielo_Debit::generate_debit_auth_token()
S
6
Lkn_WC_Gateway_Cielo_Credit::payment_gateway_scripts()
S
7