-
Home
-
Newsletter – Send awesome emails from WordPress
-
8.8.6
-
Code
-
Classes
- NewsletterComposer
| Total Complexity |
128 |
| Dependencies |
7 |
| Dependents |
8 |
| Total lines |
1,061 |
| Lines of code |
641 |
| Logical lines of code |
450 |
| Comment lines |
210 |
| Methods |
35 |
| Properties |
6 |
Methods 35
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| render_block() |
C |
27 |
26 |
145 |
| regenerate_blocks() |
A |
43 |
11 |
45 |
| build_email_from_template() |
A |
42 |
10 |
51 |
| get_blocks() |
S |
50 |
6 |
30 |
| get_templates() |
S |
53 |
5 |
23 |
| regenerate() |
S |
53 |
5 |
23 |
| scan_blocks_dir() |
S |
54 |
5 |
22 |
| update_controls() |
S |
54 |
5 |
21 |
| options_decode() |
S |
58 |
5 |
16 |
| build_template() |
S |
52 |
4 |
25 |
| update_email() |
S |
59 |
4 |
13 |
| get_composer_css() |
S |
53 |
3 |
23 |
| build_block() |
S |
53 |
3 |
21 |
| check_dir() |
S |
58 |
3 |
16 |
| get_html_open() |
S |
50 |
2 |
28 |
| extract_composer_options() |
S |
64 |
3 |
9 |
| to_json() |
S |
57 |
2 |
15 |
| get_main_wrapper_open() |
S |
63 |
3 |
10 |
| sanitize_html() |
S |
62 |
2 |
11 |
| instance() |
S |
71 |
2 |
6 |
| register_block() |
S |
66 |
2 |
9 |
| register_template() |
S |
66 |
2 |
9 |
| extract_body() |
S |
65 |
2 |
9 |
| get_html_preheader() |
S |
65 |
2 |
9 |
| get_composer_backend_css() |
S |
61 |
1 |
13 |
| __construct() |
S |
81 |
1 |
3 |
| options_encode() |
S |
78 |
1 |
3 |
| get_block() |
S |
75 |
1 |
4 |
| get_template() |
S |
75 |
1 |
4 |
| hook_safe_style_css() |
S |
74 |
1 |
5 |
| get_outlook_wrapper_open() |
S |
74 |
1 |
4 |
| get_outlook_wrapper_close() |
S |
79 |
1 |
3 |
| get_main_wrapper_close() |
S |
72 |
1 |
6 |
| get_html_close() |
S |
82 |
1 |
3 |
| update_email_message() |
S |
75 |
1 |
4 |