OpalHotel_Hotel S

Total Complexity 34
Dependencies 3
Dependents 1
Total lines 215
Lines of code 123
Logical lines of code 62
Comment lines 53
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
get_discount()
A
53 9 20
rooms_available_posts_join()
S
52 6 21
instance()
S
59 6 14
get_rooms_available()
S
56 1 19
get_rooms()
S
60 1 14
__construct()
S
80 1 3
get_gallery_image_item()
S
79 1 3
get_gallery_image_item_url()
S
74 1 4
get_gallery_thumb_item()
S
79 1 3
get_catalog_thumbnail()
S
79 1 3
rooms_available_posts_fields()
S
77 1 4
get_the_most_cheap_room()
S
80 1 3
get_average_rating()
S
79 1 3
get_total_review_has_rating()
S
79 1 3
get_rating_count()
S
79 1 3
get_rating_percent()
S
79 1 3