MainWP_Utility D

Total Complexity 210
Dependencies 8
Dependents 21
Total lines 1,337
Lines of code 757
Logical lines of code 420
Comment lines 472
Methods 40
Properties 2

Methods 40

Method Rating Maintainability Complexity Lines of code
get_lasttime_backup()
B
44 17 45
send_maintenance_alert()
A
43 14 41
esc_content()
A
33 8 127
upload_image()
A
43 11 46
check_media_file_existed()
A
47 11 39
send_support_mail()
A
46 11 32
insert_attachment_media()
A
50 10 25
run_saved_snippets()
A
56 10 16
verify_action_nonce()
A
56 9 17
validate_mainwp_dir()
A
53 8 24
m_fetch_url()
S
48 7 30
upload_file()
S
52 7 25
remove_filters_by_hook_name()
S
57 7 16
encrypt_decrypt()
S
53 6 21
verify_nonce_without_session()
S
54 5 21
verify_authed_nonce()
S
54 5 21
readfile_chunked()
S
56 4 18
handle_fatal_error()
S
70 5 5
handle_shutdown()
S
67 5 6
fetch_url()
S
58 4 15
cron_active()
S
60 4 13
close_connection()
S
58 3 16
execute_snippet()
S
58 3 16
check_image_file_name()
S
60 3 12
update_lasttime_backup()
S
62 3 11
get_roles()
S
64 3 10
maybe_base64_decode()
S
66 3 8
right_array_merge()
S
68 3 7
upload_file_backup()
S
66 3 8
hook_wp_mail_from()
S
71 3 6
fix_for_custom_themes()
S
67 3 8
create_nonce_without_session()
S
63 2 9
instance()
S
71 2 6
get_maybe_existed_attached_id()
S
67 2 7
create_nonce_action()
S
73 1 4
hook_verify_authed_action_nonce()
S
76 1 4
hook_create_nonce_action()
S
67 1 8
hook_get_ping_nonce()
S
80 1 3
send_wp_mail()
S
69 1 8
get_class_name()
S
81 1 3