MainWP_Helper D

Total Complexity 202
Dependencies 2
Dependents 52
Total lines 1,178
Lines of code 565
Logical lines of code 336
Comment lines 524
Methods 54
Properties 1

Methods 54

Method Rating Maintainability Complexity Lines of code
is_updates_screen()
A
59 9 14
reject_unsafe_urls()
A
58 9 13
is_admin()
A
60 9 12
check_methods()
A
53 8 24
check_functions()
A
53 8 23
check_properties()
A
53 8 23
get_nice_url()
A
54 8 22
in_excludes()
A
55 8 19
check_dir()
S
51 7 26
get_wp_filesystem()
S
52 7 26
check_files_exists()
S
54 7 21
check_classes_exists()
S
54 7 21
current_user_has_role()
S
56 7 19
search()
S
57 7 17
get_mainwp_dir()
S
50 6 28
funct_exists()
S
58 5 15
return_bytes()
S
57 4 18
check_wp_filesystem()
S
59 4 14
delete_dir()
S
61 4 13
ctype_digit()
S
76 4 3
is_dashboard_request()
S
67 4 7
get_timestamp()
S
67 3 7
is_wp_engine_php8()
S
69 3 6
get_wp_host()
S
77 3 3
maybe_set_doing_cron()
S
70 3 7
fs_is_connected()
S
67 3 8
log_debug()
S
73 3 5
is_wp_engine()
S
79 2 3
is_ssl_enabled()
S
71 2 6
is_flywheel_host()
S
78 2 3
sanitize_filename()
S
66 2 8
set_limit()
S
68 2 7
get_site_unique_id()
S
66 2 8
is_writable()
S
67 2 8
error()
S
68 2 7
instance()
S
71 2 6
is_dir_empty()
S
70 2 6
file_put_contents()
S
66 2 8
rand_string()
S
67 2 7
mkdir()
S
67 2 8
ends_with()
S
68 2 7
update_option()
S
68 2 7
move()
S
67 2 8
rmdir()
S
67 2 8
write()
S
74 1 4
send()
S
75 1 4
starts_with()
S
78 1 3
is_pressable_host()
S
74 1 4
end_session()
S
77 1 4
human_filesize()
S
68 1 5
format_date()
S
78 1 3
format_time()
S
78 1 3
format_timestamp()
S
77 1 3
get_class_name()
S
81 1 3