Code Analysis: WP Hardening 1.2.8

Function Rating Maintainability Complexity Lines of code
whpFormElementsClass::generate_result_block()
D
5
69 603
whp_process_fixer()
C
30 29 114
whp_fixers_processing()
C
37 24 65
WHP_Change_Login_URL::wp_loaded()
B
44 20 38
WHP_Change_Login_URL::admin_init()
A
45 12 39
issuesScanClass::check_php_version()
A
34 7 106
WHP_Change_Login_URL::plugins_loaded()
A
48 11 30
fake_cron_function()
A
51 10 28
whpAddStylesHard::add_script_fn()
A
56 10 19
issuesScanClass::getDirContents()
A
48 8 30
Astra_ip::get_ip_address()
A
56 9 15
issuesScanClass::wp_check_php_version()
A
51 8 25
wphMainStart::security_header()
S
55 7 19
whp_general_admin_notice()
S
44 4 61
whp_custom_dashboard_help()
S
47 5 40
tableViewOutput::generate_table_view()
S
46 5 37
whpSettingsClassHarden::add_menu_item()
S
50 5 33
issuesScanClass::get_outdated_plugins()
S
49 5 30
tableViewOutput::process_results()
S
46 4 44
WHP_Change_Login_URL::new_login_slug()
S
62 6 12
issuesScanClass::check_db_password()
S
52 5 25
whpSettingsClassHarden::show_settings()
S
49 4 36
whp_subscribe_security_alerts()
S
48 4 35
WHP_Change_Login_URL::__construct()
S
53 5 20
whpAddStylesHard::process_enq_line()
S
55 5 19
tableViewOutput::generate_widget_list()
S
55 5 18
whpDatabaseUpgrade()
S
57 5 17
wphMainStart::set_cron()
S
58 5 16
tableViewOutput::calculate_site_health()
S
57 5 16
issuesScanClass::is_firewall_installed()
S
54 4 22
whp_task_function()
S
48 3 36
wphMainStart::add_css_plugin()
S
100 1 63
WHP_Change_Login_URL::uninstall()
S
58 4 16
WHP_Change_Login_URL::plugin_action_links()
S
58 4 16
WHP_Change_Login_URL::filter_wp_login_php()
S
58 4 15
WHP_Change_Login_URL::whp_section_desc()
S
59 4 14
tableViewOutput::get_processed_fixers()
S
59 4 14
tableViewOutput::get_hard_percent()
S
60 4 14
whpSettingsClassHarden::__construct()
S
59 4 13
issuesScanClass::check_wordpress_update()
S
51 3 26
issuesScanClass::firewall_check()
S
53 3 25
issuesScanClass::check_permissions()
S
53 3 22
tableViewOutput::__construct()
S
45 1 49
whp_start_audit()
S
56 3 18
wphMainStart::custom_notice_bar()
S
52 2 32
remove_yoast_seo_comments_fn()
S
64 4 10
WHP_Change_Login_URL::admin_notices()
S
67 4 6
WHP_Change_Login_URL::update_wpmu_options()
S
64 4 9
WHP_Change_Login_URL::wp_template_loader()
S
60 3 13
whp_remove_appended_version_script_style()
S
62 3 11
whp_add_toolbar_items()
S
61 3 11
tableViewOutput::remove_localstorage()
S
65 3 11
WHP_Change_Login_URL::whp_admin_page_input()
S
67 3 7
tableViewOutput::check_exists()
S
67 3 8
whp_plugin_activation()
S
61 2 12
wphMainStart::__construct()
S
61 2 11
WHP_Change_Login_URL::wpmu_options()
S
56 1 20
Astra_ip::validate_ip()
S
70 2 6
shapeSpace_check_enum()
S
75 2 4
whp_secure_subscribe()
S
63 2 10
WHP_Change_Login_URL::user_trailingslashit()
S
78 2 3
WHP_Change_Login_URL::new_login_url()
S
68 2 7
remove_wpml_generator()
S
68 2 8
whp_no_subscribe()
S
66 2 8
whpFormElementsClass::getFixerOption()
S
70 2 7
Astra_ip::validate_ipv6()
S
71 2 6
WHP_Change_Login_URL::forbidden_slugs()
S
75 1 4
whpFormElementsClass::__construct()
S
69 1 7
WHP_Change_Login_URL::activate()
S
80 1 3
Astra_ip::__construct()
S
100 1 2
WHP_Change_Login_URL::network_site_url()
S
79 1 3
whpSettingsClassHarden::get_setting()
S
75 1 4
issuesScanClass::run_issues_check()
S
64 1 10
WHP_Change_Login_URL::use_trailing_slashes()
S
77 1 3
WHP_Change_Login_URL::welcome_email()
S
77 1 3
wphMainStart::myplugin_init()
S
74 1 4
wh_admin_footer()
S
83 1 3
whp_custom_dashboard_widgets()
S
76 1 4
remove_revslider_meta_tag()
S
83 1 3
WHP_Change_Login_URL::basename()
S
80 1 3
tableViewOutput::return_data()
S
77 1 3
disable_x_pingback()
S
77 1 4
tableViewOutput::return_status()
S
80 1 3
tableViewOutput::get_recommendations_amount()
S
81 1 3
whpAddStylesHard::__construct()
S
70 1 6
tableViewOutput::return_status_html()
S
79 1 3
whpSettingsClassHarden::create_menu()
S
75 1 4
WHP_Change_Login_URL::wp_redirect()
S
80 1 3
issuesScanClass::__construct()
S
82 1 3
whpFormElementsClass::get_code()
S
82 1 3
WHP_Change_Login_URL::path()
S
80 1 3
WHP_Change_Login_URL::site_url()
S
79 1 3
wphMainStart::wp_security_hardening_settings_link()
S
74 1 4