HTL_Room_Variation D

Total Complexity 131
Dependencies 5
Dependents 2
Total lines 736
Lines of code 378
Logical lines of code 230
Comment lines 205
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
get_min_price_html()
B
43 17 48
get_seasonal_price()
B
42 16 48
get_advanced_price_settings()
A
48 12 36
get_regular_price()
A
50 8 31
get_sale_price()
A
50 8 31
calculate_advanced_custom_price()
S
54 6 21
get_price()
S
57 6 16
get_price_html()
S
53 5 22
is_on_sale()
S
69 6 5
get_room_description()
S
59 5 14
__construct()
S
64 4 10
get_advanced_restriction_value()
S
62 3 11
get_price_html_from_to()
S
72 3 4
get_room_conditions()
S
63 3 10
has_advanced_custom_price()
S
68 3 7
has_advanced_restriction()
S
68 3 7
is_price_per_day()
S
78 2 3
has_seasonal_price()
S
78 2 3
has_conditions()
S
75 2 4
needs_deposit()
S
74 2 4
get_deposit()
S
73 2 4
get_long_formatted_deposit()
S
73 2 4
is_cancellable()
S
74 2 4
get_advanced_restriction_type()
S
73 2 4
get_room_index()
S
75 1 4
get_room_rate()
S
76 1 4
get_formatted_room_rate()
S
74 1 5
get_price_type()
S
76 1 4
get_formatted_deposit()
S
74 1 4
get_min_nights()
S
78 1 3
get_max_nights()
S
78 1 3