A2_Optimized_Plugin D

Total Complexity 148
Dependencies 3
Dependents 1
Total lines 823
Lines of code 603
Logical lines of code 277
Comment lines 91
Methods 57
Properties 2

Methods 57

Method Rating Maintainability Complexity Lines of code
admin_init()
C
38 31 55
addActionsAndFilters()
A
44 9 39
captcha_authenticate()
A
55 9 17
captcha_comment_authenticate()
A
55 8 19
is_ip_in_range()
S
57 6 17
client_is_automattic()
S
55 5 22
incompatible_plugin_notice()
S
52 4 24
rwl_notice()
S
54 4 22
login_captcha()
S
57 4 19
comment_captcha()
S
59 4 15
initOptions()
S
63 5 10
block_xmlrpc_request()
S
60 4 15
remove_xmlrpc_methods()
S
64 3 11
permalink_changed()
S
56 2 17
get_recaptcha_public_key()
S
66 3 9
deactivate()
S
59 2 14
addAdminBar()
S
63 2 11
a2_dashboard_widget()
S
62 1 24
dashboard_widget()
S
56 1 19
upgrade()
S
73 2 5
getPluginHeaderValue()
S
64 2 9
is_xmlrpc_request()
S
79 2 3
addSettingsSubMenuPageToMenu()
S
62 1 13
addSettingsSubMenuPageToPluginsMenu()
S
63 1 12
update_notice()
S
63 1 12
divi_notice()
S
64 1 12
addSettingsSubMenuPageToDashboard()
S
64 1 11
addSettingsSubMenuPageToSettingsMenu()
S
64 1 11
w3totalcache_plugin_notice()
S
65 1 11
getSettingsSlug()
S
79 1 3
clientip_whitelisted()
S
82 1 3
isInstalled()
S
79 1 3
addLockedEditor()
S
74 1 4
wordfence_waf_check()
S
74 1 4
wordfence_plugin_notice()
S
67 1 10
install()
S
73 1 6
kb_dashboard_widget()
S
74 1 7
getPluginDisplayName()
S
82 1 3
markAsInstalled()
S
79 1 3
getOptionMetaData()
S
74 1 5
installDatabaseTables()
S
91 1 2
saveInstalledVersion()
S
81 1 3
setVersionSaved()
S
79 1 3
getVersion()
S
80 1 3
getPluginDir()
S
80 1 3
getMainPluginFileName()
S
82 1 3
uninstall()
S
82 1 3
requireExtraPluginFiles()
S
80 1 3
markAsUnInstalled()
S
80 1 3
activate()
S
76 1 4
plugin_settings_link()
S
73 1 5
get_moved_login()
S
76 1 4
myStyleSheet()
S
78 1 3
locked_files_notice()
S
67 1 10
not_locked_files_notice()
S
67 1 10
addSettingsSubMenuPage()
S
82 1 3
config_page_notice()
S
68 1 9