-
Home
-
Newspack Newsletters
-
3.0.1
-
Code
-
Classes
- Newspack_Newsletters_Letterhead
Total Complexity |
20 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
232 |
Lines of code |
68 |
Logical lines of code |
28 |
Comment lines |
132 |
Methods |
16 |
Properties |
0 |
Methods 16
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 |
api_credentials() |
S |
75 |
1 |
4 |
get_and_prepare_promotions_for_insertion() |
S |
67 |
1 |
9 |
get_lists() |
S |
91 |
1 |
2 |
has_api_credentials() |
S |
76 |
1 |
4 |
list() |
S |
98 |
1 |
1 |
retrieve() |
S |
98 |
1 |
1 |
save() |
S |
98 |
1 |
1 |
send() |
S |
98 |
1 |
1 |
sender() |
S |
98 |
1 |
1 |
set_api_credentials() |
S |
98 |
1 |
1 |
sync() |
S |
98 |
1 |
1 |
test() |
S |
98 |
1 |
1 |
trash() |
S |
98 |
1 |
1 |