Newspack_Newsletters_Active_Campaign D

Total Complexity 183
Dependencies 8
Dependents 1
Total lines 1,385
Lines of code 970
Logical lines of code 412
Comment lines 329
Methods 39
Properties 5

Methods 39

Method Rating Maintainability Complexity Lines of code
add_contact()
A
36 13 86
sync()
A
36 12 85
test()
A
39 10 69
get_contact_data()
A
45 9 45
api_v1_request()
A
42 7 55
update_contact_lists()
A
44 7 54
trash()
A
52 8 25
retrieve()
A
47 7 38
send()
A
48 7 37
api_v3_request()
A
46 7 37
get_tag_id()
S
51 7 29
get_contact_lists()
S
56 7 17
remove_tag_from_contact()
S
54 6 21
get_contact_tag_id()
S
55 6 20
save()
S
58 6 16
add_tag_to_contact()
S
52 5 26
create_campaign()
S
50 5 26
update_tag()
S
53 5 24
create_tag()
S
53 5 24
get_segments()
S
49 4 37
delete_campaign()
S
55 4 18
get_all_contact_fields()
S
58 4 16
set_api_credentials()
S
61 4 12
get_metadata_type()
S
59 3 15
get_lists()
S
59 3 14
get_tag_by_id()
S
63 3 11
lists_metabox_notice()
S
56 2 23
get_contact_tags_ids()
S
57 2 18
delete_contact()
S
65 3 8
clear_contact_data()
S
73 2 5
has_api_credentials()
S
74 2 4
get_contact_fields()
S
63 1 12
__construct()
S
65 1 8
get_labels()
S
64 1 10
sender()
S
82 1 3
get_conditional_tag_support()
S
66 1 9
list()
S
82 1 3
api_credentials()
S
71 1 6
get_usage_report()
S
76 1 4