Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.6.0

Function Rating Maintainability Complexity Lines of code
Lkn_WC_Gateway_Cielo_Credit::process_payment()
C
27
23 141
Lkn_WC_Gateway_Cielo_Debit::process_payment()
C
26
20 177
Lkn_WC_Gateway_Cielo_Credit::get_card_provider()
A
41 14 56
Lkn_WC_Gateway_Cielo_Debit::get_card_provider()
A
42 14 55
Lkn_WC_Gateway_Cielo_Credit::payment_fields()
A
35 7 118
Lkn_WC_Cielo_Payment::check_environment()
A
47 12 35
Lkn_WC_Gateway_Cielo_Debit::payment_fields()
A
33 2 183
Lkn_WC_Gateway_Cielo_Credit::process_refund()
A
49 10 26
Lkn_WC_Gateway_Cielo_Debit::payment_gateway_scripts()
A
49 8 27
Lkn_WC_Gateway_Cielo_Debit::process_refund()
S
50 7 26
Lkn_WC_Gateway_Cielo_Credit::validate_exp_date()
S
52 7 25
Lkn_WC_Gateway_Cielo_Debit::init_form_fields()
S
36 2 99
Lkn_WC_Gateway_Cielo_Credit::payment_gateway_scripts()
S
52 7 22
Lkn_WC_Gateway_Cielo_Debit::generate_debit_auth_token()
S
46 6 36
Lkn_WC_Gateway_Cielo_Debit::validate_exp_date()
S
53 6 23
Lkn_WC_Cielo_Payment::setup_constants()
S
59 6 17
Lkn_WC_Gateway_Cielo_Credit::validate_card_number()
S
57 6 16
Lkn_WC_Gateway_Cielo_Credit::validate_cvv()
S
57 6 16
Lkn_WC_Gateway_Cielo_Debit::validate_card_number()
S
57 6 16
Lkn_WC_Gateway_Cielo_Credit::init_form_fields()
S
40 2 75
Lkn_WC_Gateway_Cielo_Debit::validate_fields()
S
57 5 16
Lkn_WC_Gateway_Cielo_Credit::validate_fields()
S
57 5 16
Lkn_WC_Gateway_Cielo_Debit::validate_cvv()
S
61 4 12
Lkn_WC_Gateway_Cielo_Credit::__construct()
S
51 3 25
Lkn_WC_Gateway_Cielo_Debit::__construct()
S
51 3 25
Lkn_WC_Cielo_Payment::email_order_meta_fields()
S
63 3 10
Lkn_WC_Cielo_Payment::order_details_after_order_table()
S
68 3 6
Lkn_WC_Gateway_Cielo_Credit::add_notice_once()
S
73 2 5
Lkn_WC_Cielo_Payment::includes()
S
68 2 8
Lkn_WC_Gateway_Cielo_Debit::add_notice_once()
S
73 2 5
Lkn_WC_Cielo_Payment::__lkn_wc_gateway_cielo_dependency_notice()
S
61 1 13
Lkn_WC_Cielo_Payment::__lkn_wc_gateway_cielo_inactive_notice()
S
63 1 11
Lkn_WC_Cielo_Payment::add_gateway()
S
73 1 5
Lkn_WC_Cielo_Payment::lkn_wc_gateway_cielo_load_textdomain()
S
77 1 3
Lkn_WC_Gateway_Cielo_Credit::admin_load_script()
S
77 1 3
Lkn_WC_Gateway_Cielo_Debit::admin_load_script()
S
77 1 3
Lkn_WC_Cielo_Payment::lkn_wc_cielo_plugin_row_meta()
S
66 1 8
Lkn_WC_Cielo_Payment::plugin_url()
S
78 1 3
Lkn_WC_Cielo_Payment::init()
S
64 1 8
Lkn_WC_Cielo_Payment::plugin_abspath()
S
79 1 3