Newspack_Newsletters_Mailchimp D

Total Complexity 262
Dependencies 17
Dependents 3
Total lines 1,795
Lines of code 1,214
Logical lines of code 574
Comment lines 412
Methods 44
Properties 4

Methods 44

Method Rating Maintainability Complexity Lines of code
audience_segments()
B
35 18 90
add_contact()
B
39 18 61
prepare_merge_fields()
B
33 13 113
get_lists()
A
38 13 72
validate()
A
48 14 33
update_contact_lists()
A
44 12 44
get_contact_data()
A
46 9 41
retrieve()
A
46 9 37
send()
A
45 8 46
sender()
A
41 7 61
sync()
A
41 7 59
get_interest_categories()
A
53 8 23
get_status_for_payload()
A
57 8 16
get_contact_lists()
S
50 7 29
trash()
S
51 7 26
test()
S
45 5 46
get_tag_id()
S
52 6 26
remove_tag_from_contact()
S
54 6 20
get_contact_local_lists()
S
55 6 20
add_tag_to_contact()
S
54 6 20
get_tags()
S
56 6 19
save()
S
58 6 16
get_labels()
S
53 5 21
prepare_lists_to_add_contact()
S
56 5 18
create_tag()
S
57 5 17
update_tag()
S
56 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
upsert_contact()
S
60 4 13
get_contact_tags_ids()
S
58 3 16
process_link()
S
65 3 9
get_merge_field_type()
S
67 3 9
get_list_merge_fields()
S
62 2 12
get_tag_by_id()
S
62 2 12
lists_metabox_notice()
S
65 2 11
get_better_error_message()
S
69 2 6
__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