Newspack_Newsletters_Constant_Contact C

Total Complexity 123
Dependencies 7
Dependents 1
Total lines 1,024
Lines of code 630
Logical lines of code 324
Comment lines 284
Methods 38
Properties 4

Methods 38

Method Rating Maintainability Complexity Lines of code
sync()
B
34 14 94
oauth_callback()
A
49 8 33
trash()
A
51 8 26
add_contact()
S
53 6 21
send()
S
50 5 31
verify_token()
S
50 5 28
retrieve()
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
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 20
save()
S
64 4 10
create_tag()
S
61 2 12
get_contact_data()
S
62 2 11
update_tag()
S
62 2 11
add_tag_to_contact()
S
64 2 9
set_access_token()
S
64 2 10
remove_tag_from_contact()
S
64 2 9
get_contact_tags_ids()
S
69 2 7
retrieve_campaign_id()
S
68 2 7
get_tag_by_id()
S
66 2 8
has_api_credentials()
S
78 2 3
clear_tokens()
S
71 2 6
__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