Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.3.2

Most Complex Classes

Class Rating Complexity
Lkn_WC_Gateway_Cielo_Credit
B
81
Lkn_WC_Gateway_Cielo_Debit
A
74
Lkn_WC_Cielo_Payment
S
28

Most Complex Functions

Function Rating Complexity
Lkn_WC_Gateway_Cielo_Credit::process_payment()
B
18
Lkn_WC_Gateway_Cielo_Debit::process_payment()
B
12
Lkn_WC_Gateway_Cielo_Debit::get_card_provider()
A
14
Lkn_WC_Gateway_Cielo_Credit::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_Debit::generate_debit_auth_token()
S
6
Lkn_WC_Gateway_Cielo_Credit::payment_gateway_scripts()
S
7
Lkn_WC_Gateway_Cielo_Debit::init_form_fields()
S
2