Smart_Manager D

Total Complexity 576
Dependencies 13
Dependents 10
Total lines 2,235
Lines of code 1,693
Logical lines of code 917
Comment lines 205
Methods 66
Properties 37

Methods 66

Method Rating Maintainability Complexity Lines of code
enqueue_admin_scripts()
D
10
95 237
on_plugins_loaded()
C
37 31 54
includes()
B
41 24 52
define_woo_constants()
B
38 16 100
add_promo_notices()
B
36 16 83
on_admin_init()
B
44 17 36
define_constants()
A
41 15 55
enqueue_admin_styles()
A
43 15 40
get_dashboards()
A
43 14 45
get_current_user_role()
A
52 15 20
show_console_beta()
A
40 11 67
init_hooks()
A
42 12 46
update_footer_text()
A
59 14 11
sa_sm_dequeue_styles()
A
57 13 14
add_admin_page()
A
52 12 23
footer_text()
A
66 13 6
handle_duplicate_dashboard_names()
A
48 11 29
get_views()
A
53 11 20
sa_sm_dequeue_scripts()
A
54 11 18
add_admin_notices()
A
61 11 11
show_upgrade_notifications()
A
36 4 114
add_menu()
A
54 10 16
show_upgrade_to_pro()
A
49 9 27
add_menu_access()
A
52 9 21
overwrite_site_transient()
A
55 9 17
remove_help_tab_and_hiding_admin_notices()
A
51 8 29
sm_get_man_hours_html()
A
45 6 55
sm_update_man_hours_data()
A
52 8 24
smart_manager_support_ticket_content()
A
54 8 19
log()
A
55 8 17
add_additonal_links()
S
58 8 12
get_taxonomies()
S
53 7 21
add_admin_bar_menu()
S
56 7 17
add_sku_generation_feature_notice()
S
51 6 26
sm_get_time_saved_with_additional_savings()
S
55 6 17
manage_with_smart_manager()
S
49 5 32
is_page_for_notifications()
S
65 7 7
get_pro_download_url()
S
59 6 13
update_to_pro()
S
51 4 28
set_script_translations()
S
66 5 7
quick_help_widget()
S
65 5 8
sm_get_man_hours_data()
S
58 4 15
sm_get_current_user_display_name()
S
62 4 11
get_latest_upgrade_class()
S
55 3 20
get_free_menu_position()
S
63 4 10
add_plugin_social_links()
S
57 2 27
is_pro_available()
S
67 3 7
on_wp_loaded()
S
62 3 10
show_halloween_offer()
S
76 3 3
auto_update_setting_html()
S
69 3 6
get_scheduled_actions_search_url()
S
76 2 3
sm_calculate_additional_man_hrs_savings()
S
68 2 6
instance()
S
72 2 6
get_latest_version()
S
72 2 5
declare_hpos_compatibility()
S
71 2 5
get_version()
S
66 2 8
show_privilege_page()
S
67 2 8
pro_activated()
S
67 2 7
localize_smart_manager()
S
63 2 9
get_data()
S
80 1 3
display_err()
S
72 1 5
display_notice()
S
72 1 6
is_pro_updated()
S
73 1 5
get_user_sm_version()
S
73 1 5
__construct()
S
75 1 5
dismiss_generate_sku_feature_notice()
S
75 1 4