SSA_Appointment_Model D

Total Complexity 230
Dependencies 14
Dependents 8
Total lines 1,874
Lines of code 1,113
Logical lines of code 517
Comment lines 186
Methods 57
Properties 5

Methods 57

Method Rating Maintainability Complexity Lines of code
create_item()
C
30 25 130
update_item()
B
36 22 78
filter_where_conditions()
B
35 21 85
get_metas()
A
46 12 41
insert()
A
45 11 41
format_multiline_customer_information()
A
52 11 22
get_items()
A
43 9 46
purge_appointments()
A
47 9 34
register_custom_routes()
A
35 1 138
get_items_permissions_check()
A
53 8 23
is_appointment_reassigned()
A
57 8 16
get_item_permissions_check()
S
54 7 22
prevent_canceling_a_reserved_appointment()
S
62 5 12
cleanup_customer_information()
S
61 5 12
group_cancel()
S
54 4 24
get_item_meta()
S
55 4 20
update_rescheduled_to_appointment_id()
S
56 4 20
availability()
S
49 3 34
update_item_meta()
S
55 3 19
get_selected_resources()
S
57 3 18
get_staff_ids()
S
57 3 18
get_public_edit_url()
S
56 3 18
group_delete()
S
58 3 16
merge_customer_information()
S
65 3 10
default_appointment_status()
S
68 3 7
get_meta()
S
59 2 15
get_item_ics()
S
60 2 13
delete_abandoned()
S
62 2 12
prepare_item_for_response()
S
62 2 11
is_prospective_appointment_available()
S
55 1 23
get_item()
S
64 2 9
download_item_ics_customer()
S
63 2 10
update_item_permissions_check()
S
71 2 6
download_item_ics_staff()
S
63 2 10
has_many()
S
63 1 12
get_admin_edit_url()
S
75 1 4
update_metas()
S
79 1 3
generate_appointments_backup()
S
76 1 4
deprecated_get_public_edit_url()
S
69 1 6
__construct()
S
77 1 4
get_ics_endpoints_base()
S
71 1 5
get_abandoned_statuses()
S
80 1 3
get_booked_statuses()
S
80 1 3
is_a_booked_status()
S
79 1 3
get_reserved_statuses()
S
79 1 3
is_a_reserved_status()
S
79 1 3
get_canceled_statuses()
S
80 1 3
is_a_canceled_status()
S
79 1 3
is_an_abandoned_status()
S
79 1 3
hooks()
S
64 1 9
get_unavailable_statuses()
S
72 1 6
is_a_unavailable_status()
S
79 1 3
is_a_available_status()
S
79 1 3
debug()
S
91 1 2
belongs_to()
S
68 1 8
create_item_permissions_check()
S
80 1 3
get_label_id()
S
76 1 4