Mega_Menu D

Total Complexity 219
Dependencies 5
Dependents 0
Total lines 1,343
Lines of code 806
Logical lines of code 415
Comment lines 256
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
add_widgets_to_menu()
D
24
42 172
modify_nav_menu_args()
D
25
39 146
apply_classes_to_menu_items()
C
36 25 70
prefix_menu_classes()
A
50 9 27
admin_notices()
A
44 7 51
reorder_menu_items_within_megamenus()
A
55 9 18
__construct()
A
41 6 55
includes()
A
54 8 21
set_descriptions_if_enabled()
A
56 8 17
menu_order_of_next_sibling()
S
55 7 21
setup_menu_items()
S
54 7 18
apply_depth_to_menu_items()
S
57 6 17
install_upgrade_check()
S
52 5 25
css_classes_never_highlight()
S
61 5 14
add_megamenu_body_classes()
S
62 5 11
add_responsive_toggle()
S
60 4 12
admin_enqueue_scripts()
S
62 4 11
register_nav_menus()
S
66 4 8
register_shortcode()
S
61 3 14
register_widget()
S
69 3 8
plugin_classes()
S
54 1 20
add_notice_to_nav_menu_widget()
S
66 2 10
define_constants()
S
79 1 5
load_plugin_textdomain()
S
77 1 3
register_sidebar()
S
66 1 9
megamenu_blackstudio_tinymce()
S
77 1 4
admin_print_styles()
S
81 1 3
admin_print_scripts()
S
81 1 3
admin_print_footer_scripts()
S
81 1 3
is_compatible_wordpress_version()
S
77 1 4
conditional_menus_restore_theme_location()
S
80 1 3
init()
S
80 1 3