WPSC_Functions D

Total Complexity 346
Dependencies 2
Dependents 0
Total lines 1,838
Lines of code 1,452
Logical lines of code 712
Comment lines 148
Methods 89
Properties 0

Methods 89

Method Rating Maintainability Complexity Lines of code
has_permission()
D
36 57 48
agent_has_permission()
D
36 45 57
get_label_count_unresolved()
B
34 13 98
get_tf_value_filter_label()
A
44 16 44
get_default_filter_query()
A
38 9 85
submit_ticket_thread()
A
45 10 41
calenderDateFormatToDateTime()
A
50 10 29
submit_cloned_ticket_thread()
A
46 9 38
get_default_filter()
S
49 7 30
get_custom_field_types()
S
37 1 109
datetimeToCalenderFormat()
S
53 6 22
add_extra_users()
S
54 6 21
time_elapsed_string()
S
47 5 35
change_field()
S
49 5 31
get_ticket_description()
S
50 4 33
get_ticket_meta()
S
57 5 16
get_field_sort_type()
S
58 5 15
get_all_meta_keys()
S
50 4 29
get_last_note()
S
47 3 39
get_last_reply()
S
47 3 39
get_os()
S
47 3 35
assign_agent()
S
57 4 18
is_cf_option()
S
68 5 6
get_browser()
S
54 3 22
change_status()
S
54 3 21
get_ticket_post_id()
S
57 3 17
is_agent()
S
64 4 10
get_assigned_agent_emails()
S
60 3 13
get_previously_assigned_agents()
S
60 3 13
get_ticket_id_range()
S
61 3 12
sanitize_array()
S
64 3 11
get_ticket_filter_labels()
S
48 1 40
get_current_user_agent_id()
S
56 2 20
get_all_permission_array()
S
65 3 9
get_current_filter()
S
65 3 9
get_assigned_agents()
S
68 3 7
get_current_agent_permissions()
S
65 3 9
get_ticket_fields()
S
64 3 9
get_priorities()
S
59 2 14
get_statuses()
S
59 2 14
get_categories()
S
59 2 14
is_priority()
S
74 2 4
is_status()
S
74 2 4
is_cf_slug()
S
74 2 4
is_ticket()
S
71 2 5
get_post_status()
S
73 2 4
get_ticket()
S
65 2 9
time_elapsed_timestamp()
S
67 2 8
check_rtl()
S
66 2 8
getRandomString()
S
66 2 8
get_agent_name()
S
69 2 7
is_category()
S
74 2 4
get_assigned_agent_names()
S
65 2 9
get_previously_assigned_agents_names()
S
65 2 9
check_str_is_non_english()
S
69 2 7
get_email_notification_types()
S
60 1 13
rich_editing_status()
S
75 1 4
get_utc_date_str()
S
69 1 6
get_ticket_notes_history_with_logs()
S
77 1 4
get_ticket_history_all_with_notes_and_logs()
S
77 1 4
get_ticket_history_all()
S
77 1 4
get_ticket_history_all_with_logs()
S
77 1 4
get_ticket_history_all_with_notes()
S
77 1 4
ticket_notes_history()
S
77 1 4
get_field_val_by_field_id()
S
77 1 4
get_condition_options()
S
76 1 4
create_ticket()
S
77 1 4
change_category()
S
64 1 9
change_priority()
S
64 1 9
change_raised_by()
S
63 1 10
delete_tickets()
S
66 1 8
get_status_name()
S
75 1 4
get_category_name()
S
75 1 4
get_priority_name()
S
75 1 4
get_ticket_widget_name()
S
75 1 4
get_ticket_history()
S
77 1 4
create_clone_ticket()
S
77 1 4
load_conditions_ui()
S
80 1 3
replace_macro()
S
77 1 4
get_condition_field_options()
S
77 1 4
check_ticket_conditions()
S
77 1 4
display_ad_banner()
S
81 1 3
get_ticket_status()
S
72 1 5
add_ticket_meta()
S
65 1 10
update_ticket_meta()
S
74 1 4
delete_ticket_meta()
S
74 1 4
get_sql_query()
S
76 1 4
create_new_ticket()
S
70 1 6
remove_emoji()
S
64 1 10