GBT_Dashboard_Setup C

Total Complexity 117
Dependencies 2
Dependents 20
Total lines 599
Lines of code 407
Logical lines of code 188
Comment lines 78
Methods 45
Properties 14

Methods 45

Method Rating Maintainability Complexity Lines of code
fetch_and_cache_message()
B
40 16 55
gbt_theme_update_redirect()
S
62 8 9
validate_message()
S
61 6 11
init_instance()
S
53 5 22
gbt_fs_add_custom_messages()
S
62 5 13
is_valid_message()
S
68 5 7
get_external_message()
S
60 4 12
handle_message_dismissal()
S
62 4 11
gbt_setup_freemius()
S
56 3 18
initialize_base_paths()
S
57 3 18
initialize_theme_urls()
S
59 3 14
setup_hooks()
S
60 3 13
is_support_active()
S
63 3 10
get_global_config()
S
67 3 7
is_theme_update_page()
S
77 3 3
get_theme_config()
S
68 3 7
gbt_redirect_after_theme_update()
S
67 3 9
decode_message_if_needed()
S
66 3 8
is_license_active()
S
63 3 10
setup_freemius_for_all_themes()
S
62 2 13
setup_freemius_texts()
S
54 1 25
display_dashboard_message()
S
65 2 10
init()
S
69 2 7
get_theme_sales_page_url()
S
68 2 7
is_theme_activation_page()
S
78 2 3
unsupported_theme_warning()
S
61 1 14
initialize_theme_properties()
S
63 1 11
gbt_fs_custom_connect_message()
S
72 1 6
get_instance()
S
80 1 3
__clone()
S
98 1 1
__wakeup()
S
80 1 3
is_plugin_context()
S
78 1 3
get_supported_themes()
S
74 1 4
get_base_paths()
S
82 1 3
redirect_to_dashboard()
S
77 1 4
gbt_fs_custom_connect_header()
S
70 1 7
get_theme_marketplace_id()
S
82 1 3
get_theme_child_download_link()
S
82 1 3
get_theme_url_support()
S
82 1 3
get_theme_url_docs()
S
82 1 3
get_theme_url_changelog()
S
82 1 3
get_theme_version()
S
82 1 3
get_theme_name()
S
82 1 3
get_theme_slug()
S
82 1 3
__construct()
S
91 1 2