Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.7.0

Most Complex Classes

Class Rating Complexity
Lkn_WC_Gateway_Cielo_Credit
B
95
Lkn_WC_Gateway_Cielo_Debit
B
88
Lkn_WC_Cielo_Payment
S
34

Most Complex Functions

Function Rating Complexity
Lkn_WC_Gateway_Cielo_Credit::process_payment()
C
25
Lkn_WC_Gateway_Cielo_Debit::process_payment()
C
22
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::payment_fields()
A
7
Lkn_WC_Gateway_Cielo_Credit::process_refund()
A
10
Lkn_WC_Gateway_Cielo_Debit::payment_gateway_scripts()
A
8
Lkn_WC_Gateway_Cielo_Debit::init_form_fields()
S
2
Lkn_WC_Gateway_Cielo_Debit::process_refund()
S
7
Lkn_WC_Gateway_Cielo_Credit::validate_exp_date()
S
7
Lkn_WC_Gateway_Cielo_Credit::payment_gateway_scripts()
S
7