MainWP_Helper D

Total Complexity 204
Dependencies 2
Dependents 53
Total lines 1,191
Lines of code 563
Logical lines of code 335
Comment lines 543
Methods 55
Properties 1

Methods 55

Method Rating Maintainability Complexity Lines of code
in_excludes()
A
58 9 14
reject_unsafe_urls()
A
58 9 13
is_admin()
A
60 9 12
is_updates_screen()
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
get_wp_filesystem()
S
52 7 26
check_dir()
S
51 7 26
check_classes_exists()
S
54 7 21
check_files_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
56 4 20
check_wp_filesystem()
S
59 4 14
delete_dir()
S
61 4 13
is_dashboard_request()
S
67 4 7
ctype_digit()
S
76 4 3
get_wp_host()
S
74 3 4
is_wp_engine_php8()
S
70 3 6
maybe_set_doing_cron()
S
73 3 5
fs_is_connected()
S
67 3 8
log_debug()
S
73 3 5
get_timestamp()
S
67 3 7
get_site_unique_id()
S
66 2 8
is_flywheel_host()
S
78 2 3
is_wp_engine()
S
79 2 3
is_ssl_enabled()
S
71 2 6
sanitize_filename()
S
66 2 8
set_limit()
S
68 2 7
update_option()
S
68 2 7
ends_with()
S
68 2 7
error()
S
68 2 7
file_put_contents()
S
67 2 8
mkdir()
S
67 2 8
move()
S
67 2 8
is_writable()
S
67 2 8
rmdir()
S
67 2 8
is_dir_empty()
S
70 2 6
rand_string()
S
69 2 6
instance()
S
71 2 6
end_session()
S
77 1 4
starts_with()
S
78 1 3
format_timestamp()
S
77 1 3
is_pressable_host()
S
74 1 4
human_filesize()
S
68 1 5
format_date()
S
78 1 3
format_time()
S
78 1 3
send()
S
75 1 4
write_feedback()
S
71 1 5
write()
S
74 1 4
get_class_name()
S
81 1 3