-
Home
-
Autoptimize
-
2.8.1
-
Code
-
Classes
- autoptimizeMain
| Total Complexity |
136 |
| Dependencies |
12 |
| Dependents |
3 |
| Total lines |
690 |
| Lines of code |
476 |
| Logical lines of code |
229 |
| Comment lines |
123 |
| Methods |
25 |
| Properties |
2 |
Methods 25
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| should_buffer() |
C |
39 |
31 |
51 |
| setup() |
B |
43 |
16 |
54 |
| check_cache_and_run() |
A |
49 |
14 |
30 |
| on_uninstall() |
A |
38 |
7 |
80 |
| start_buffering() |
A |
51 |
10 |
27 |
| end_buffering() |
A |
41 |
7 |
57 |
| is_valid_buffer() |
A |
56 |
8 |
16 |
| notice_plug_imgopt() |
S |
59 |
6 |
12 |
| is_amp_markup() |
S |
56 |
4 |
21 |
| add_hooks() |
S |
55 |
4 |
19 |
| 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 |
72 |
3 |
5 |
| remove_cronjobs() |
S |
68 |
3 |
7 |
| maybe_run_ao_extra() |
S |
65 |
2 |
9 |
| maybe_run_partners_tab() |
S |
75 |
2 |
5 |
| maybe_run_notfound_fallback() |
S |
73 |
2 |
5 |
| __construct() |
S |
77 |
1 |
4 |
| run() |
S |
74 |
1 |
5 |
| load_textdomain() |
S |
81 |
1 |
3 |
| version_upgrades_check() |
S |
81 |
1 |
3 |
| notice_cache_unavailable() |
S |
72 |
1 |
5 |
| notice_installed() |
S |
73 |
1 |
5 |
| notice_updated() |
S |
73 |
1 |
5 |