Code Analysis: WP Hotel Booking 1.10.5

Most Complex Classes

Class Rating Complexity
WPHB_Ajax
D
129
WPHB_Product_Room_Base
D
127
WPHB_Cart
C
121
WPHB_Post_Types
C
106
HB_Extra_Cart
B
95
WPHB_Admin_Settings
B
82
WPHB_Booking
A
72
WPHB_Install
A
53
HB_Extra_Package
A
51
WPHB_Payment_Gateway_Paypal
S
50
WP_Hotel_Booking
S
42
WPHB_Meta_Box
S
42

Most Complex Functions

Function Rating Complexity
WPHB_Admin_Settings::render_fields()
D
73
hb_get_currency_symbol()
D
49
WPHB_Product_Room_Base::__get()
D
37
Aq_Resize::process()
C
27
WPHB_Ajax::admin_add_order_item()
C
23
WPHB_Helper_Override_Template::get_theme_override_templates()
B
22
hb_search_rooms()
B
19
WPHB_Ajax::ajax_add_to_cart()
B
21
WPHB_Install::create_pages()
B
19
hb_manage_booking_column()
B
17
WPHB_Post_Types::posts_join_paged()
B
17
HB_Extra_Package::__get()
B
16