Newspack_Newsletters_Mailchimp_Cached_Data A

Total Complexity 75
Dependencies 6
Dependents 1
Total lines 713
Lines of code 399
Logical lines of code 174
Comment lines 248
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
maybe_show_error()
S
46 5 46
fetch_lists()
S
52 6 25
fetch_interest_categories()
S
53 6 20
fetch_tags()
S
54 5 21
get_lists()
S
57 5 17
get_data()
S
57 4 19
handle_dispatch_refresh()
S
59 4 14
dispatch_refresh()
S
51 3 29
get_mc_api()
S
58 3 17
init()
S
59 3 13
refresh_cached_data()
S
54 2 22
fetch_segments()
S
55 2 20
fetch_segment()
S
57 2 17
fetch_merge_fields()
S
57 2 17
maybe_add_error()
S
63 3 10
fetch_folders()
S
62 2 11
show_generic_warning()
S
62 1 16
clear_errors()
S
66 2 8
is_cache_expired()
S
73 2 4
handle_cron()
S
66 2 8
get_folders()
S
80 1 3
get_segments()
S
74 1 4
get_interest_categories()
S
74 1 4
get_tags()
S
74 1 4
update_cache()
S
67 1 7
get_merge_fields()
S
74 1 4
add_cron_interval()
S
68 1 7
get_lists_cache_key()
S
79 1 3
get_cache_key()
S
79 1 3
get_cache_date_key()
S
79 1 3
get_mc_instance()
S
80 1 3