Code Analysis: Creditop 1.0.9

Function Rating Maintainability Complexity Lines of code
Creditop_Gateway::process_payment()
A
42 6 53
Creditop_Gateway::add_custom_badge_hook()
S
54 7 22
Creditop_Gateway::add_homepage_banner()
S
57 7 17
Creditop_Gateway::init_form_fields()
S
37 1 93
Creditop_Gateway::add_custom_header_hook()
S
59 4 15
Creditop_Gateway::display_custom_badge()
S
57 2 20
Creditop_Gateway_Blocks::get_payment_method_script_handles()
S
57 2 19
Creditop_Gateway::woocommerce_available_payment_gateways()
S
68 3 7
creditop_register_order_approval_payment_method_type()
S
63 2 12
Creditop_Gateway::__construct()
S
52 1 24
Creditop_Gateway::render_banner()
S
56 1 22
creditop_checkout_blocks_compatibility()
S
72 2 5
creditop_init()
S
72 2 5
creditop_add_gateway()
S
77 1 4
Creditop_Gateway_Blocks::initialize()
S
75 1 4
Creditop_Gateway_Blocks::is_active()
S
81 1 3
Creditop_Gateway::enqueue_styles()
S
79 1 3
Creditop_Gateway_Blocks::get_payment_method_data()
S
69 1 7