Optimize Database after Deleting Revisions 5.0.4

Does "Optimize Database after Deleting Revisions" work with WordPress 5.7.2 and PHP 7.4.8? 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: 24.86 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 version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=1f745e1894
Aspect after-activation
HTTP status 200
Load time 0.420 s
Memory usage 3.16 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.236 s
Memory usage 2.7 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.186 s
Memory usage 2.93 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.185 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.272 s0.251 s-0.021 s2.82 MiB2.85 MiB+ 32.08 KiB
/wp-admin/edit.php0.199 s0.194 s-0.005 s2.86 MiB2.89 MiB+ 32.08 KiB
/wp-admin/post-new.php1.137 s0.931 s-0.206 s5.02 MiB5.07 MiB+ 44.75 KiB
/wp-admin/upload.php0.482 s0.439 s-0.043 s2.7 MiB2.73 MiB+ 30.98 KiB
/wp-admin/options-writing.php0.149 s0.140 s-0.009 s2.71 MiB2.71 MiB- 1.04 KiB
/wp-admin/media-new.php0.340 s0.182 s-0.158 s2.67 MiB2.7 MiB+ 31.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.234 s0.193 s-0.041 s2.77 MiB2.8 MiB+ 32.06 KiB
/wp-admin/post-new.php?post_type=page1.198 s0.685 s-0.513 s5.01 MiB5.05 MiB+ 40.34 KiB
/wp-admin/options-discussion.php0.269 s0.307 s+0.038 s2.67 MiB2.71 MiB+ 31.78 KiB
/wp-admin/edit-comments.php0.210 s0.230 s+0.020 s2.78 MiB2.81 MiB+ 30.97 KiB
/0.314 s0.220 s-0.094 s2.71 MiB2.68 MiB- 31.72 KiB
Average 0.437 s0.343 s-0.094 s3.16 MiB3.18 MiB+ 24.86 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.8%4,4212,98714
PHP38.1%2,8227028
CSS2.1%155141
Total 7,398 3,703 23

PHP Code Analysis | More results »

Lines of code 2,401
Total complexity 482
Median class complexity 16.0
Median method complexity 2.5
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

The log file is empty.

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