Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.3.0

Most Complex Classes

Class Rating Complexity
Lkn_WC_Gateway_Cielo_Credit
B
78
Lkn_WC_Gateway_Cielo_Debit
A
69
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_Gateway_Cielo_Credit::validate_fields()
A
13
Lkn_WC_Gateway_Cielo_Debit::validate_fields()
A
13
Lkn_WC_Cielo_Payment::check_environment()
A
12
Lkn_WC_Gateway_Cielo_Credit::init_form_fields()
A
4
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::init_form_fields()
A
2