PegasaasAccelerator D

Total Complexity 1,434
Dependencies 24
Dependents 16
Total lines 7,695
Lines of code 5,245
Logical lines of code 3,595
Comment lines 446
Methods 159
Properties 15

Methods 159

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