ER_Resource D

Total Complexity 210
Dependencies 3
Dependents 7
Total lines 999
Lines of code 564
Logical lines of code 302
Comment lines 275
Methods 60
Properties 23

Methods 60

Method Rating Maintainability Complexity Lines of code
filter()
C
37 31 67
__construct()
B
37 21 69
unit_condition()
B
54 19 16
time_condition()
A
50 10 29
availability_filter()
A
50 10 27
add()
A
45 7 42
get_billing_units()
S
55 7 17
is_visible()
S
62 8 9
read_visibility()
S
54 6 20
get_price()
S
58 5 15
get_spaces_options()
S
61 5 10
get_price_suffix()
S
58 4 14
get_space_name()
S
61 4 12
is_possible_departure_day()
S
72 4 4
is_possible_arrival_day()
S
72 4 4
has_slot()
S
65 4 10
get_frequency_units()
S
69 3 6
get_slot()
S
65 3 10
get_image()
S
67 3 7
get_possible_arrival_time()
S
76 3 3
get_possible_departure_time()
S
76 3 3
get_requirements()
S
61 2 13
get_form_template()
S
74 2 4
get_price_html()
S
64 2 9
get_gallery_image_ids()
S
74 2 4
availability_by()
S
72 2 6
get_default_arrival_time()
S
66 2 8
get_default_departure_time()
S
66 2 8
get_option_name()
S
60 1 13
get_data()
S
60 1 13
set_title()
S
80 1 3
set_gallery_image_ids()
S
79 1 3
set_catalog_visibility()
S
80 1 3
set_featured()
S
80 1 3
set_onsale()
S
80 1 3
set_content()
S
80 1 3
get_children_price()
S
82 1 3
get_base_price()
S
82 1 3
get_id()
S
80 1 3
get_quantity()
S
82 1 3
get_purchase_note()
S
75 1 4
get_content()
S
82 1 3
get_billing_interval()
S
82 1 3
get_billing_method()
S
82 1 3
get_frequency()
S
82 1 3
get_title()
S
80 1 3
get_post_name()
S
82 1 3
get_excerpt()
S
82 1 3
get_post_password()
S
82 1 3
get_status()
S
82 1 3
get_sku()
S
75 1 4
bill_only_once()
S
81 1 3
bill_per_person()
S
81 1 3
get_slots()
S
82 1 3
get_permalink()
S
80 1 3
get_filter()
S
82 1 3
get_image_id()
S
78 1 3
get_catalog_visibility()
S
82 1 3
get_featured()
S
82 1 3
is_on_sale()
S
82 1 3