CX_Customizer D

Total Complexity 218
Dependencies 1
Dependents 1
Total lines 1,367
Lines of code 632
Logical lines of code 351
Comment lines 534
Methods 46
Properties 9

Methods 46

Method Rating Maintainability Complexity Lines of code
add_control()
D
23
54 157
auto_enqueue_frontend_css()
C
37 25 72
__construct()
A
48 15 27
sanitize_range()
A
56 13 15
is_google_font()
A
52 8 25
register()
S
55 7 20
add_section()
S
55 7 18
get_controls_with_css()
S
58 7 15
add_panel()
S
56 6 16
prepare_fonts()
S
56 5 18
add_options()
S
57 5 17
get_value()
S
60 5 13
_get_fonts_options()
S
56 4 18
get_fonts()
S
64 5 10
get_control_section()
S
57 3 18
read_font_file()
S
62 3 11
customize_preview_init()
S
64 3 9
sanitize_image()
S
66 3 8
sanitize_checkbox()
S
77 3 3
render_font_value()
S
63 3 10
sanitize_email()
S
75 2 4
get_default()
S
77 2 3
sanitize_select()
S
72 2 5
active_callback()
S
69 2 7
sanitize_hex_color()
S
75 2 4
_build_values()
S
71 2 6
_build_keys()
S
70 2 6
get_file()
S
68 2 8
custom_devices()
S
60 1 14
sanitize_number()
S
79 1 3
sanitize_file()
S
80 1 3
callback_single()
S
81 1 3
sanitize_radio()
S
79 1 3
sanitize_text()
S
80 1 3
sanitize_type()
S
79 1 3
sanitize_url()
S
80 1 3
satizite_font_family()
S
68 1 7
file_exists()
S
80 1 3
sanitize_cropped_image()
S
79 1 3
init_fonts_manager()
S
64 1 10
get_fonts_options()
S
75 1 4
get_fonts_data()
S
70 1 6
prepare_prefix()
S
72 1 5
sanitize_textarea()
S
80 1 3
get_image_types()
S
64 1 10
set_customize()
S
81 1 3