Smart_Manager D

Total Complexity 551
Dependencies 13
Dependents 10
Total lines 2,192
Lines of code 1,649
Logical lines of code 902
Comment lines 207
Methods 66
Properties 36

Methods 66

Method Rating Maintainability Complexity Lines of code
enqueue_admin_scripts()
D
11
94 231
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
enqueue_admin_styles()
A
43 15 40
define_constants()
A
41 14 52
get_dashboards()
A
43 14 45
get_current_user_role()
A
52 15 20
show_console_beta()
A
41 10 64
sa_sm_dequeue_styles()
A
57 13 14
add_admin_page()
A
52 12 23
footer_text()
A
66 13 6
update_footer_text()
A
62 13 8
init_hooks()
A
42 10 45
handle_duplicate_dashboard_names()
A
48 11 29
sa_sm_dequeue_scripts()
A
54 11 18
show_upgrade_notifications()
A
37 4 111
get_views()
A
54 10 19
on_admin_init()
A
47 9 33
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
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
quick_help_widget()
S
65 5 8
sm_get_man_hours_data()
S
58 4 15
set_script_translations()
S
66 5 7
sm_get_current_user_display_name()
S
62 4 11
get_latest_upgrade_class()
S
55 3 20
add_admin_notices()
S
67 4 8
process_import_product_slug_column()
S
67 4 7
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
sm_calculate_additional_man_hrs_savings()
S
68 2 6
instance()
S
72 2 6
declare_hpos_compatibility()
S
71 2 5
get_version()
S
66 2 8
show_privilege_page()
S
67 2 8
get_latest_version()
S
72 2 5
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
add_slug_import_option()
S
76 1 4
add_default_slug_column_mapping()
S
76 1 4
is_pro_updated()
S
73 1 5
__construct()
S
75 1 5
get_user_sm_version()
S
73 1 5