GBT_Theme_Updates C

Total Complexity 115
Dependencies 5
Dependents 0
Total lines 710
Lines of code 401
Logical lines of code 200
Comment lines 197
Methods 54
Properties 7

Methods 54

Method Rating Maintainability Complexity Lines of code
ajax_dismiss_update_notification()
S
57 5 16
get_message_id_from_hash()
S
57 5 15
extract_new_version()
S
66 5 8
show_update_notice()
S
62 4 13
cleanup_old_dismissals()
S
65 4 9
filter_theme_transient()
S
66 4 8
get_license_action_message()
S
64 4 9
enqueue_dismissal_script()
S
50 1 35
render_blocked_notice()
S
56 2 18
should_initialize_updates()
S
74 3 5
update_allow_updates_from_license()
S
66 3 9
is_license_active()
S
72 3 5
is_support_active()
S
72 3 5
filter_update_result()
S
67 3 8
block_theme_download()
S
66 3 9
should_show_update_notice()
S
70 3 6
get_update_information()
S
68 3 7
get_version_message()
S
70 3 6
get_version_info()
S
70 3 6
setup_update_checker()
S
61 2 12
prepare_update_data()
S
61 2 12
get_auto_update_enable_link()
S
61 2 11
__construct()
S
70 2 7
initialize_license_manager()
S
74 2 5
load_config()
S
70 2 6
detect_current_theme()
S
68 2 7
should_block_download()
S
78 2 3
is_blocked_package()
S
77 2 3
get_update_notification_message_id()
S
73 2 4
get_update_notice_id()
S
70 2 5
render_update_notice()
S
70 2 7
is_license_fully_active()
S
79 2 3
get_theme_name()
S
70 2 6
is_using_target_theme()
S
78 2 3
set_condition_callback()
S
69 2 7
render_success_notice()
S
58 1 14
create_download_error()
S
61 1 13
initialize_dependencies()
S
73 1 6
load_base_paths()
S
76 1 4
init()
S
75 1 4
setup_conditional_logic()
S
78 1 4
register_update_hooks()
S
65 1 8
save_update_dismissal()
S
72 1 5
is_update_dismissed()
S
72 1 5
delete_all_update_dismissals()
S
67 1 8
is_update_notification_dismissed()
S
76 1 4
get_success_icon()
S
70 1 7
get_warning_icon()
S
82 1 3
set_allow_updates()
S
80 1 3
get_allow_updates()
S
82 1 3
get_theme_slug()
S
82 1 3
get_update_url()
S
82 1 3
get_license_manager()
S
82 1 3
refresh_license_status()
S
82 1 3