Optimize Database after Deleting Revisions 5.2

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=81ccabdf34
Aspect after-activation
HTTP status 200
Load time 0.289 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.203 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.222 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.177 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.382 s0.327 s-0.055 s3.38 MiB3.4 MiB+ 23.64 KiB
/wp-admin/edit.php0.223 s0.218 s-0.005 s3.41 MiB3.43 MiB+ 24.01 KiB
/wp-admin/post-new.php1.105 s0.797 s-0.308 s5.46 MiB5.49 MiB+ 28.01 KiB
/wp-admin/upload.php0.713 s0.426 s-0.287 s3.33 MiB3.33 MiB+ 6.64 KiB
/wp-admin/options-writing.php0.224 s0.201 s-0.023 s3.32 MiB3.32 MiB- 792 bytes
/wp-admin/media-new.php0.312 s0.257 s-0.055 s3.3 MiB3.31 MiB+ 18.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.208 s+0.008 s3.31 MiB3.34 MiB+ 24 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.587 s-0.033 s5.45 MiB5.48 MiB+ 27.59 KiB
/wp-admin/options-discussion.php0.312 s0.242 s-0.070 s3.3 MiB3.31 MiB+ 7.13 KiB
/wp-admin/edit-comments.php0.246 s0.419 s+0.173 s3.34 MiB3.34 MiB+ 6.63 KiB
/0.298 s0.232 s-0.066 s3.36 MiB3.33 MiB- 34.66 KiB
Average 0.421 s0.356 s-0.066 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.7%5,4803,96114
PHP33.2%2,8087078
CSS2.1%177141
Total 8,465 4,682 23

PHP Code Analysis | More results »

Lines of code 2,384
Total complexity 480
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

[31-Jan-2024 19:25:02 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/rvg-optimize-database/rvg-optimize-database.php on line 206
See also: All tests for this plugin, How to Hide Optimize Database after Deleting Revisions Admin Menus