WPRM_Shortcode_Helper D

Total Complexity 129
Dependencies 6
Dependents 53
Total lines 1,073
Lines of code 835
Logical lines of code 264
Comment lines 135
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
get_toggle_switch()
D
31 36 91
get_section_header()
C
36 26 68
get_label_container()
A
38 14 68
get_internal_container()
A
41 14 54
get_thumbnail_image_size()
A
57 9 16
get_section_atts()
S
36 1 118
get_label_container_atts()
S
37 1 112
get_internal_container_atts()
S
39 1 98
add_inline_style()
S
54 6 19
get_inline_css_variables()
S
57 6 15
get_checkbox_atts()
S
40 1 85
get_toggle_switch_atts()
S
51 1 32
sanitize_html_element()
S
58 2 17
get_inline_style()
S
66 3 9
test_inline_css_variables()
S
63 3 9
insert_atts_after_key()
S
64 2 9
sanitize_html()
S
69 2 7
get_force_image_size_style()
S
66 1 8