Optimize Database after Deleting Revisions 5.2.1

Does "Optimize Database after Deleting Revisions" work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11.91 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80,000+
WordPress.org page https://wordpress.org/plugins/rvg-optimize-database/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=rvg-optimize-database%2Frvg-optimize-database.php&plugin_status=all&paged=1&s&_wpnonce=6aca32387e
Aspect after-activation
HTTP status 200
Load time 0.235 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Tools → Optimize Database

Page screenshot: Tools → Optimize Database
URL /wp-admin/tools.php?page=rvg-optimize-database
Aspect menu-item
HTTP status 200
Load time 0.182 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Settings → Optimize Database

Page screenshot: Settings → Optimize Database
URL /wp-admin/options-general.php?page=odb_settings_page
Aspect menu-item
HTTP status 200
Load time 0.185 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.187 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.343 s0.268 s-0.075 s3.38 MiB3.4 MiB+ 23.64 KiB
/wp-admin/edit.php0.196 s0.203 s+0.007 s3.41 MiB3.43 MiB+ 24.01 KiB
/wp-admin/post-new.php0.798 s0.552 s-0.246 s5.46 MiB5.49 MiB+ 28.01 KiB
/wp-admin/upload.php0.567 s0.405 s-0.162 s3.32 MiB3.33 MiB+ 6.64 KiB
/wp-admin/options-writing.php0.201 s0.159 s-0.042 s3.32 MiB3.32 MiB- 792 bytes
/wp-admin/media-new.php0.290 s0.215 s-0.075 s3.3 MiB3.31 MiB+ 18.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.156 s-0.036 s3.31 MiB3.34 MiB+ 24 KiB
/wp-admin/post-new.php?post_type=page0.556 s0.551 s-0.005 s5.45 MiB5.48 MiB+ 27.59 KiB
/wp-admin/options-discussion.php0.249 s0.241 s-0.008 s3.3 MiB3.31 MiB+ 7.13 KiB
/wp-admin/edit-comments.php0.211 s0.198 s-0.013 s3.34 MiB3.34 MiB+ 6.63 KiB
/0.280 s0.153 s-0.127 s3.36 MiB3.32 MiB- 34.66 KiB
Average 0.353 s0.282 s-0.071 s3.72 MiB3.73 MiB+ 11.91 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PO File
PHP
Language % Lines of code Comment lines Files
PO File64.8%5,4803,96114
PHP33.2%2,8067078
CSS2.1%177141
Total 8,463 4,682 23

PHP Code Analysis | More results »

Lines of code 2,382
Total complexity 482
Median class complexity 15.0
Median method complexity 2.0
Most complex class ODB_Cleaner
Most complex function ODB_Cleaner::odb_run_cleaner()
Classes 7
Methods 76
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 2

PHP Error Log 1 lines

[06-Feb-2024 05:35:24 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/rvg-optimize-database/rvg-optimize-database.php on line 208
See also: All tests for this plugin, How to Hide Optimize Database after Deleting Revisions Admin Menus