Widgets_Manager S

Total Complexity 49
Dependencies 6
Dependents 2
Total lines 663
Lines of code 286
Logical lines of code 116
Comment lines 284
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
init_widgets()
S
43 2 53
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_promoted_active_widgets()
S
67 4 8
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
ajax_render_widget()
S
57 1 18
unregister()
S
69 2 7
get_widget_types_config()
S
68 2 7
pluck_default_controls()
S
65 2 9
register_promoted_widgets()
S
73 2 5
render_widgets_content()
S
74 2 5
enqueue_widgets_scripts()
S
74 2 5
enqueue_widgets_styles()
S
74 2 5
unregister_widget_type()
S
68 1 8
register_widget_type()
S
68 1 8
__construct()
S
75 1 4
register_ajax_actions()
S
66 1 8
require_files()
S
80 1 3