GBT_Dashboard_Setup C

Total Complexity 105
Dependencies 1
Dependents 8
Total lines 493
Lines of code 374
Logical lines of code 176
Comment lines 16
Methods 39
Properties 14

Methods 39

Method Rating Maintainability Complexity Lines of code
fetch_and_cache_message()
B
40 16 53
validate_message()
S
55 7 19
handle_message_dismissal()
S
56 7 17
gbt_theme_update_redirect()
S
62 8 9
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
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_theme_update_page()
S
77 3 3
decode_message_if_needed()
S
66 3 8
setup_freemius_for_all_themes()
S
62 2 13
display_dashboard_message()
S
63 2 12
setup_freemius_texts()
S
54 1 25
is_theme_activation_page()
S
78 2 3
gbt_redirect_after_theme_update()
S
72 2 6
init()
S
69 2 7
unsupported_theme_warning()
S
61 1 14
initialize_theme_properties()
S
63 1 11
get_theme_url_docs()
S
82 1 3
get_supported_themes()
S
74 1 4
get_theme_child_download_link()
S
82 1 3
get_theme_url_support()
S
82 1 3
__construct()
S
91 1 2
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
gbt_fs_custom_connect_header()
S
70 1 7
redirect_to_dashboard()
S
77 1 4
get_base_paths()
S
82 1 3
is_plugin_context()
S
78 1 3
__wakeup()
S
80 1 3
__clone()
S
98 1 1
get_instance()
S
80 1 3
gbt_fs_custom_connect_message()
S
72 1 6