WPSC_Functions D

Total Complexity 212
Dependencies 9
Dependents 131
Total lines 1,154
Lines of code 656
Logical lines of code 406
Comment lines 295
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
parse_user_filters()
D
34 32 80
get_object()
B
47 17 32
get_dashboard_date_range()
B
36 14 77
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
get_ticket_url()
S
51 6 27
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
get_new_ticket_url()
S
61 5 11
sanitize_datetime()
S
62 5 11
parse_limit()
S
61 5 11
sanitize_date()
S
62 5 11
sanitize_time()
S
64 5 9
anonymous_customer()
S
55 3 20
sanitize_option()
S
63 4 10
is_site_admin()
S
74 4 4
is_wpsc_page()
S
67 4 7
get_month_name()
S
56 2 17
sanitize_sql_key()
S
64 3 10
sanitize_attachment()
S
68 3 7
date_interval_sum()
S
61 2 12
get_day_name()
S
60 2 12
generate_random_color()
S
61 2 11
get_random_string()
S
65 2 8
sanitize_email()
S
78 2 3
sanitize_url()
S
78 2 3
get_locale_iso()
S
68 2 7
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