Newspack_Newsletters_Mailchimp D

Total Complexity 253
Dependencies 15
Dependents 2
Total lines 1,689
Lines of code 1,165
Logical lines of code 560
Comment lines 381
Methods 42
Properties 4

Methods 42

Method Rating Maintainability Complexity Lines of code
add_contact()
D
27
32 142
audience_segments()
B
35 18 90
get_lists()
A
38 13 72
add_contact_with_groups_and_tags()
A
44 14 46
validate()
A
48 14 33
retrieve()
A
46 9 37
send()
A
45 8 46
sender()
A
41 7 61
sync()
A
41 7 58
get_contact_data()
A
47 8 37
update_contact_lists()
A
48 8 33
get_interest_categories()
A
53 8 23
get_contact_lists()
S
50 7 29
trash()
S
51 7 26
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_tags()
S
56 6 19
get_labels()
S
53 5 21
update_tag()
S
56 5 17
create_tag()
S
57 5 17
list()
S
49 4 32
folder()
S
50 4 29
set_api_credentials()
S
55 4 21
delete_contact()
S
55 4 19
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
maybe_extract_group_or_tag_list()
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
create_group_or_tag_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