Newspack_Newsletters_Mailchimp_Cached_Data A

Total Complexity 68
Dependencies 6
Dependents 1
Total lines 701
Lines of code 386
Logical lines of code 168
Comment lines 247
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
maybe_show_error()
S
46 5 46
maybe_add_error()
S
54 6 21
get_lists()
S
57 5 17
fetch_interest_categories()
S
55 5 17
get_data()
S
57 4 19
fetch_tags()
S
56 4 18
handle_dispatch_refresh()
S
59 4 14
dispatch_refresh()
S
51 3 29
handle_cron()
S
59 3 14
init()
S
58 3 14
clear_errors()
S
61 3 12
refresh_cached_data()
S
54 2 22
fetch_lists()
S
56 2 19
fetch_segments()
S
57 1 17
show_generic_warning()
S
62 1 16
is_cache_expired()
S
73 2 4
fetch_merge_fields()
S
60 1 14
fetch_segment()
S
60 1 14
get_tags()
S
74 1 4
fetch_folders()
S
65 1 8
get_segments()
S
74 1 4
get_interest_categories()
S
74 1 4
get_cache_key()
S
79 1 3
invalidate_cache()
S
71 1 6
get_cache_date_key()
S
79 1 3
get_merge_fields()
S
74 1 4
get_mc_instance()
S
80 1 3
get_lists_cache_key()
S
79 1 3
add_cron_interval()
S
68 1 7
update_cache()
S
67 1 7
get_folders()
S
80 1 3