Code Analysis: Malware Scanner 4.7.4

Function Rating Maintainability Complexity Lines of code
Mo_Wpns_Scan_Handler_Cron::count_total_files()
D
26
45 135
mo_mmp_start_scan()
C
27
6 356
Mo_mmp_scan_malware::mo_wpns_save_malware_config_form()
B
40 21 54
Mo_mmp_scan_malware::mo_wpns_get_progress()
B
33 14 103
Mo_mmp_scan_malware::mo_wpns_start_malware_scan()
B
32 12 123
Mo_mmp_scan_malware::mo_wpns_get_scan_result()
A
37 14 71
MoMmpDB::mo_mmp_get_scan_count()
A
48 14 35
mo_mmp_AjaxHandler::mo_wpns_saml_actions()
A
48 13 33
MalwareProtection::mo_wpns_malware_notices()
A
41 11 56
MoMmpHandler::block_ip()
A
46 11 35
MoMmpDB::update_transaction_table()
A
49 9 30
mmp_handle_manual_block_ip()
A
43 7 54
Mo_mmp_scan_malware::mo_wpns_malware_redirect()
A
52 9 24
Mo_Wpns_Scan_Handler_Cron::mo2f_scan_all_files()
A
44 7 46
mo_mmp_ajax::wpns_login_security()
A
53 8 22
MoMmpDB::generate_tables()
A
49 7 32
mmp_miniorange_security_notification::custom_dashboard_help()
S
41 4 73
mo_mmp_show_summary()
S
44 5 58
mo_mmp_ajax::wpns_ip_lookup()
S
44 6 41
mo2f_scanner_parts::mo2f_make_next_request()
S
51 6 26
mmp_handle_whitelist_ip()
S
47 5 40
MoMmpUtility::getMessageContent()
S
52 6 24
mmp_handle_unblock_ip()
S
47 4 39
MoMmpHandler::whitelist_ip()
S
55 5 19
Mo_Wpns_Scan_Handler_Cron::isexternal()
S
55 5 18
Mo_Wpns_Scan_Handler_Cron::check_external_link()
S
57 5 17
mo_mmp_ajax::add_mo_waf_config_cont()
S
52 4 24
mo_mmp_AjaxHandler::lookupIP()
S
47 3 33
MalwareProtection::feedback_request()
S
56 4 17
MoMmpHandler::unblock_ip_entry()
S
56 4 17
mmp_handle_remove_whitelist()
S
51 3 31
mo_mmp_dashboard_switch()
S
70 5 5
MoMmpHandler::is_ip_blocked()
S
61 4 14
MoMmpHandler::is_whitelisted()
S
61 4 14
MoMmpHandler::is_email_sent_to_user()
S
60 4 14
MoMmpDB::mo_plugin_activate()
S
62 4 12
mo_mmp_ajax::saveWAF()
S
54 3 21
MoMmpUtility::sendIpBlockedNotification()
S
59 3 14
Mo_Wpns_Scan_Handler_Cron::remove_dir()
S
60 3 14
Mo_Wpns_Scan_Handler_Cron::getlines()
S
61 3 12
MalwareProtection::__construct()
S
54 2 21
MoMmpDB::create_scan_report()
S
55 2 20
MoMmpUtility::check_empty_or_null()
S
70 3 6
MalwareProtection::mo_wpns_settings_script()
S
62 3 10
mo_mmp_ajax::wpns_waf_settings_form()
S
58 2 15
MalwareProtection::mo_wpns_scheduled_scan()
S
62 2 12
MalwareProtection::mo_wpns_deactivate()
S
63 2 11
Mo_Wpns_Scan_Handler_Cron::mo2f_wp_remote_get()
S
55 1 19
Mo_Wpns_Scan_Handler_Cron::mo_wpns_check_malware_server_status()
S
64 2 10
MoMmpMessages::showMessage()
S
67 2 7
MoMmpUtility::get_client_ip()
S
71 2 6
MoMmpHandler::random_str()
S
62 2 10
MoMmpHandler::get_blocked_attacks_count()
S
68 2 8
MoMmpHandler::get_blocked_ip_waf()
S
68 2 8
MoMmpHandler::get_manual_blocked_ip_count()
S
68 2 8
MalwareProtection::mo_mmp_redirect_page()
S
69 2 7
MalwareProtection::mo_wpns_scan_automatic()
S
72 2 5
MalwareProtection::mo_wpns_settings_style()
S
64 2 9
MoMmpDB::__construct()
S
60 1 13
MoMmpDB::insert_email_audit()
S
61 1 13
MalwareProtection::includes()
S
62 1 13
MoMmpDB::insert_blocked_ip()
S
61 1 13
MalwareProtection::mo_wpns()
S
62 1 12
MoMmpDB::insert_whitelisted_ip()
S
64 1 11
mo_mmp_ajax::mo_login_security_ajax()
S
79 1 3
mo_mmp_AjaxHandler::wpns_weekly_notice_always()
S
76 1 4
MoMmpDB::insert_hash()
S
71 1 5
MoMmpDB::delete_blocked_ip()
S
75 1 4
MoMmpDB::get_transasction_list()
S
75 1 4
Mo_Wpns_Scan_Handler_Cron::__construct()
S
91 1 2
MoMmpDB::get_report()
S
72 1 5
mo_mmp_AjaxHandler::wpns_plugin_notice_always()
S
76 1 4
MoMmpHandler::get_whitelisted_ips()
S
77 1 4
mo_mmp_AjaxHandler::wpns_weekly_notice()
S
76 1 4
MoMmpDB::get_blocked_ip()
S
75 1 4
mo_mmp_AjaxHandler::wpns_infected_notice()
S
76 1 4
MoMmpHandler::get_blocked_xss()
S
77 1 4
MoMmpDB::get_count_of_blocked_ips()
S
75 1 4
MoMmpDB::check_hash()
S
72 1 5
MoMmpDB::delete_transaction()
S
75 1 4
MoMmpDB::get_total_blocked_ips()
S
75 1 4
MoMmpDB::get_whitelisted_ip_count()
S
75 1 4
MoMmpDB::get_ip_blocked_count()
S
75 1 4
MalwareProtection::my_plugin_add_thickbox()
S
82 1 3
mmp_miniorange_security_notification::my_custom_dashboard_widgets()
S
78 1 3
mo_mmp_ajax::__construct()
S
79 1 3
MoMmpDB::get_vulnerable_files_count_for_reportid()
S
72 1 5
MalwareProtection::mo_wpns_activate()
S
68 1 7
MoMmpDB::get_whitelisted_ips_list()
S
75 1 4
MoMmpDB::get_number_of_whitelisted_ips()
S
75 1 4
MoMmpUtility::wp_mail_send_notification()
S
75 1 4
MoMmpDB::delete_whitelisted_ip()
S
75 1 4
mo_mmp_AjaxHandler::handle_feedback()
S
76 1 4
MoMmpConstants::define_global()
S
70 1 6
Mo_Wpns_Scan_Handler_Cron::create_key_current_scan()
S
72 1 5
MoMmpDB::count_scans_done()
S
82 1 3
Mo_mmp_scan_malware::mo_wpns_malware_scanner_functions()
S
79 1 3
mo_mmp_ajax::wpns_handle_IP_blocking()
S
76 1 4
mo_mmp_AjaxHandler::wpns_plugin_notice()
S
67 1 8
mo_mmp_ajax::wpns_whitelist_ip()
S
76 1 4
MoMmpDB::count_files_last_scan()
S
82 1 3
MoMmpDB::get_failed_transaction_count()
S
74 1 4
MoMmpHandler::get_blocked_lfi()
S
77 1 4
MoMmpDB::count_malicious_files()
S
82 1 3
mo_mmp_AjaxHandler::whitelist_self()
S
71 1 6
MoMmpHandler::get_blocked_sqli()
S
77 1 4
MoMmpConstants::__construct()
S
83 1 3
mo_mmp_AjaxHandler::__construct()
S
79 1 3
MoMmpDB::get_total_manual_blocked_ips()
S
75 1 4
MoMmpDB::get_total_blocked_ips_waf()
S
71 1 5
MalwareProtection::footer_link()
S
80 1 3
Mo_mmp_scan_malware::__construct()
S
79 1 3
MoMmpDB::get_blocked_ip_list()
S
75 1 4
MalwareProtection::mo_mmp_update_db()
S
77 1 4
MoMmpDB::get_report_with_id()
S
72 1 5
MoMmpHandler::remove_whitelist_entry()
S
77 1 4
MoMmpDB::get_count_of_attacks_blocked()
S
74 1 4
Mo_mmp_scan_malware::mo_wpns_stop_scan()
S
76 1 4
MoMmpDB::get_email_audit_count()
S
74 1 4
MoMmpDB::get_detail_report_with_id()
S
72 1 5
MoMmpDB::get_blocked_attack_count()
S
75 1 4
MalwareProtection::mo_wpns_widget_menu()
S
66 1 7
MoMmpHandler::get_blocked_ips()
S
77 1 4
mo_mmp_AjaxHandler::wpns_infected_notice_always()
S
76 1 4
MoMmpDB::count_files()
S
82 1 3