Code Analysis: Payment Gateway via Valitor for WooCommerce 1.9.36

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Valitor::get_valitor_args()
D
27
29 145
WC_Gateway_Valitor::check_valitor_response()
B
34 17 90
WC_Gateway_Valitor::init_form_fields()
A
35 2 106
woocommerce_valitor_textdomain()
S
51 7 25
WC_Gateway_Valitor::generate_valitor_form()
S
42 5 52
WC_Gateway_Valitor::get_discount()
S
63 7 10
valitor_cancel_order()
S
59 5 14
WC_Gateway_Valitor::get_translated_string()
S
57 4 17
WC_Gateway_Valitor::secure_posted()
S
57 4 16
PaymentMethodValitor::register_scripts()
S
52 3 27
WC_Gateway_Valitor::__construct()
S
46 2 37
PaymentMethodValitor::get_file_version()
S
70 4 6
woocommerce_valitor_init()
S
52 2 26
WC_Gateway_Valitor::tax_display()
S
74 3 4
WC_Gateway_Valitor::valitor_text_keys_to_translate()
S
68 3 7
WC_Gateway_Valitor::log()
S
67 3 8
valitor_woocommerce_blocks_support()
S
64 2 11
WC_Gateway_Valitor::process_payment()
S
63 2 11
WC_Gateway_Valitor::admin_options()
S
64 2 11
WC_Gateway_Valitor::fee_tax_display()
S
75 2 4
WC_Gateway_Valitor::mismatched_totals()
S
76 2 3
valitor_wc_active()
S
69 2 7
WC_Gateway_Valitor::is_valid_for_use()
S
69 2 6
WC_Gateway_Valitor::maybe_wrong_held_duration()
S
72 2 5
WC_Gateway_Valitor::round()
S
68 2 7
WC_Gateway_Valitor::currency_has_decimals()
S
70 2 6
WC_Gateway_Valitor::receipt_page()
S
71 2 5
WC_Gateway_Valitor::get_tax_discount()
S
75 1 4
PaymentMethodValitor::get_payment_method_data()
S
69 1 7
WC_Gateway_Valitor::valitor_held_duration_notice()
S
79 1 3
add_valitor_gateway()
S
77 1 4
WC_Gateway_Valitor::default_held_duration()
S
76 1 4
WC_Gateway_Valitor::get_held_duration()
S
74 1 4
PaymentMethodValitor::get_payment_method_script_handles()
S
81 1 3
PaymentMethodValitor::is_active()
S
78 1 3
PaymentMethodValitor::initialize()
S
75 1 4