Newspack_Newsletters_Constant_Contact D

Total Complexity 140
Dependencies 9
Dependents 1
Total lines 1,115
Lines of code 690
Logical lines of code 362
Comment lines 306
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
sync()
B
34 14 96
oauth_callback()
A
49 8 33
add_contact()
A
49 8 31
trash()
A
51 8 26
update_contact_lists()
S
53 7 24
send()
S
50 5 31
save()
S
58 6 16
retrieve()
S
50 5 28
verify_token()
S
50 5 28
connect()
S
58 5 15
test()
S
51 4 28
list()
S
52 4 25
set_segment()
S
52 4 25
sender()
S
49 3 32
get_contact_lists()
S
60 4 14
set_api_credentials()
S
61 4 12
get_tag_id()
S
62 4 11
unset_list()
S
53 3 22
unset_segment()
S
54 3 22
get_lists()
S
55 3 21
add_tag_to_contact()
S
61 3 12
get_contact_data()
S
62 3 11
create_tag()
S
61 2 12
update_tag()
S
62 2 11
get_tag_by_id()
S
66 2 8
clear_tokens()
S
71 2 6
remove_tag_from_contact()
S
64 2 9
get_contact_tags_ids()
S
69 2 7
retrieve_campaign_id()
S
68 2 7
has_api_credentials()
S
78 2 3
set_access_token()
S
64 2 10
__construct()
S
62 1 10
get_labels()
S
64 1 10
api_credentials()
S
66 1 8
access_token()
S
76 1 4
api_secret()
S
76 1 4
api_key()
S
76 1 4
get_oauth_redirect_uri()
S
70 1 7
has_valid_connection()
S
79 1 3
get_usage_report()
S
76 1 4