Newspack_Newsletters_Service_Provider C

Total Complexity 108
Dependencies 10
Dependents 2
Total lines 798
Lines of code 381
Logical lines of code 192
Comment lines 341
Methods 35
Properties 5

Methods 35

Method Rating Maintainability Complexity Lines of code
pre_post_update()
A
48 13 30
insert_post_data()
A
50 10 28
send_newsletter()
A
43 8 52
insert_post()
S
53 7 24
update_contact_local_lists()
S
53 7 22
transition_post_status()
S
53 6 22
updated_post_meta()
S
54 6 21
update_contact_lists_handling_local()
S
55 6 21
get_contact_local_lists()
S
56 5 18
add_contact_handling_local_list()
S
56 5 17
get_contact_combined_lists()
S
61 4 14
instance()
S
67 4 7
__construct()
S
62 3 10
api_authoring_permissions_check()
S
62 2 12
get_campaign_name()
S
68 2 7
get_labels()
S
61 1 12
label()
S
74 1 4
get_esp_local_list_id()
S
79 1 3
get_usage_report()
S
77 1 3
get_contact_esp_local_lists_ids()
S
80 1 3
remove_esp_local_list_from_contact()
S
79 1 3
add_esp_local_list_to_contact()
S
79 1 3
update_esp_local_list()
S
79 1 3
create_esp_local_list()
S
79 1 3
get_esp_local_list_by_id()
S
79 1 3
remove_tag_from_contact()
S
77 1 3
get_contact_tags_ids()
S
77 1 3
add_tag_to_contact()
S
77 1 3
update_tag()
S
77 1 3
create_tag()
S
77 1 3
get_tag_by_id()
S
77 1 3
get_tag_id()
S
77 1 3
get_conditional_tag_support()
S
67 1 9
update_contact_lists()
S
77 1 3
get_transient_name()
S
79 1 3