Code Analysis: Security Optimizer 1.5.1

Most Complex Functions

Function Rating Complexity
SG_Security\Rest\Rest_Helper_Activity::get_unknown_filters()
A
11
SG_Security\Sg_2fa\Sg_2fa::init_2fa()
A
12
SG_Security\Activity_Log\Activity_Log_Posts::log_post_status_transition()
A
11
SG_Security\Activity_Log\Activity_Log_Weekly_Emails::generate_message_body()
A
10
SG_Security\Rest\Rest_Helper_Activity::get_query()
A
11
SG_Security\Custom_Login_Url\Custom_Login_Url::handle_login()
A
11
SG_Security\Activity_Log\Activity_Log_Unknown::log_visit()
A
10
SG_Security\Rest\Rest_Helper_Activity::get_registered_activity_filters()
A
7
SG_Security\Rest\Rest_Helper_Login::custom_login_url()
A
9
SG_Security\Plugins_Service\Plugins_Service::resintall_plugin()
A
9
SG_Security\Cli\Cli_Secure::__invoke()
A
10
SG_Security\Sg_2fa\Sg_2fa::validate_2fa_login()
A
8