PegasaasAccelerator D

Total Complexity 1,550
Dependencies 28
Dependents 18
Total lines 8,325
Lines of code 5,652
Logical lines of code 3,902
Comment lines 545
Methods 166
Properties 15

Methods 166

Method Rating Maintainability Complexity Lines of code
init()
D
5
96 395
render_developer_inspect_interface()
D
10
80 425
handle_404()
D
16
77 211
auto_accelerate_pages()
D
16
64 261
set_feature()
D
22
67 154
admin_post_commands()
D
32 68 63
capture_in_page_scripts()
D
25
60 111
shutdown()
D
25
49 135
__construct()
D
25
45 128
submit_optimization_request()
D
22
36 188
get_image_data()
D
30 34 103
assert_local_optimized_image()
D
30 33 101
save_local_setting()
D
30 32 111
auto_crawl()
D
32 32 98
toggle_local_setting()
D
36 32 83
init_settings()
C
24
24 183
pegasaas_check_compatibility()
C
35 28 85
pegasaas_error_handler()
C
39 30 50
fix_url_pattern()
C
36 24 73
toggle_local_complex_setting()
B
37 22 73
enable_all_for_post_type()
B
36 21 78
get_caching()
B
29 16 136
set_caching()
B
40 21 52
pegasaas_process_optimization_request()
B
33 17 96
auto_submit_requests_to_api()
B
43 20 44
assert_local_minified_resource()
B
40 17 57
fetch_external_css()
B
38 16 65
is_excluded_url()
B
36 14 79
fix_url_pattern2()
A
44 13 43
is_on_excluded_page()
A
54 14 18
disable_all_for_post_type()
A
43 12 47
enable_development_mode()
A
49 12 29
set_gzip()
A
47 11 35
get_active_conflicting_plugins()
A
44 9 50
clear_stale_requests()
A
45 9 41
is_recent_version()
A
48 9 34
set_browser_caching()
A
49 9 30
set_benchmarker()
A
50 9 29
set_mod_pagespeed()
A
50 9 29
fetch_external_js()
A
48 8 34
pegasaas_process_critical_css_request()
A
44 7 44
set_post()
A
53 8 22
pre_condition_admin_page()
A
54 8 21
register_post_types()
A
55 8 17
get_image_data_records()
S
59 8 13
assert_local_cache_resource()
S
45 6 42
clear_pegasaas_variables()
S
35 2 99
enable()
S
47 6 38
disable()
S
47 6 37
init_get()
S
64 8 9
enable_diagnostic_mode()
S
49 6 30
pegasaas_enable_accelerator_for_page()
S
44 5 43
apply_powered_by_message()
S
50 6 27
resolve_conflict()
S
53 6 24
assert_white_label_info()
S
46 5 38
strip_image_dimensions_from_filename()
S
53 6 23
pegasaas_enable_prioritization_for_page()
S
48 5 32
is_cache_writable()
S
60 6 13
capture_in_page_fonts()
S
50 5 26
pegasaas_change_system_mode()
S
54 5 20
remove_item_complex_setting()
S
54 5 20
process_optimization()
S
54 5 19
set_categories_accelerated()
S
56 5 18
apply_benchmark_mode()
S
49 4 32
fix_external_url_pattern()
S
58 5 13
register_woocommerce_categories()
S
61 5 11
pegasaas_send_exit_survey()
S
51 4 25
get_home_path()
S
54 4 19
has_wp_rest_nonce_changed()
S
58 4 16
trial_days_remaining()
S
58 4 16
is_htaccess_writable()
S
60 4 14
fatal_error_handler()
S
58 4 14
set_home_page_accelerated()
S
61 4 12
disable_accelerator_for_page()
S
54 3 21
record_optimization_request()
S
56 3 18
get_global_cpcss_types()
S
58 3 16
pegasaas_disable_staging_for_page()
S
58 3 15
is_amp_endpoint()
S
66 4 8
clear_all_data()
S
60 3 15
is_trial()
S
73 4 4
are_write_permissions_insufficient()
S
67 4 8
pegasaas_enable_staging_for_page()
S
58 3 15
initialize_registered_page_post_types()
S
59 3 14
pegasaas_check_server_response_time()
S
60 3 13
pegasaas_disable_prioritization_for_page()
S
60 3 13
pegasaas_disable_accelerator_for_page()
S
60 3 13
in_live_mode()
S
62 3 12
upgrade_completed()
S
60 3 12
set_woocommerce_product_categories_accelerated()
S
61 3 12
set_woocommerce_product_tags_accelerated()
S
61 3 12
in_development_mode()
S
62 3 12
load_textdomain()
S
62 3 11
get_mod_deflate()
S
51 1 32
pegasaas_clear_optimization_request()
S
57 2 16
enable_feature()
S
65 3 9
is_log_writable()
S
64 3 9
get_htaccess_contents()
S
65 3 9
is_multi_server_installation()
S
68 3 7
in_diagnostic_mode()
S
70 3 6
in_debug_mode()
S
70 3 6
needs_pages_auto_accelerated()
S
68 3 7
clear_registered_page_post_types()
S
66 3 8
admin_init()
S
69 3 6
disable_prioritization_for_page()
S
59 2 14
query_args_exists()
S
62 2 11
uninstall()
S
63 2 11
get_mod_expires()
S
58 1 18
pegasaas_recalculate_cpcss()
S
63 2 10
pegasaas_auto_accelerate_pages()
S
66 2 9
pegasaas_submit_scan_request()
S
66 2 9
execution_time_static()
S
71 2 6
execution_time()
S
71 2 6
pegasaas_clear_queued_optimization_requests()
S
66 2 9
pegasaas_assert_global_cpcss()
S
66 2 9
pegasaas_purge_cpcss()
S
64 2 9
pegasaas_rebuild_all_critical_css()
S
65 2 9
get_current_version()
S
68 2 7
is_pro()
S
78 2 3
is_free()
S
78 2 3
is_standard()
S
79 2 3
pegasaas_shutdown_handler()
S
68 2 7
get_wp_content_caching()
S
59 1 15
get_mod_gzip()
S
61 1 15
pegasaas_fetch_accelerated_pages_list()
S
64 2 9
pegasaas_submit_benchmark_requests()
S
66 2 9
get_benchmarker()
S
63 1 11
post_is_password_protected()
S
76 1 4
get_home_url()
S
69 1 6
set_accelerated_pages()
S
63 1 10
is_development_mode_request()
S
80 1 3
disable_feature()
S
80 1 3
deactivate()
S
69 1 7
get_home_dir()
S
73 1 5
is_pro_edition()
S
81 1 3
pegasaas_enable_feature()
S
76 1 4
can_optimize()
S
79 1 3
pegasaas_check_ability_to_submit_to_ajax()
S
76 1 4
set_init_notification()
S
80 1 3
do_wordlift()
S
83 1 3
get_mod_pagespeed()
S
71 1 7
__destruct()
S
74 1 4
get_plugin_file()
S
80 1 3
permalink_structure_updated()
S
78 1 3
stop_heartbeat()
S
82 1 3
pegasaas_deactivation_exit_survey()
S
75 1 4
ob_capture()
S
71 1 6
is_on_ecommerce_page()
S
83 1 3
pegasaas_check_webperf_data_fetch_test()
S
71 1 6
save_registered_page_post_types()
S
80 1 3
add_analytics_opt_out()
S
100 1 4
is_wordlift_api()
S
83 1 3
init_in_progress()
S
79 1 3
init_completed()
S
79 1 3
condition_comment_codes()
S
72 1 5
re_condition_comment_codes()
S
72 1 5
is_login()
S
75 1 4
microtime()
S
69 1 6
pegasaas_check_push_fetch_test()
S
71 1 6
proxy_external_url()
S
83 1 3
clear_queued_requests()
S
74 1 4
clear_queued_optimization_requests()
S
69 1 6
pegasaas_check_test_optimization()
S
71 1 6
pegasaas_check_api_reachable()
S
71 1 6
is_litespeed()
S
78 1 3
is_apache()
S
74 1 4
get_content_url()
S
69 1 6