MainWP_Utility D

Total Complexity 200
Dependencies 8
Dependents 20
Total lines 1,292
Lines of code 735
Logical lines of code 405
Comment lines 433
Methods 38
Properties 2

Methods 38

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
check_media_file_existed()
A
46 11 39
send_support_mail()
A
46 11 32
insert_attachment_media()
A
50 10 25
upload_image()
A
45 9 39
run_saved_snippets()
A
56 10 16
verify_action_nonce()
A
56 9 17
validate_mainwp_dir()
A
52 8 26
m_fetch_url()
A
48 7 31
remove_filters_by_hook_name()
S
57 7 16
encrypt_decrypt()
S
53 6 21
upload_file()
S
52 5 24
verify_authed_nonce()
S
54 5 21
verify_nonce_without_session()
S
54 5 21
readfile_chunked()
S
56 4 18
fetch_url()
S
58 4 15
handle_fatal_error()
S
70 5 5
handle_shutdown()
S
67 5 6
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
hook_wp_mail_from()
S
71 3 6
fix_for_custom_themes()
S
67 3 8
get_roles()
S
64 3 10
maybe_base64_decode()
S
66 3 8
create_nonce_without_session()
S
63 2 9
instance()
S
71 2 6
get_maybe_existed_attached_id()
S
67 2 7
hook_get_ping_nonce()
S
80 1 3
hook_create_nonce_action()
S
68 1 7
create_nonce_action()
S
73 1 4
hook_verify_authed_action_nonce()
S
79 1 3
send_wp_mail()
S
69 1 8
get_class_name()
S
81 1 3