Optimize Database after Deleting Revisions 5.0.110

Does "Optimize Database after Deleting Revisions" work with WordPress 6.2.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: 19.74 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.2.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=a10e0946ce
Aspect after-activation
HTTP status 200
Load time 0.232 s
Memory usage 3.05 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.243 s
Memory usage 3.02 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.178 s
Memory usage 3.25 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.217 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.274 s0.252 s-0.022 s3.07 MiB3.09 MiB+ 22.3 KiB
/wp-admin/edit.php0.173 s0.177 s+0.004 s3.1 MiB3.12 MiB+ 22.3 KiB
/wp-admin/post-new.php0.767 s0.572 s-0.195 s5.02 MiB5.05 MiB+ 26.66 KiB
/wp-admin/upload.php0.527 s0.268 s-0.259 s3.02 MiB3.02 MiB+ 4.93 KiB
/wp-admin/options-writing.php0.166 s0.217 s+0.051 s3.01 MiB3 MiB- 8.31 KiB
/wp-admin/media-new.php0.267 s0.186 s-0.081 s2.99 MiB3.01 MiB+ 17.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.168 s-0.044 s3.01 MiB3.03 MiB+ 22.29 KiB
/wp-admin/post-new.php?post_type=page0.588 s0.580 s-0.008 s5.01 MiB5.04 MiB+ 22.25 KiB
/wp-admin/options-discussion.php0.206 s0.214 s+0.008 s3 MiB3.01 MiB+ 5.73 KiB
/wp-admin/edit-comments.php0.204 s0.196 s-0.008 s3.03 MiB3.03 MiB+ 4.92 KiB
/0.292 s0.202 s-0.090 s2.97 MiB3.05 MiB+ 76.91 KiB
Average 0.334 s0.276 s-0.059 s3.38 MiB3.4 MiB+ 19.74 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 File59.6%4,4212,98714
PHP38.3%2,8437108
CSS2.1%155141
Total 7,419 3,711 23

PHP Code Analysis | More results »

Lines of code 2,419
Total complexity 483
Median class complexity 16.0
Median method complexity 3.0
Most complex class ODB_Cleaner
Most complex function ODB_Cleaner::odb_run_cleaner()
Classes 7
Methods 77
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

[20-May-2023 10:15:22 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