PegasaasUtils D

Total Complexity 761
Dependencies 8
Dependents 17
Total lines 4,296
Lines of code 2,879
Logical lines of code 2,066
Comment lines 435
Methods 119
Properties 11

Methods 119

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