Widgets_Manager S

Total Complexity 46
Dependencies 6
Dependents 2
Total lines 647
Lines of code 280
Logical lines of code 114
Comment lines 277
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
init_widgets()
S
44 2 52
ajax_get_wp_widget_form()
S
56 4 20
register_wp_widgets()
S
58 3 16
get_widget_types()
S
66 4 9
ajax_get_widget_types_controls_config()
S
58 3 15
register()
S
63 3 11
ajax_get_widgets_default_value_translations()
S
56 2 20
get_inline_editing_config()
S
51 1 32
get_widgets_frontend_settings_keys()
S
64 3 10
register_promoted_widgets()
S
67 3 8
ajax_render_widget()
S
57 1 18
pluck_default_controls()
S
65 2 9
get_widget_types_config()
S
68 2 7
render_widgets_content()
S
74 2 5
unregister()
S
69 2 7
enqueue_widgets_scripts()
S
74 2 5
enqueue_widgets_styles()
S
74 2 5
register_widget_type()
S
68 1 8
require_files()
S
80 1 3
unregister_widget_type()
S
68 1 8
__construct()
S
75 1 4
register_ajax_actions()
S
66 1 8