Optimize Database after Deleting Revisions 5.3.0

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 18.5 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70,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=502718cbd1
Aspect after-activation
HTTP status 200
Load time 0.297 s
Memory usage 3.56 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.204 s
Memory usage 3.52 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.193 s
Memory usage 3.68 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.192 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.376 s0.307 s-0.069 s3.51 MiB3.53 MiB+ 24.3 KiB
/wp-admin/edit.php0.209 s0.208 s-0.001 s3.57 MiB3.6 MiB+ 24.66 KiB
/wp-admin/post-new.php0.798 s0.664 s-0.134 s6.06 MiB6.09 MiB+ 28.74 KiB
/wp-admin/upload.php0.588 s0.531 s-0.057 s3.52 MiB3.53 MiB+ 7.25 KiB
/wp-admin/options-writing.php0.227 s0.191 s-0.036 s3.5 MiB3.51 MiB+ 11.24 KiB
/wp-admin/media-new.php0.372 s0.238 s-0.134 s3.49 MiB3.51 MiB+ 19.44 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.191 s+0.006 s3.5 MiB3.53 MiB+ 30.11 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.585 s-0.033 s6.05 MiB6.07 MiB+ 24.26 KiB
/wp-admin/options-discussion.php0.267 s0.225 s-0.042 s3.5 MiB3.51 MiB+ 7.74 KiB
/wp-admin/edit-comments.php0.446 s0.184 s-0.262 s3.52 MiB3.53 MiB+ 7.24 KiB
/0.313 s0.180 s-0.133 s3.43 MiB3.45 MiB+ 18.54 KiB
Average 0.400 s0.319 s-0.081 s3.97 MiB3.99 MiB+ 18.5 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,8117018
CSS2.1%177141
Total 8,468 4,676 23

PHP Code Analysis | More results »

Lines of code 2,387
Total complexity 482
Median class complexity 15.0
Median method complexity 2.5
Most complex class ODB_Cleaner
Most complex function ODB_Cleaner::odb_run_cleaner()
Classes 7
Methods 74
Functions 2

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

The log file is empty.

See also: All tests for this plugin, How to Hide Optimize Database after Deleting Revisions Admin Menus