PegasaasUtils D

Total Complexity 717
Dependencies 5
Dependents 15
Total lines 4,478
Lines of code 3,030
Logical lines of code 1,948
Comment lines 500
Methods 116
Properties 7

Methods 116

Method Rating Maintainability Complexity Lines of code
load_all_pages_and_posts()
D
18
52 228
does_plugin_exists_and_active()
D
35 44 55
touch_url()
D
26
37 138
get_all_pages_and_posts()
C
37 29 75
get_file_contents()
C
32 23 103
get_posts()
C
32 22 103
log_write()
C
27
6 339
get_file()
C
34 23 84
semaphore()
C
35 23 79
get_object_id()
B
33 19 104
get_resource_slug()
B
39 19 65
log()
B
35 16 87
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
check_curl_ssl()
A
46 9 35
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
is_htaccess_safe()
A
48 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
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
log_benchmark()
S
55 6 18
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
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
52 4 25
get_feature_status()
S
56 4 18
get_all_woocommerce_product_categories()
S
48 3 33
get_all_woocommerce_product_tags()
S
48 3 33
get_total_page_build_time()
S
55 4 18
match_email()
S
57 4 16
should_strip_footer_comments()
S
67 5 7
get_semaphore()
S
58 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
update_object_meta()
S
55 3 18
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
log_load_milestone()
S
68 3 6
wpml_active()
S
68 3 8
get_post_slug_from_resource_id()
S
67 3 8
get_post_object()
S
67 3 8
get_post_obj_from_resource_id()
S
67 3 8
get_pages_and_posts_array_position()
S
65 3 9
html_comment()
S
67 3 7
set_filter()
S
66 3 8
internal_erf_()
S
59 2 13
strip_query_string()
S
70 2 6
memory_within_limits()
S
63 2 10
debug()
S
76 2 5
permalinks_use_trailing_slashes()
S
66 2 8
generate_random_string()
S
64 2 9
pegasaas_backload_all_pages_and_posts()
S
66 2 9
console_log()
S
63 2 9
is_mobile_user_agent()
S
69 2 7
is_kinsta_server()
S
78 2 3
whitelist_pegasaas_in_wordfence()
S
65 2 9
get_file_extension()
S
69 2 6
is_thrive_theme()
S
76 1 4
is_flywheel_server()
S
79 1 3
get_content_folder_path()
S
73 1 5
get_all_pages()
S
81 1 3
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_themify_theme()
S
75 1 4
get_wp_location()
S
75 1 4
is_avada_theme()
S
75 1 4
is_windows_iis()
S
78 1 3
get_post_type_object()
S
69 1 6
get_post_id_from_url()
S
100 1 2
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
71 1 6
get_microtime()
S
72 1 5
execution_time_ok()
S
67 1 7
get_filter()
S
77 1 4
microtime_float()
S
74 1 4
__construct()
S
100 1 2