WPSC_Rest_v1_Helper B

Total Complexity 83
Dependencies 1
Dependents 0
Total lines 591
Lines of code 328
Logical lines of code 142
Comment lines 121
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
validate_attachment()
A
51 9 25
user_login()
S
48 6 33
validate_ticket_read_permission()
S
55 7 17
validate_ticket_reply_permission()
S
55 7 17
validate_ticket_note_permission()
S
57 6 16
validate_agent()
S
56 4 22
validate_guest_attachment()
S
55 4 21
validate_guest_user()
S
58 3 17
validate_secret_key()
S
58 3 15
validate_registered_user_attachment()
S
64 3 11
get_individual_ticket()
S
65 3 9
validate_registered_user()
S
62 2 13
get_agent_info()
S
61 1 12
submit_reply()
S
76 1 4
get_tl_meta_query_restrict_rules()
S
76 1 4
create_new_ticket()
S
76 1 4
get_agent()
S
76 1 4
submit_note()
S
76 1 4
update_ticket_fields()
S
76 1 4
file_attachment()
S
76 1 4
autocomplete_suggestions()
S
76 1 4
get_agents()
S
76 1 4
get_thread_history_id()
S
76 1 4
get_thread_history()
S
76 1 4
get_tickets()
S
76 1 4
get_filters()
S
76 1 4
get_thread_response()
S
76 1 4
get_ticket_response()
S
76 1 4
get_ticket_threads()
S
76 1 4
get_priority()
S
76 1 4
get_priority_list()
S
76 1 4
get_category()
S
76 1 4
get_category_list()
S
76 1 4
get_status()
S
76 1 4
get_status_list()
S
76 1 4
get_agentonly_fields()
S
76 1 4
get_ticket_form_fields()
S
76 1 4
delete_ticket_by_id()
S
76 1 4