-
Home
-
Newspack Newsletters
-
2.12.0
-
Code
-
Classes
- Newspack_Newsletters_Mailchimp_Cached_Data
Total Complexity |
49 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
544 |
Lines of code |
301 |
Logical lines of code |
122 |
Comment lines |
187 |
Methods |
24 |
Properties |
1 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
maybe_show_error() |
S |
46 |
5 |
46 |
fetch_interest_categories() |
S |
55 |
5 |
17 |
handle_cron() |
S |
54 |
4 |
21 |
get_data() |
S |
57 |
4 |
19 |
handle_dispatch_refresh() |
S |
59 |
4 |
14 |
init() |
S |
59 |
3 |
13 |
dispatch_refresh() |
S |
52 |
2 |
25 |
refresh_cached_data() |
S |
55 |
2 |
20 |
maybe_add_error() |
S |
63 |
3 |
10 |
fetch_segments() |
S |
52 |
1 |
28 |
show_generic_warning() |
S |
62 |
1 |
16 |
is_cache_expired() |
S |
73 |
2 |
4 |
clear_errors() |
S |
66 |
2 |
8 |
fetch_merge_fields() |
S |
60 |
1 |
14 |
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_interest_categories() |
S |
74 |
1 |
4 |
get_segments() |
S |
74 |
1 |
4 |
fetch_folders() |
S |
65 |
1 |
8 |