NewsletterComposer C

Total Complexity 120
Dependencies 8
Dependents 4
Total lines 816
Lines of code 527
Logical lines of code 389
Comment lines 136
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
render_block()
B
30 19 118
get_preset_content()
A
43 13 51
get_block()
A
46 13 41
regenerate_blocks()
A
46 9 37
scan_presets_dir()
S
52 7 24
get_preset_composer_options()
S
52 7 23
get_blocks()
S
50 6 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
regenerate()
S
55 3 18
get_composer_css()
S
60 3 13
extract_composer_options()
S
64 3 9
to_json()
S
60 2 12
instance()
S
71 2 6
get_composer_backend_css()
S
71 1 6
__construct()
S
80 1 3
is_a_tnp_default_preset()
S
79 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