PegasaasUtils D

Total Complexity 649
Dependencies 5
Dependents 13
Total lines 3,661
Lines of code 2,460
Logical lines of code 1,785
Comment lines 334
Methods 111
Properties 6

Methods 111

Method Rating Maintainability Complexity Lines of code
load_all_pages_and_posts()
D
19
49 215
does_plugin_exists_and_active()
D
35 43 54
touch_url()
D
26
37 138
get_posts()
D
27
33 135
get_file_contents()
C
32 23 103
get_file()
C
34 23 84
get_object_id()
B
33 19 104
log()
B
40 17 55
get_all_posts()
B
37 15 73
get_all_pages_and_posts()
A
49 16 31
newer_version()
A
46 14 44
get_object_meta()
A
44 13 40
semaphore()
A
42 12 49
get_auto_pilot_feature_status()
A
49 11 36
check_curl_ssl()
A
46 9 35
get_all_categories()
A
44 8 46
log_local_asset()
A
44 8 43
get_permalink()
A
51 8 25
add_http_auth_instructions()
A
47 7 39
map_resource_path()
A
47 7 37
permalinks_active()
A
49 7 31
require_wp_include()
A
57 8 16
has_acceleration_enabled()
S
57 8 15
wordfence_active_and_blocking()
S
50 7 29
sort_pages_home_page_first()
S
61 8 12
strip_ignored_query_arguments()
S
51 7 26
rotate_log_files()
S
52 7 23
get_memory_limit()
S
56 7 18
is_in_list()
S
57 7 17
has_bad_certificate()
S
56 7 16
nginx_404_handling()
S
50 6 28
is_htaccess_safe()
S
50 6 27
write_file()
S
59 6 15
sort_font_families()
S
50 5 28
get_server_address_via_api()
S
55 5 21
get_http_auth_special_instructions()
S
55 5 20
sort_page_types()
S
66 6 8
http_auth_active_and_blocking()
S
58 5 14
get_post_types()
S
52 4 26
check_curl_load_time()
S
52 4 25
get_all_woocommerce_product_tags()
S
48 3 33
get_feature_status()
S
56 4 18
get_total_page_build_time()
S
55 4 18
get_all_woocommerce_product_categories()
S
48 3 33
match_email()
S
57 4 16
log_benchmark()
S
57 4 16
filter_all_pages_and_posts()
S
59 4 14
optimize_database()
S
59 4 13
is_wpx_server()
S
63 4 11
is_siteground_server()
S
63 4 11
uses_domain_specific_handling()
S
63 4 11
get_accelerated_posts_count()
S
63 4 11
wpml_multi_domains_active()
S
63 4 11
get_all_semaphore_locks()
S
53 3 24
clear_all_semaphores()
S
54 3 23
release_semaphore()
S
53 3 20
update_object_meta()
S
55 3 18
https_http_inconsistency_exists()
S
76 4 3
fetch_page_html()
S
59 3 15
delete_object_meta()
S
60 3 13
get_uri_args()
S
61 3 12
get_site_composition()
S
53 2 24
html_comment()
S
67 3 7
log_load_milestone()
S
68 3 6
set_filter()
S
66 3 8
get_post_slug_from_resource_id()
S
67 3 8
get_post_object()
S
67 3 8
get_pages_and_posts_array_position()
S
65 3 9
get_post_obj_from_resource_id()
S
67 3 8
internal_erf_()
S
59 2 13
pegasaas_backload_all_pages_and_posts()
S
66 2 9
is_mobile_user_agent()
S
69 2 7
permalinks_use_trailing_slashes()
S
66 2 8
debug()
S
76 2 5
generate_random_string()
S
64 2 9
strip_url_port()
S
64 2 9
whitelist_pegasaas_in_wordfence()
S
65 2 9
is_kinsta_server()
S
78 2 3
strip_query_string()
S
70 2 6
get_file_extension()
S
69 2 6
memory_within_limits()
S
63 2 10
is_avada_theme()
S
75 1 4
is_themify_theme()
S
75 1 4
is_thrive_theme()
S
76 1 4
get_content_folder_path()
S
73 1 5
get_next_memory_limit()
S
68 1 7
is_valid_url()
S
80 1 3
get_home_domain()
S
64 1 9
strip_wprocket_critical_css()
S
73 1 5
get_wpml_domains()
S
76 1 4
get_memory_use_percentage()
S
73 1 5
quantile_at_value()
S
66 1 7
is_flywheel_server()
S
79 1 3
microtime_float()
S
74 1 4
is_windows_iis()
S
78 1 3
execution_time_ok()
S
67 1 7
get_all_pages()
S
81 1 3
get_post_id_from_url()
S
100 1 2
get_microtime()
S
72 1 5
get_filter()
S
77 1 4
reset_log_file()
S
76 1 4
get_semaphore()
S
79 1 3
console_log()
S
66 1 7
get_post_type_object()
S
69 1 6
strip_domain()
S
71 1 5
get_site_path()
S
72 1 5
get_http_host_alt()
S
73 1 5
get_http_host()
S
75 1 4
get_home_location()
S
63 1 10
get_wp_location()
S
75 1 4
__construct()
S
100 1 2