WPSC_Functions D

Total Complexity 185
Dependencies 8
Dependents 110
Total lines 941
Lines of code 517
Logical lines of code 302
Comment lines 250
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
parse_user_filters()
C
35 31 76
get_object()
B
47 17 32
parse_order()
A
56 11 16
array_sort()
A
51 9 29
date_interval_highest_unit_ago()
A
47 8 40
readable_to_date_interval()
A
55 8 18
date_interval_to_string()
A
57 8 17
date_interval_to_readable()
S
52 6 27
load_library()
S
52 6 23
parse_response()
S
53 6 22
set_object()
S
55 6 20
get_tff_classes()
S
56 6 18
sanitize_date()
S
62 5 11
get_new_ticket_url()
S
61 5 11
sanitize_datetime()
S
62 5 11
parse_limit()
S
61 5 11
sanitize_time()
S
64 5 9
is_wpsc_page()
S
67 4 7
sanitize_option()
S
63 4 10
get_month_name()
S
56 2 17
sanitize_attachment()
S
68 3 7
is_site_admin()
S
74 3 4
sanitize_sql_key()
S
64 3 10
date_interval_sum()
S
61 2 12
get_day_name()
S
60 2 12
sanitize_url()
S
78 2 3
sanitize_email()
S
78 2 3
get_locale_iso()
S
68 2 7
get_random_string()
S
65 2 8
get_filter_search_str()
S
77 2 3
load_ref_classes()
S
78 1 3
get_utc_date_str()
S
69 1 6
get_tl_cf_auto_increament()
S
69 1 6
get_tl_df_auto_increament()
S
72 1 5
init()
S
78 1 3