GBT_Dashboard_Setup D

Total Complexity 154
Dependencies 4
Dependents 22
Total lines 926
Lines of code 644
Logical lines of code 286
Comment lines 117
Methods 58
Properties 14

Methods 58

Method Rating Maintainability Complexity Lines of code
fetch_and_cache_message()
B
40 18 55
gbt_theme_update_redirect()
S
51 7 26
ajax_enable_auto_updates()
S
48 6 37
init_instance()
S
50 5 27
validate_message()
S
61 6 11
unsupported_theme_warning()
S
48 4 40
gbt_fs_add_custom_messages()
S
61 5 13
get_theme_download_url()
S
57 4 18
is_valid_message()
S
68 5 7
gbt_redirect_after_theme_update()
S
62 4 13
is_supported_theme()
S
61 4 12
get_external_message()
S
60 4 12
handle_message_dismissal()
S
62 4 11
initialize_base_paths()
S
57 3 18
gbt_setup_freemius()
S
56 3 18
initialize_theme_urls()
S
59 3 14
get_auto_update_enable_button()
S
56 2 20
is_theme_activation_page()
S
77 3 3
get_theme_config()
S
68 3 7
get_global_config()
S
67 3 7
is_license_active()
S
63 3 10
is_support_active()
S
63 3 10
check_theme_exists()
S
66 3 9
handle_theme_install_ajax()
S
65 3 8
decode_message_if_needed()
S
66 3 8
get_auto_update_content()
S
59 2 15
initialize_theme_properties()
S
60 2 14
setup_hooks()
S
59 2 13
setup_freemius_for_all_themes()
S
62 2 13
get_dashboard_page_slugs()
S
63 2 12
setup_freemius_texts()
S
54 1 25
enqueue_theme_installer_scripts()
S
56 1 20
init()
S
69 2 7
get_theme_sales_page_url()
S
68 2 7
handle_theme_activate_ajax()
S
69 2 7
create_theme_installer()
S
70 2 6
display_dashboard_message()
S
65 2 10
get_theme_auto_update_status()
S
60 1 13
__construct()
S
91 1 2
get_instance()
S
80 1 3
__clone()
S
98 1 1
__wakeup()
S
80 1 3
is_plugin_context()
S
78 1 3
get_base_paths()
S
82 1 3
redirect_to_dashboard()
S
77 1 4
gbt_fs_custom_connect_header()
S
70 1 7
gbt_fs_custom_connect_message()
S
72 1 6
get_theme_slug()
S
82 1 3
get_theme_name()
S
82 1 3
get_theme_version()
S
82 1 3
get_theme_url_changelog()
S
82 1 3
get_theme_url_docs()
S
82 1 3
get_theme_url_support()
S
82 1 3
get_theme_child_download_link()
S
82 1 3
get_theme_marketplace_id()
S
82 1 3
get_supported_themes()
S
74 1 4
install_parent_theme_only()
S
75 1 4
install_theme_with_child()
S
75 1 4