Code Analysis: WP Hotel Booking Stripe Payment 1.8.0

Function Rating Maintainability Complexity Lines of code
HB_Payment_Gateway_Stripe::__construct()
A
50 15 25
WP_Hotel_Booking_Payment_Stripe::enqueue_scripts()
A
44 8 42
WP_Hotel_Booking_Payment_Stripe::is_hotel_active()
A
54 8 21
HB_Payment_Gateway_Stripe::stripe_retrieve_payment_intent()
S
50 6 27
WP_Hotel_Booking_Payment_Stripe::check_stripe_payment()
S
56 6 18
HB_Payment_Gateway_Stripe::process_checkout()
S
48 5 33
HB_Payment_Gateway_Stripe::add_customer()
S
49 4 31
HB_Payment_Gateway_Stripe::create_payment_intent()
S
51 4 25
HB_Payment_Gateway_Stripe::retrieve_stripe_session()
S
57 3 16
WP_Hotel_Booking_Payment_Stripe::load_text_domain()
S
62 3 12
HB_Payment_Gateway_Stripe::get_url_payment_on_stripe_page()
S
50 1 29
HB_Payment_Gateway_Stripe::update_payment_intent()
S
60 2 13
hotel_booking_payment_stripe()
S
69 2 7
HB_Payment_Gateway_Stripe::is_enable()
S
77 2 3
HB_Payment_Gateway_Stripe::checkout_on_stripe()
S
77 2 3
WP_Hotel_Booking_Payment_Stripe::__construct()
S
68 2 7
WP_Hotel_Booking_Payment_Stripe::add_payment_classes()
S
69 2 7
WP_Hotel_Booking_Payment_Stripe::instance()
S
71 2 6
HB_Payment_Gateway_Stripe::instance()
S
71 2 6
HB_Payment_Gateway_Stripe::init()
S
78 1 3
HB_Payment_Gateway_Stripe::form()
S
66 1 9
WP_Hotel_Booking_Payment_Stripe::add_notices()
S
73 1 7
HB_Payment_Gateway_Stripe::admin_settings()
S
80 1 3