Newspack_Newsletters_Mailchimp_Cached_Data A

Total Complexity 63
Dependencies 6
Dependents 1
Total lines 617
Lines of code 349
Logical lines of code 148
Comment lines 208
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
maybe_show_error()
S
46 5 46
fetch_interest_categories()
S
54 6 20
handle_cron()
S
53 5 24
fetch_tags()
S
54 5 21
get_data()
S
57 4 19
handle_dispatch_refresh()
S
59 4 14
get_mc_api()
S
58 3 17
init()
S
59 3 13
dispatch_refresh()
S
52 2 25
refresh_cached_data()
S
54 2 22
fetch_segments()
S
55 2 20
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
is_cache_expired()
S
73 2 4
clear_errors()
S
66 2 8
update_cache()
S
67 1 7
add_cron_interval()
S
68 1 7
get_cache_date_key()
S
79 1 3
get_cache_key()
S
79 1 3
get_mc_instance()
S
80 1 3
get_merge_fields()
S
74 1 4
get_folders()
S
80 1 3
get_tags()
S
74 1 4
get_interest_categories()
S
74 1 4
get_segments()
S
74 1 4