Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.1.0

Most Complex Classes

Class Rating Complexity
Lkn_WC_Gateway_Cielo_Debit
A
70
Lkn_WC_Gateway_Cielo_Credit
A
68
Lkn_WC_Cielo_Payment
S
28

Most Complex Functions

Function Rating Complexity
Lkn_WC_Gateway_Cielo_Debit::process_payment()
B
12
Lkn_WC_Gateway_Cielo_Credit::get_card_provider()
A
13
Lkn_WC_Gateway_Cielo_Debit::get_card_provider()
A
13
Lkn_WC_Gateway_Cielo_Credit::process_payment()
A
11
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::process_refund()
A
10
Lkn_WC_Gateway_Cielo_Debit::payment_gateway_scripts()
A
10
Lkn_WC_Gateway_Cielo_Credit::payment_gateway_scripts()
A
9
Lkn_WC_Gateway_Cielo_Debit::init_form_fields()
S
2
Lkn_WC_Gateway_Cielo_Debit::process_refund()
S
7