MainWP_Helper D

Total Complexity 182
Dependencies 2
Dependents 50
Total lines 1,080
Lines of code 511
Logical lines of code 304
Comment lines 484
Methods 48
Properties 1

Methods 48

Method Rating Maintainability Complexity Lines of code
is_updates_screen()
A
59 9 14
reject_unsafe_urls()
A
58 9 13
get_nice_url()
A
53 8 24
check_methods()
A
53 8 24
check_functions()
A
53 8 23
check_properties()
A
53 8 23
in_excludes()
A
55 8 19
check_dir()
S
51 7 26
get_wp_filesystem()
S
52 7 26
check_files_exists()
S
53 7 23
check_classes_exists()
S
54 7 23
search()
S
57 7 17
get_mainwp_dir()
S
50 6 28
funct_exists()
S
58 5 15
is_admin()
S
63 6 10
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
log_debug()
S
73 3 5
fs_is_connected()
S
67 3 8
get_timestamp()
S
67 3 7
maybe_set_doing_cron()
S
70 3 7
get_wp_host()
S
77 3 3
is_wp_engine_php8()
S
69 3 6
is_wp_engine()
S
79 2 3
is_ssl_enabled()
S
71 2 6
set_limit()
S
68 2 7
is_dir_empty()
S
70 2 6
sanitize_filename()
S
66 2 8
get_site_unique_id()
S
66 2 8
update_option()
S
68 2 7
instance()
S
71 2 6
rand_string()
S
66 2 8
ends_with()
S
68 2 7
error()
S
68 2 7
is_flywheel_host()
S
78 2 3
get_class_name()
S
81 1 3
is_pressable_host()
S
74 1 4
format_timestamp()
S
77 1 3
format_date()
S
78 1 3
human_filesize()
S
68 1 5
end_session()
S
77 1 4
starts_with()
S
78 1 3
send()
S
75 1 4
write()
S
74 1 4
format_time()
S
78 1 3