Smart_Manager D

Total Complexity 609
Dependencies 13
Dependents 7
Total lines 2,296
Lines of code 1,789
Logical lines of code 963
Comment lines 189
Methods 65
Properties 37

Methods 65

Method Rating Maintainability Complexity Lines of code
enqueue_admin_scripts()
D
4
120 310
on_plugins_loaded()
C
37 31 54
includes()
C
37 29 65
enqueue_admin_styles()
C
37 26 64
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
get_dashboards()
A
43 14 45
get_current_user_role()
A
52 15 20
show_console_beta()
A
40 11 67
init_hooks()
A
41 12 49
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
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
auto_update_setting_html()
S
69 3 6
on_wp_loaded()
S
62 3 10
show_halloween_offer()
S
76 3 3
is_pro_available()
S
67 3 7
sm_calculate_additional_man_hrs_savings()
S
68 2 6
get_scheduled_actions_search_url()
S
76 2 3
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