-
Home
-
Newspack Newsletters
-
3.3.1
-
Code
-
Classes
- Newspack_Newsletters_Active_Campaign
Total Complexity |
231 |
Dependencies |
11 |
Dependents |
1 |
Total lines |
1,653 |
Lines of code |
1,171 |
Logical lines of code |
509 |
Comment lines |
381 |
Methods |
41 |
Properties |
6 |
Methods 41
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
retrieve() |
B |
35 |
20 |
91 |
get_send_lists() |
B |
37 |
17 |
77 |
add_contact() |
A |
36 |
13 |
86 |
sync() |
A |
37 |
12 |
78 |
test() |
A |
39 |
10 |
69 |
get_segments() |
A |
41 |
10 |
64 |
get_contact_data() |
A |
45 |
9 |
45 |
api_v1_request() |
A |
41 |
8 |
56 |
get_lists() |
A |
47 |
9 |
39 |
update_contact_lists() |
A |
44 |
7 |
54 |
trash() |
A |
52 |
8 |
25 |
api_v3_request() |
A |
46 |
7 |
37 |
send() |
A |
48 |
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 |
create_campaign() |
S |
49 |
5 |
29 |
add_tag_to_contact() |
S |
52 |
5 |
26 |
create_tag() |
S |
53 |
5 |
24 |
update_tag() |
S |
53 |
5 |
24 |
extract_campaign_info() |
S |
59 |
5 |
16 |
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_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 |
get_labels() |
S |
58 |
1 |
16 |
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 |
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 |