wps_ic_ajax D

Total Complexity 385
Dependencies 15
Dependents 1
Total lines 2,955
Lines of code 2,013
Logical lines of code 1,560
Comment lines 241
Methods 79
Properties 13

Methods 79

Method Rating Maintainability Complexity Lines of code
wps_ic_save_optimization_status()
C
38 24 68
wps_ic_check_optimization_status()
B
43 17 40
wps_ic_cname_add()
A
39 13 63
wps_ic_settings_change()
A
41 13 55
wps_ic_save_excludes_settings()
A
41 13 53
wps_ic_bulkCompressHeartbeat()
A
35 10 83
wps_ic_save_page_excludes_popup()
A
46 12 38
wps_ic_get_optimization_status_pages()
A
42 11 46
olderBackup()
A
44 11 46
wps_ic_save_per_page_settings()
A
44 11 45
wps_ic_bulkRestoreHeartbeat()
A
41 9 59
wps_ic_api_mu_connect()
A
46 10 34
wps_ic_save_mode()
A
41 7 55
bulkCompressHtml()
A
39 6 68
wpc_ic_start_bulk_restore()
A
47 8 33
wps_ic_purge_cdn()
A
47 7 36
__construct()
A
36 3 96
wps_ic_compress_live()
A
53 8 20
wpc_ic_start_bulk_compress()
S
48 7 29
wps_ic_remove_cname()
S
46 6 35
wps_fetchInitialTest()
S
47 6 34
wps_ic_ajax_checkbox()
S
50 6 28
wps_ic_get_per_page_settings_html()
S
42 4 57
wps_ic_geolocation_force()
S
51 6 25
wps_ic_ajax_v2_checkbox()
S
52 6 25
wps_ic_exclude_live()
S
41 3 63
wps_ic_get_page_excludes_popup_html()
S
41 3 60
wps_ic_purge_html()
S
50 5 28
wps_ic_saveSetting()
S
50 5 28
custom_merge()
S
62 6 11
wps_ic_purge_critical_css()
S
52 5 25
wpc_send_critical_remote()
S
51 5 24
wps_ic_media_library_heartbeat()
S
53 5 21
wpc_ic_checkCFToken()
S
53 5 21
wpc_ic_checkCFConnect()
S
54 5 20
wps_ic_media_library_bulk_heartbeat()
S
56 5 17
wpsRunQuickTest()
S
56 5 17
wps_ic_run_single_optimization()
S
56 5 17
wps_ic_exclude_list()
S
52 4 27
wps_ic_isBulkRunning()
S
59 4 15
wps_ic_runTest()
S
57 4 15
wps_ic_run_tests()
S
59 4 13
wps_ic_doBulkRestore()
S
50 3 27
wps_ic_fix_notice()
S
61 4 12
wps_ic_get_setting()
S
53 3 21
wps_ic_resetTest()
S
55 3 18
wps_ic_count_uncompressed_images()
S
57 3 15
removeDirectory()
S
64 4 9
wps_ic_cname_retry()
S
58 3 14
purge_cdn_assets()
S
60 3 13
purgeBreeze()
S
61 3 12
wps_ic_getBulkStats()
S
52 2 25
bulkRestoreHtml()
S
47 1 40
wps_ic_RestoreFinished()
S
49 1 36
wps_ic_test_api_connectivity()
S
65 3 8
wpsChangeGui()
S
64 3 9
wps_ic_stop_optimizations()
S
67 3 7
wps_ic_start_optimizations()
S
67 3 7
isFeatureEnabled()
S
68 3 7
wps_ic_StopBulk()
S
60 2 13
wps_ic_remove_key()
S
55 1 19
wps_ic_dismiss_notice()
S
64 2 10
wps_ic_generate_critical_css()
S
65 2 9
wps_ic_preload_page()
S
63 2 10
wps_ic_restore_live()
S
67 2 8
wps_lite_connect()
S
76 1 4
wps_ic_simple_exclude_image()
S
73 1 5
wpc_ic_set_mode()
S
68 1 7
wps_ic_live_connect()
S
76 1 4
wps_ic_critical_get_assets()
S
72 1 5
wps_ic_pull_stats()
S
71 1 5
wps_ic_critical_run()
S
72 1 5
wps_ic_deauthorize_api()
S
62 1 10
purge_cache_files()
S
73 1 5
wpc_ic_checkCFDisconnect()
S
77 1 4
add_ajax_nopriv()
S
78 1 3
add_ajax()
S
78 1 3
wps_ic_geolocation()
S
74 1 5
wpc_ic_ajax_set_preset()
S
70 1 6