Cherry_Customizer D

Total Complexity 150
Dependencies 3
Dependents 0
Total lines 1,135
Lines of code 428
Logical lines of code 239
Comment lines 540
Methods 42
Properties 8

Methods 42

Method Rating Maintainability Complexity Lines of code
add_control()
D
30 35 106
sanitize_range()
A
56 13 15
__construct()
A
49 12 26
register()
S
55 7 20
add_section()
S
55 7 18
add_panel()
S
56 6 16
add_options()
S
57 5 17
get_value()
S
60 5 13
get_fonts()
S
64 5 10
prepare_fonts()
S
59 4 14
get_control_section()
S
57 3 18
init_fonts()
S
60 3 13
read_font_file()
S
62 3 11
sanitize_checkbox()
S
77 3 3
sanitize_image()
S
66 3 8
clear_fonts()
S
65 2 9
get_default()
S
77 2 3
sanitize_select()
S
72 2 5
_build_values()
S
71 2 6
sanitize_hex_color()
S
75 2 4
_build_keys()
S
70 2 6
active_callback()
S
69 2 7
include_custom_controls()
S
73 2 5
sanitize_email()
S
75 2 4
fire_clear_fonts()
S
82 1 3
satizite_font_family()
S
68 1 7
get_file()
S
76 1 4
file_exists()
S
80 1 3
callback_single()
S
81 1 3
sanitize_url()
S
80 1 3
get_fonts_data()
S
70 1 6
get_image_types()
S
64 1 10
sanitize_number()
S
79 1 3
sanitize_file()
S
80 1 3
pass_core_into_control()
S
82 1 3
sanitize_radio()
S
79 1 3
sanitize_textarea()
S
80 1 3
sanitize_text()
S
80 1 3
sanitize_type()
S
79 1 3
set_customize()
S
81 1 3
prepare_prefix()
S
72 1 5
get_instance()
S
79 1 3