Newspack_Newsletters_Mailchimp D

Total Complexity 213
Dependencies 14
Dependents 2
Total lines 1,503
Lines of code 1,031
Logical lines of code 478
Comment lines 346
Methods 39
Properties 4

Methods 39

Method Rating Maintainability Complexity Lines of code
add_contact()
C
30 26 118
audience_segments()
B
35 18 90
validate()
A
48 14 33
update_contact_lists()
A
44 13 45
get_lists()
A
42 8 55
retrieve()
A
47 9 35
send()
A
45 8 46
sender()
A
41 7 61
sync()
A
41 7 58
trash()
S
51 7 26
get_contact_data()
S
49 6 33
test()
S
45 5 46
get_tag_id()
S
52 6 26
get_contact_local_lists()
S
55 6 20
remove_tag_from_contact()
S
54 6 20
add_tag_to_contact()
S
54 6 20
get_contact_lists()
S
54 5 23
list()
S
49 4 32
update_tag()
S
56 5 17
create_tag()
S
57 5 17
folder()
S
50 4 29
set_api_credentials()
S
55 4 21
delete_contact()
S
55 4 19
get_labels()
S
55 3 18
get_contact_tags_ids()
S
58 3 16
save()
S
64 4 10
process_link()
S
65 3 9
get_tag_by_id()
S
62 2 12
get_list_merge_fields()
S
62 2 12
lists_metabox_notice()
S
65 2 11
get_better_error_message()
S
69 2 6
maybe_extract_group_list()
S
64 2 10
create_group_list_id()
S
79 1 3
__construct()
S
62 1 10
get_conditional_tag_support()
S
66 1 9
api_key()
S
76 1 4
has_api_credentials()
S
80 1 3
api_credentials()
S
73 1 5
get_usage_report()
S
81 1 3