Code Analysis: WP Hotel Booking Stripe Payment 1.7.6

Function Rating Maintainability Complexity Lines of code
HB_Payment_Gateway_Stripe::__construct()
A
50 14 24
WP_Hotel_Booking_Payment_Stripe::is_hotel_active()
A
56 8 17
HB_Payment_Gateway_Stripe::process_checkout()
S
46 4 42
HB_Payment_Gateway_Stripe::stripe_request()
S
51 5 25
HB_Payment_Gateway_Stripe::add_customer()
S
51 4 26
WP_Hotel_Booking_Payment_Stripe::enqueue_scripts()
S
60 4 12
WP_Hotel_Booking_Payment_Stripe::load_text_domain()
S
62 3 12
hotel_booking_payment_stripe()
S
69 2 7
WP_Hotel_Booking_Payment_Stripe::add_payment_classes()
S
69 2 7
HB_Payment_Gateway_Stripe::is_enable()
S
77 2 3
HB_Payment_Gateway_Stripe::init()
S
78 1 3
WP_Hotel_Booking_Payment_Stripe::add_notices()
S
75 1 6
HB_Payment_Gateway_Stripe::htb_stripe_publish_key()
S
80 1 3
HB_Payment_Gateway_Stripe::form()
S
80 1 3
WP_Hotel_Booking_Payment_Stripe::__construct()
S
75 1 4
HB_Payment_Gateway_Stripe::admin_settings()
S
80 1 3