WPMR_Init D

Total Complexity 745
Dependencies 10
Dependents 1
Total lines 4,539
Lines of code 4,335
Logical lines of code 1,611
Comment lines 51
Methods 157
Properties 7

Methods 157

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