NewsletterComposer D

Total Complexity 133
Dependencies 10
Dependents 4
Total lines 929
Lines of code 601
Logical lines of code 440
Comment lines 149
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
render_block()
C
27
26 145
get_preset_content()
A
43 13 51
get_block()
A
46 13 41
regenerate_blocks()
A
45 10 40
scan_presets_dir()
S
52 7 24
get_preset_composer_options()
S
52 7 23
get_blocks()
S
50 6 30
build_email_from_template()
S
49 5 30
scan_blocks_dir()
S
54 5 22
get_templates()
S
55 5 20
get_preset_from_file()
S
55 5 18
options_decode()
S
58 5 16
build_template()
S
53 3 23
build_block()
S
53 3 21
get_composer_css()
S
55 3 20
regenerate()
S
55 3 18
extract_composer_options()
S
64 3 9
to_json()
S
60 2 12
instance()
S
71 2 6
get_composer_backend_css()
S
61 1 13
is_a_tnp_default_preset()
S
79 1 3
__construct()
S
80 1 3
options_encode()
S
78 1 3
hook_safe_style_css()
S
77 1 4
get_outlook_wrapper_open()
S
78 1 3
get_outlook_wrapper_close()
S
82 1 3