Optimize Database after Deleting Revisions 5.2.2

Does "Optimize Database after Deleting Revisions" work with WordPress 6.5.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: 11.93 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.5.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=9dcc885ea6
Aspect after-activation
HTTP status 200
Load time 0.292 s
Memory usage 3.41 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.213 s
Memory usage 3.38 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.229 s
Memory usage 3.61 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.204 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.383 s0.341 s-0.042 s3.44 MiB3.46 MiB+ 24.08 KiB
/wp-admin/edit.php0.284 s0.208 s-0.076 s3.46 MiB3.48 MiB+ 24.45 KiB
/wp-admin/post-new.php0.913 s0.623 s-0.290 s5.59 MiB5.62 MiB+ 28.45 KiB
/wp-admin/upload.php0.661 s0.431 s-0.230 s3.38 MiB3.39 MiB+ 7.08 KiB
/wp-admin/options-writing.php0.243 s0.221 s-0.022 s3.37 MiB3.37 MiB- 984 bytes
/wp-admin/media-new.php0.314 s0.286 s-0.028 s3.35 MiB3.37 MiB+ 19.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.195 s-0.004 s3.37 MiB3.39 MiB+ 24.44 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.602 s-0.001 s5.59 MiB5.61 MiB+ 24.03 KiB
/wp-admin/options-discussion.php0.328 s0.330 s+0.002 s3.36 MiB3.37 MiB+ 7.57 KiB
/wp-admin/edit-comments.php0.261 s0.254 s-0.007 s3.39 MiB3.4 MiB+ 7.07 KiB
/0.329 s0.210 s-0.119 s3.42 MiB3.38 MiB- 34.23 KiB
Average 0.411 s0.336 s-0.074 s3.79 MiB3.8 MiB+ 11.93 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

[10-Apr-2024 04:53:58 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