Util_Environment D

Total Complexity 253
Dependencies 3
Dependents 127
Total lines 1,536
Lines of code 746
Logical lines of code 435
Comment lines 603
Methods 67
Properties 1

Methods 67

Method Rating Maintainability Complexity Lines of code
to_boolean()
A
53 16 23
url_format()
A
45 13 42
url_relative_to_full()
A
50 13 24
url_query()
A
51 10 24
is_flushable_post()
A
52 10 23
document_root()
A
47 9 38
detect_post_id()
A
57 9 16
is_w3tc_pro()
S
58 8 15
site_path()
S
50 7 28
url_to_docroot_filename()
S
46 6 37
is_https()
S
57 7 15
home_domain_root_url()
S
59 6 12
is_wpmu()
S
61 6 12
safe_redirect_temp()
S
52 5 24
parse_path()
S
56 5 19
cache_blog_dir()
S
55 5 18
is_using_master_config()
S
57 5 17
blog_id()
S
58 5 17
realpath()
S
58 4 16
path_remove_dots()
S
59 4 15
is_dbcluster()
S
63 5 10
normalize_file()
S
59 4 14
normalize_file_minify()
S
59 4 14
is_wpmu_subdomain()
S
70 4 6
w3tc_edition()
S
66 4 9
cache_blog_minify_dir()
S
66 4 8
filename_to_url()
S
61 3 12
wp_config_path()
S
62 3 12
host_port()
S
63 3 11
instance_id()
S
63 3 11
get_server_version()
S
63 3 10
is_custom_post_type()
S
65 3 10
is_rest_request()
S
71 3 5
stripslashes()
S
66 3 8
home_url_host()
S
66 3 8
network_home_url_uri()
S
64 3 10
is_apache()
S
68 3 6
url_to_maybe_https()
S
70 2 6
set_preview()
S
68 2 7
is_litespeed()
S
76 2 3
is_w3tc_pro_dev()
S
79 2 3
is_nginx()
S
76 2 3
is_iis()
S
76 2 3
url_to_host()
S
68 2 7
url_to_uri()
S
68 2 7
redirect()
S
66 2 8
wp_upload_dir()
S
68 2 7
remove_query_all()
S
68 2 7
host()
S
66 2 8
normalize_path()
S
72 1 5
preg_quote()
S
67 1 8
w3tc_header()
S
76 1 4
is_url()
S
79 1 3
is_preview_mode()
S
78 1 3
site_url_uri()
S
78 1 3
site_root()
S
71 1 6
is_zlib_enabled()
S
79 1 3
home_url_regexp()
S
73 1 5
get_url_regexp()
S
69 1 6
home_url_maybe_https()
S
73 1 5
home_domain_root_url_regexp()
S
73 1 5
docroot_to_full_filename()
S
75 1 4
remove_query()
S
75 1 4
wp_safe_redirect_fallback()
S
80 1 3
home_url_uri()
S
78 1 3
cache_dir()
S
79 1 3
reset_microcache()
S
74 1 5