HTL_Room D

Total Complexity 210
Dependencies 5
Dependents 5
Total lines 1,177
Lines of code 585
Logical lines of code 368
Comment lines 372
Methods 55
Properties 2

Methods 55

Method Rating Maintainability Complexity Lines of code
get_min_price_html()
D
32 32 97
get_seasonal_price()
B
42 16 48
get_price_html()
A
44 11 42
is_available_with_reason()
A
52 10 23
get_regular_price()
A
50 9 31
get_sale_price()
A
50 9 31
get_reserved_rooms()
A
50 8 26
is_available()
S
61 8 11
get_price()
S
57 6 16
__get()
S
60 6 12
is_on_sale()
S
69 6 5
rate_term_exists()
S
61 5 12
is_visible()
S
62 5 11
__construct()
S
62 4 12
get_facilities()
S
62 4 11
get_terms_related()
S
63 4 10
check_min_nights()
S
61 3 12
check_max_nights()
S
61 3 12
get_pending_rooms()
S
60 3 12
get_available_rooms()
S
61 3 11
has_enough_rooms()
S
62 3 10
get_price_html_from_to()
S
72 3 4
get_room_conditions()
S
63 3 10
get_room_variation()
S
66 3 8
exists()
S
79 2 3
is_variable_room()
S
78 2 3
get_formatted_room_size()
S
73 2 4
is_price_per_day()
S
78 2 3
has_seasonal_price()
S
78 2 3
has_conditions()
S
75 2 4
needs_deposit()
S
76 2 4
get_deposit()
S
74 2 4
get_long_formatted_deposit()
S
73 2 4
get_rate_name()
S
74 2 4
get_image()
S
67 2 8
is_cancellable()
S
76 2 4
get_post_data()
S
82 1 3
get_title()
S
75 1 4
get_gallery_attachment_ids()
S
77 1 3
get_room_type()
S
82 1 3
get_room_type_formatted()
S
74 1 4
get_max_guests()
S
78 1 3
get_max_children()
S
78 1 3
get_stock_rooms()
S
78 1 3
get_min_nights()
S
78 1 3
get_max_nights()
S
78 1 3
get_bed_size()
S
82 1 3
get_beds()
S
80 1 3
get_bathrooms()
S
80 1 3
get_room_size()
S
82 1 3
get_additional_details()
S
82 1 3
get_price_type()
S
82 1 3
get_formatted_deposit()
S
74 1 4
get_categories()
S
78 1 3
get_room_variations()
S
80 1 3