SyntaxHighlighter D

Total Complexity 231
Dependencies 2
Dependents 1
Total lines 1,799
Lines of code 1,271
Logical lines of code 572
Comment lines 313
Methods 37
Properties 14

Methods 37

Method Rating Maintainability Complexity Lines of code
shortcode_callback()
D
23
50 165
maybe_output_scripts()
D
27
34 142
settings_page()
C
21
9 333
__construct()
B
22
8 237
validate_settings()
B
47 22 27
enable_brushes_used_in_blocks()
A
47 12 35
enqueue_block_editor_assets()
A
40 10 65
render_block()
A
46 9 35
get_code_format()
S
60 7 12
shortcode_hack()
S
49 5 33
atts2string()
S
57 6 16
the_editor_content()
S
61 6 12
enable_brushes_via_raw_html_parsing()
S
56 5 19
encode_shortcode_contents_slashed_noquickedit()
S
63 5 10
attributefix()
S
62 4 11
shortcode_hack_extra_escape_escaped_shortcodes()
S
70 3 6
string_has_shortcodes()
S
67 3 8
settings_link()
S
63 3 10
widget_text_form()
S
69 3 6
widget_text_output()
S
69 3 6
mark_as_encoded()
S
69 3 6
add_tinymce_plugin()
S
61 2 11
pre_do_shortcode_shortcode_hack_skip_others()
S
70 2 6
output_shortcodes_for_tinymce()
S
66 2 8
decode_shortcode_contents_callback()
S
70 2 5
widget_text_save()
S
66 2 8
js_escape_singlequotes()
S
79 1 3
register_setting()
S
79 1 3
encode_shortcode_contents_callback()
S
70 1 5
parse_shortcodes_comment()
S
72 1 6
decode_shortcode_contents()
S
78 1 3
register_settings_page()
S
77 1 3
encode_shortcode_contents()
S
78 1 3
parse_shortcodes()
S
79 1 3
shortcode_hack_extra_escape_escaped_shortcodes_and_parse()
S
76 1 4
break_tinymce_cache()
S
80 1 3
encode_shortcode_contents_slashed()
S
79 1 3