PluginUpdateEngineChecker D

Total Complexity 252
Dependencies 15
Dependents 0
Total lines 1,871
Lines of code 998
Logical lines of code 492
Comment lines 544
Methods 39
Properties 29

Methods 39

Method Rating Maintainability Complexity Lines of code
maybe_display_extra_notices()
C
33 25 116
requestInfo()
B
36 21 73
_set_slug_and_slug_props()
B
44 21 39
add_persistent_notice()
B
43 16 50
show_premium_upgrade()
A
38 11 75
_display_errors()
A
39 10 75
maybe_trigger_update()
A
51 11 27
display_json_error()
A
42 8 61
fixDirName()
A
50 10 27
trigger_update_check()
A
55 10 18
injectUpdate()
A
52 8 24
__construct()
S
49 7 30
injectInfo()
S
56 7 17
requestUpdate()
S
52 6 25
installHooks()
S
53 6 20
hook_into_wp_update_api()
S
55 6 19
checkForUpdates()
S
56 6 18
maybeCheckForUpdates()
S
58 6 16
_check_for_forced_upgrade()
S
52 5 26
_verify_options()
S
52 5 25
dismiss_persistent_notice()
S
54 5 19
getInstalledVersion()
S
58 5 15
in_plugin_update_message()
S
52 4 28
_send_extra_stats()
S
51 4 26
set_api()
S
55 4 21
_verify_and_set_installed_version()
S
58 4 17
dashboard_dismiss_upgrade()
S
60 3 13
maybe_cleanup_upgrade()
S
62 3 11
pre_upgrade_setup()
S
68 3 6
tidy_up_after_upgrade()
S
67 3 7
_sanitize_notices()
S
54 1 23
get_json_error_string()
S
74 1 4
display_changelog()
S
91 1 2
show_pue_client_errors()
S
70 1 8
delete_json_error_string()
S
74 1 4
set_json_error_string()
S
74 1 4
addQueryArgFilter()
S
79 1 3
addHttpRequestArgFilter()
S
79 1 3
addResultFilter()
S
78 1 3