Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.4.0

Function Rating Maintainability Complexity Lines of code
Lkn_WC_Gateway_Cielo_Credit::process_payment()
C
30 23 112
Lkn_WC_Gateway_Cielo_Debit::process_payment()
C
27
20 151
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_Cielo_Payment::check_environment()
A
47 12 35
Lkn_WC_Gateway_Cielo_Credit::process_refund()
A
48 10 28
Lkn_WC_Gateway_Cielo_Credit::payment_fields()
A
41 7 61
Lkn_WC_Gateway_Cielo_Debit::payment_gateway_scripts()
A
50 8 26
Lkn_WC_Gateway_Cielo_Debit::process_refund()
S
49 7 28
Lkn_WC_Gateway_Cielo_Credit::validate_exp_date()
S
51 7 27
Lkn_WC_Gateway_Cielo_Debit::generate_debit_auth_token()
S
46 6 38
Lkn_WC_Gateway_Cielo_Credit::payment_gateway_scripts()
S
54 7 19
Lkn_WC_Gateway_Cielo_Debit::init_form_fields()
S
37 2 94
Lkn_WC_Gateway_Cielo_Debit::validate_exp_date()
S
52 6 25
Lkn_WC_Gateway_Cielo_Debit::validate_card_number()
S
56 6 18
Lkn_WC_Gateway_Cielo_Credit::validate_card_number()
S
56 6 18
Lkn_WC_Gateway_Cielo_Credit::validate_cvv()
S
56 6 18
Lkn_WC_Cielo_Payment::setup_constants()
S
59 6 17
Lkn_WC_Gateway_Cielo_Credit::init_form_fields()
S
40 2 70
Lkn_WC_Gateway_Cielo_Debit::validate_fields()
S
56 5 18
Lkn_WC_Gateway_Cielo_Credit::validate_fields()
S
56 5 18
Lkn_WC_Gateway_Cielo_Debit::payment_fields()
S
45 2 53
Lkn_WC_Gateway_Cielo_Debit::validate_cvv()
S
59 4 14
Lkn_WC_Gateway_Cielo_Credit::__construct()
S
51 3 25
Lkn_WC_Gateway_Cielo_Debit::__construct()
S
51 3 25
Lkn_WC_Cielo_Payment::order_details_after_order_table()
S
68 3 6
Lkn_WC_Cielo_Payment::email_order_meta_fields()
S
63 3 10
Lkn_WC_Gateway_Cielo_Debit::add_notice_once()
S
73 2 5
Lkn_WC_Gateway_Cielo_Credit::add_notice_once()
S
73 2 5
Lkn_WC_Cielo_Payment::includes()
S
68 2 8
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::plugin_abspath()
S
79 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::lkn_wc_gateway_cielo_load_textdomain()
S
77 1 3
Lkn_WC_Cielo_Payment::add_gateway()
S
73 1 5
Lkn_WC_Cielo_Payment::plugin_url()
S
78 1 3
Lkn_WC_Gateway_Cielo_Credit::admin_load_script()
S
77 1 3
Lkn_WC_Cielo_Payment::init()
S
64 1 8