-
Home
-
Autoptimize
-
3.1.13 (latest)
-
Code
-
Classes
- autoptimizeMain
Total Complexity |
176 |
Dependencies |
15 |
Dependents |
4 |
Total lines |
846 |
Lines of code |
572 |
Logical lines of code |
292 |
Comment lines |
159 |
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 |
47 |
16 |
35 |
on_uninstall() |
A |
35 |
10 |
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_potential_conflict() |
S |
57 |
6 |
14 |
notice_nopagecache() |
S |
58 |
6 |
13 |
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 |
maybe_run_ao_compat() |
S |
64 |
3 |
10 |
criticalcss() |
S |
68 |
3 |
7 |
remove_cronjobs() |
S |
68 |
3 |
7 |
maybe_run_admin_only_trinkets() |
S |
70 |
2 |
7 |
maybe_run_ao_extra() |
S |
64 |
2 |
10 |
maybe_run_notfound_fallback() |
S |
73 |
2 |
5 |
load_textdomain() |
S |
81 |
1 |
3 |
version_upgrades_check() |
S |
81 |
1 |
3 |
notice_updated() |
S |
72 |
1 |
5 |
notice_installed() |
S |
72 |
1 |
5 |
notice_cache_unavailable() |
S |
72 |
1 |
5 |
run() |
S |
74 |
1 |
5 |
__construct() |
S |
77 |
1 |
4 |