Code Analysis: Hotel Management System 1.2.0

Most Complex Classes

Class Rating Complexity
MHRS_Hotel_Search
B
96
MHRS_Booking
B
91
MHRS_Misc
B
88
MHRS_Hotel
B
85
MHRS_Room_Type
A
75
MHRS_Hotel_Search_SC
A
74
MHRS_Template_Loader
A
63
MHRS_City
S
49
MHRS_State
S
38
MHRS_Activate
S
32
MHRS_Location
S
32
GIMBGallery
S
29

Most Complex Functions

Function Rating Complexity
MHRS_Hotel_Search_SC::hotel_search_sc()
D
70
MHRS_Booking::render_details()
D
31
mhrs_get_hotel_detail()
D
28
MHRS_Misc::get_real_locations()
C
29
MHRS_Hotel::save_details()
C
28
mhrs_get_room_detail()
C
21
MHRS_My_Bookings_SC::my_bookings_sc()
C
10
MHRS_Room_Type::save_details()
B
21
mhrs_get_city_detail()
B
17
MHRS_Template_Loader::book_rooms_now_submit_handler()
B
17
mhrs_get_state_detail()
B
15
MHRS_Hotel_Search::get_required_rooms()
B
18