Optimize Database after Deleting Revisions 5.1.1

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: 17.92 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=e465d78330
Aspect after-activation
HTTP status 200
Load time 0.258 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.221 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.189 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.179 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.341 s0.300 s-0.041 s3.38 MiB3.41 MiB+ 24.87 KiB
/wp-admin/edit.php0.217 s0.202 s-0.015 s3.41 MiB3.43 MiB+ 25.23 KiB
/wp-admin/post-new.php0.875 s0.789 s-0.086 s5.46 MiB5.49 MiB+ 29.23 KiB
/wp-admin/upload.php0.696 s0.413 s-0.283 s3.32 MiB3.33 MiB+ 7.87 KiB
/wp-admin/options-writing.php0.211 s0.204 s-0.007 s3.32 MiB3.32 MiB+ 464 bytes
/wp-admin/media-new.php0.304 s0.263 s-0.041 s3.3 MiB3.32 MiB+ 20.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.201 s+0.007 s3.31 MiB3.34 MiB+ 25.23 KiB
/wp-admin/post-new.php?post_type=page0.622 s0.583 s-0.039 s5.45 MiB5.48 MiB+ 28.82 KiB
/wp-admin/options-discussion.php0.256 s0.247 s-0.009 s3.3 MiB3.31 MiB+ 8.36 KiB
/wp-admin/edit-comments.php0.243 s0.402 s+0.159 s3.34 MiB3.34 MiB+ 7.86 KiB
/0.279 s0.232 s-0.047 s3.31 MiB3.33 MiB+ 19.19 KiB
Average 0.385 s0.349 s-0.037 s3.72 MiB3.74 MiB+ 17.92 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,7887008
CSS2.1%155141
Total 7,364 3,701 23

PHP Code Analysis | More results »

Lines of code 2,364
Total complexity 471
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

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