Optimize Database after Deleting Revisions 5.1

Does "Optimize Database after Deleting Revisions" work with WordPress 6.4.2 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: 12.24 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.2
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=930cd925df
Aspect after-activation
HTTP status 200
Load time 0.295 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.232 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.228 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.183 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.354 s0.329 s-0.025 s3.38 MiB3.4 MiB+ 23.97 KiB
/wp-admin/edit.php0.231 s0.223 s-0.008 s3.41 MiB3.43 MiB+ 24.34 KiB
/wp-admin/post-new.php0.951 s0.612 s-0.339 s5.46 MiB5.49 MiB+ 28.34 KiB
/wp-admin/upload.php0.769 s0.487 s-0.282 s3.32 MiB3.33 MiB+ 6.97 KiB
/wp-admin/options-writing.php0.234 s0.211 s-0.023 s3.32 MiB3.32 MiB- 456 bytes
/wp-admin/media-new.php0.320 s0.294 s-0.026 s3.29 MiB3.31 MiB+ 19.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.213 s+0.000 s3.31 MiB3.34 MiB+ 24.33 KiB
/wp-admin/post-new.php?post_type=page0.622 s0.550 s-0.072 s5.45 MiB5.48 MiB+ 27.92 KiB
/wp-admin/options-discussion.php0.246 s0.459 s+0.213 s3.3 MiB3.31 MiB+ 7.46 KiB
/wp-admin/edit-comments.php0.466 s0.234 s-0.232 s3.34 MiB3.34 MiB+ 6.96 KiB
/0.347 s0.213 s-0.134 s3.36 MiB3.32 MiB- 34.34 KiB
Average 0.432 s0.348 s-0.084 s3.72 MiB3.73 MiB+ 12.24 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 File60.0%4,4212,98714
PHP37.9%2,7906998
CSS2.1%155141
Total 7,366 3,700 23

PHP Code Analysis | More results »

Lines of code 2,366
Total complexity 473
Median class complexity 14.0
Median method complexity 2.0
Most complex class ODB_Cleaner
Most complex function ODB_Cleaner::odb_run_cleaner()
Classes 7
Methods 75
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-Dec-2023 22:47:40 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/rvg-optimize-database/rvg-optimize-database.php on line 194
See also: All tests for this plugin, How to Hide Optimize Database after Deleting Revisions Admin Menus