Code Analysis: Payment Gateway for Cielo API on WooCommerce 1.1.0

Function Rating Maintainability Complexity Lines of code
Lkn_WC_Gateway_Cielo_Debit::process_payment()
B
31 12 124
Lkn_WC_Gateway_Cielo_Credit::get_card_provider()
A
43 13 50
Lkn_WC_Gateway_Cielo_Debit::get_card_provider()
A
43 13 50
Lkn_WC_Gateway_Cielo_Credit::process_payment()
A
35 11 79
Lkn_WC_Gateway_Cielo_Credit::validate_fields()
A
44 13 42
Lkn_WC_Gateway_Cielo_Debit::validate_fields()
A
44 13 42
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_Debit::payment_gateway_scripts()
A
49 10 27
Lkn_WC_Gateway_Cielo_Credit::payment_gateway_scripts()
A
54 9 19
Lkn_WC_Gateway_Cielo_Debit::init_form_fields()
S
36 2 105
Lkn_WC_Gateway_Cielo_Debit::process_refund()
S
49 7 28
Lkn_WC_Gateway_Cielo_Debit::generate_debit_auth_token()
S
46 6 38
Lkn_WC_Gateway_Cielo_Credit::payment_fields()
S
45 5 50
Lkn_WC_Gateway_Cielo_Credit::init_form_fields()
S
39 2 81
Lkn_WC_Cielo_Payment::setup_constants()
S
59 6 17
Lkn_WC_Gateway_Cielo_Debit::__construct()
S
49 4 29
Lkn_WC_Gateway_Cielo_Credit::__construct()
S
49 4 29
Lkn_WC_Gateway_Cielo_Debit::payment_fields()
S
45 2 53
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_Gateway_Cielo_Debit::admin_load_script()
S
77 1 3
Lkn_WC_Cielo_Payment::plugin_abspath()
S
79 1 3
Lkn_WC_Cielo_Payment::add_gateway()
S
73 1 5
Lkn_WC_Cielo_Payment::init()
S
68 1 6
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::plugin_url()
S
78 1 3
Lkn_WC_Gateway_Cielo_Credit::admin_load_script()
S
77 1 3