WPMR_Init D

Total Complexity 738
Dependencies 10
Dependents 1
Total lines 4,907
Lines of code 4,427
Logical lines of code 1,586
Comment lines 198
Methods 155
Properties 7

Methods 155

Method Rating Maintainability Complexity Lines of code
scripts()
D
16
7 993
set_args()
C
47 33 24
license_page()
C
33 23 109
wpmr_scan_files()
B
34 20 92
waf()
B
40 22 54
meta_box_updates()
B
31 15 150
wpmr_scan_file_threats()
B
39 18 59
update_definitions_cli()
B
39 17 66
wpmr_cli_register()
B
36 15 83
scanner_page()
B
31 1 277
get_all_files()
B
46 17 36
db_scan()
A
39 14 58
deactivate_pro()
A
44 15 42
activate_pro()
A
44 15 38
meta_box_diagnostics()
A
33 8 130
wpmr_get_stats()
A
44 13 44
wpmr_web_register()
A
41 12 54
save_gsc_profile()
A
51 13 24
admin_notice()
A
42 10 58
get_definitions()
A
45 10 45
wpmr_logs()
A
41 9 54
get_pro_checksums()
A
46 10 37
get_plugin_checksums()
A
46 10 37
is_advanced_edition()
A
48 10 34
request_file_scan_threats()
A
42 7 56
optimize_checksums()
A
52 9 24
get_plugin_data()
A
47 8 34
bootstrap()
A
44 7 46
help()
A
45 3 103
meta_box_results()
A
46 6 57
get_checksums()
A
52 8 27
update_definitions()
A
46 7 39
check_definitions()
A
49 7 31
get_theme_checksums()
S
49 7 29
build_files()
S
58 8 13
repair_file()
S
51 7 27
sha256_get_core_checksums()
S
51 7 26
fetch_file_contents()
S
56 7 17
check_page_hack()
S
51 6 29
malcure_user_sessions()
S
41 3 71
init()
S
38 3 70
meta_box_inspect()
S
56 6 25
wpmr_delete_file()
S
53 6 22
response_file_scan_threats()
S
55 6 20
check_redirect_hijack()
S
52 5 23
plugin_update_message()
S
52 5 23
wpmr_clean_file()
S
54 5 22
settings_menu()
S
53 5 21
admin_body_classes()
S
56 5 19
sanitize_fw()
S
60 5 15
automate_routines()
S
63 6 10
build_server()
S
63 6 9
build_request()
S
63 6 9
revise_checksums()
S
61 5 12
get_file_web()
S
55 4 21
patch_wp_config()
S
55 4 18
wpmr_whitelist_file()
S
55 4 18
wpmr_unwhitelist_file()
S
56 4 17
glob_files()
S
58 4 16
prioritise_core_files()
S
59 4 15
filter_results()
S
65 5 8
redirect_hijack()
S
64 5 9
get_plugin_version()
S
61 5 10
check_string_hack()
S
59 4 15
wpmr_checksum_cache()
S
63 5 10
whitelist()
S
67 5 7
destroy_sessions()
S
58 4 15
fails_checksum()
S
60 4 13
process_only_scan_dirs()
S
61 4 12
flog()
S
60 4 12
update_setting()
S
61 4 12
render_whitelist()
S
62 4 11
remove_metaboxes()
S
63 4 11
get_definitions_update_url()
S
55 3 20
malcure_dashboard_widget()
S
57 3 18
get_excluded()
S
46 1 47
raise_limits_conditionally()
S
67 4 7
get_file_type()
S
62 4 10
meta_box_pro()
S
56 2 30
is_deletable()
S
71 4 5
timezone_string_compat()
S
59 3 14
get_wp_config_path()
S
62 3 12
unpatch_wp_config()
S
62 3 12
get_definitions_check_url()
S
56 2 18
set_status()
S
60 2 16
path_begins_with_any()
S
69 3 7
get_remote_response()
S
65 3 10
update_wpmr_def_auto_update()
S
64 3 10
is_in_core_dir()
S
66 3 9
title_hack()
S
65 3 9
get_theme_version()
S
65 3 8
attack_info()
S
66 3 7
get_fw_setting()
S
66 3 8
get_definition_version()
S
70 3 6
invalid_file()
S
77 3 3
get_checksums_values()
S
64 2 11
reset()
S
63 2 11
get_diag_data()
S
54 1 20
register_settings()
S
57 1 18
wpmr_inspect_file()
S
63 2 10
get_last_updated_ago()
S
66 2 8
is_repairable()
S
63 2 10
prompt_register()
S
71 2 6
get_instance()
S
68 2 8
dashboard_widget()
S
69 2 6
wpmr_iscli()
S
80 2 3
definition_updates_available()
S
65 2 10
get_definition_count()
S
67 2 8
delete_setting()
S
67 2 8
get_setting()
S
74 2 4
llog()
S
66 2 9
plugin_meta_links()
S
65 2 10
wpmr_add_admin_inline_styles()
S
100 1 14
settings_page()
S
65 1 13
get_config_search()
S
83 1 3
is_registered()
S
81 1 3
wpmr_fw_settings_defaults()
S
67 1 9
encode()
S
78 1 3
fw_disable_restapi_user_listing_ui()
S
72 1 6
fw_disable_php_upload_ui()
S
72 1 6
fw_block_path_traversal_ui()
S
72 1 6
firewall_section_ui()
S
74 1 6
decode()
S
78 1 3
fw_disable_user_enumeration_ui()
S
72 1 6
__construct()
S
91 1 2
delete_core_checksums()
S
82 1 3
plugin_action_links()
S
72 1 5
get_users_loggedin()
S
69 1 8
render_branding()
S
80 1 3
deactivate()
S
74 1 5
wpmr_clear_infection_stats()
S
73 1 5
malcure_add_metaboxes()
S
78 1 3
load_meta_boxes()
S
76 1 4
wpmr_add_metaboxes()
S
66 1 7
add_meta_boxes()
S
76 1 4
wpmr_add_wp_abs_path()
S
80 1 3
get_whitelist()
S
81 1 3
set_plugin_data()
S
79 1 3
wpmr_enqueue_js_dependencies()
S
72 1 6
wpmr_admin_styles()
S
78 1 3
delete_generated_checksums()
S
82 1 3
set_validation()
S
75 1 4
unset_validation()
S
77 1 4
wpmr_ajax_request()
S
71 1 5
wpmr_init_scan()
S
73 1 5
unleadingslashit()
S
80 1 3
mc_get_bool()
S
80 1 3
is_in_root_dir()
S
79 1 3
str_starts_with()
S
79 1 3
wpmr_init_scan_cli()
S
73 1 5
wpmr_scan_files_cli()
S
77 1 4
is_file_binary()
S
68 1 6
get_fileext()
S
73 1 4
reset_flog()
S
72 1 5
debug()
S
100 1 2