Jetpack_Widgets C

Total Complexity 115
Dependencies 3
Dependents 2
Total lines 772
Lines of code 389
Logical lines of code 238
Comment lines 303
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
activate_widget()
A
44 13 43
update_widget()
A
49 10 32
move_widget_to_sidebar()
A
50 9 29
update_widget_in_sidebar()
S
52 7 23
get_registered_widget_object()
S
56 6 19
insert_widget_in_sidebar()
S
55 5 18
decode_settings()
S
62 5 12
get_active_sidebars()
S
63 5 10
get_widgets_in_sidebar()
S
63 5 10
get_last_position_in_sidebar()
S
60 4 14
get_all_widget_ids()
S
61 4 13
get_all_widgets()
S
60 4 13
set_widget_settings()
S
58 3 15
get_active_widgets()
S
63 3 11
sanitize_widget_settings()
S
63 3 11
get_widgets_with_id_base()
S
65 3 9
activate_widgets()
S
62 3 10
get_widget_by_id()
S
65 3 9
format_widget()
S
59 2 14
get_last_widget_instance_key_with_id_base()
S
63 2 10
get_sidebars_widgets()
S
68 2 7
delete_widget()
S
65 2 9
get_all_sidebars()
S
69 2 7
get_first_sidebar()
S
65 2 9
remove_widget_settings()
S
69 1 6
remove_widget_from_sidebar()
S
71 1 5
add_widget_to_sidebar()
S
77 1 3
sort_widgets()
S
71 1 5
get_widget_instance_key()
S
74 1 4
validate_id_base()
S
79 1 3
get_widget_option_name()
S
79 1 3
get_widget_id_base()
S
78 1 3