-
Home
-
Newspack Newsletters
-
3.3.1
-
Code
-
Classes
- Newspack_Newsletters_Letterhead
Total Complexity |
21 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
242 |
Lines of code |
69 |
Logical lines of code |
28 |
Comment lines |
141 |
Methods |
17 |
Properties |
0 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_promotions_by_date() |
S |
54 |
4 |
21 |
get_promotions_from_json_response() |
S |
58 |
2 |
17 |
add_contact() |
S |
91 |
1 |
2 |
save() |
S |
98 |
1 |
1 |
test() |
S |
98 |
1 |
1 |
sync() |
S |
98 |
1 |
1 |
set_api_credentials() |
S |
98 |
1 |
1 |
sender() |
S |
98 |
1 |
1 |
send() |
S |
98 |
1 |
1 |
list() |
S |
98 |
1 |
1 |
retrieve() |
S |
98 |
1 |
1 |
api_credentials() |
S |
75 |
1 |
4 |
has_api_credentials() |
S |
76 |
1 |
4 |
get_send_lists() |
S |
98 |
1 |
1 |
get_lists() |
S |
91 |
1 |
2 |
get_and_prepare_promotions_for_insertion() |
S |
67 |
1 |
9 |
trash() |
S |
98 |
1 |
1 |