autoptimizeMain D

Total Complexity 173
Dependencies 14
Dependents 4
Total lines 836
Lines of code 568
Logical lines of code 289
Comment lines 153
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
should_buffer()
D
36 36 61
setup()
B
43 16 54
check_cache_and_run()
A
48 14 32
on_uninstall()
A
36 9 91
start_buffering()
A
51 10 27
notice_imgopt_issue()
A
54 10 17
end_buffering()
A
41 7 59
is_valid_buffer()
A
56 8 16
notice_plug_imgopt()
S
58 8 13
notice_nopagecache()
S
57 6 14
notice_potential_conflict()
S
58 6 14
is_amp_markup()
S
56 4 21
add_hooks()
S
54 4 20
on_deactivation()
S
59 4 15
hook_page_cache_purge()
S
55 3 22
autoptimize_nobuffer_optimize()
S
62 3 11
maybe_run_criticalcss()
S
68 3 7
criticalcss()
S
68 3 7
remove_cronjobs()
S
68 3 7
maybe_run_ao_compat()
S
66 3 9
maybe_run_notfound_fallback()
S
73 2 5
maybe_run_ao_extra()
S
64 2 10
maybe_run_admin_only_trinkets()
S
73 2 6
notice_cache_unavailable()
S
72 1 5
notice_installed()
S
72 1 5
notice_updated()
S
73 1 5
version_upgrades_check()
S
81 1 3
load_textdomain()
S
81 1 3
run()
S
74 1 5
__construct()
S
77 1 4