SiteOrigin_Widgets_Bundle D

Total Complexity 161
Dependencies 2
Dependents 8
Total lines 1,009
Lines of code 633
Logical lines of code 340
Comment lines 190
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
enqueue_active_widgets_scripts()
A
50 13 25
activate_widget()
A
46 10 38
clear_file_cache()
A
51 10 24
admin_activate_widget()
A
52 10 23
admin_page()
S
50 7 28
admin_ajax_settings_form()
S
49 7 28
get_active_widgets()
S
53 7 21
admin_ajax_settings_save()
S
54 7 18
enqueue_registered_widgets_scripts()
S
56 7 17
is_block_editor()
S
61 7 11
include_widgets_css_in_autoptimize()
S
52 6 23
get_widgets_list()
S
47 5 36
load_missing_widget()
S
56 5 18
admin_ajax_manage_handler()
S
56 5 17
admin_ajax_get_javascript_variables()
S
56 5 17
get_widget_objects()
S
57 5 17
load_missing_widgets()
S
58 5 16
load_widget_plugins()
S
59 5 15
clear_widget_cache()
S
58 5 14
register_general_scripts()
S
44 1 61
plugin_action_links()
S
60 4 11
check_for_new_widgets()
S
60 3 14
__construct()
S
50 2 28
include_widget()
S
62 3 11
admin_enqueue_scripts()
S
53 2 26
plugin_version_check()
S
63 3 10
deactivate_widget()
S
62 2 11
admin_register_scripts()
S
56 1 22
widget_uasort()
S
78 2 3
single()
S
70 2 7
get_widget_folders()
S
67 2 8
handle_update()
S
82 1 3
set_plugin_textdomain()
S
77 1 3
admin_menu_init()
S
66 1 9