Disable Comments 2.0.2

Does Disable Comments work with WordPress 5.6.1 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: 42.02 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.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/disable-comments/
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=disable-comments%2Fdisable-comments.php&plugin_status=all&paged=1&s&_wpnonce=234aadaf83
Aspect after-activation
HTTP status 200
Load time 0.431 s
Memory usage 2.79 MiB
JS errors None
Resource errors None

Tools → Delete Comments

Page screenshot: Tools → Delete Comments
URL /wp-admin/options-general.php?page=disable_comments_settings#delete
Requested URL /wp-admin/tools.php?page=disable_comments_tools
Aspect menu-item
HTTP status 200
Load time 0.414 s
Memory usage 2.79 MiB
JS errors None
Resource errors None

Settings → Disable Comments

Page screenshot: Settings → Disable Comments
URL /wp-admin/options-general.php?page=disable_comments_settings
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 2.69 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.219 s
Memory usage 2.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.285 s0.284 s-0.001 s2.79 MiB2.84 MiB+ 46.72 KiB
/wp-admin/edit.php0.179 s0.197 s+0.018 s2.84 MiB2.88 MiB+ 46.72 KiB
/wp-admin/post-new.php0.962 s0.867 s-0.095 s4.93 MiB4.99 MiB+ 59.08 KiB
/wp-admin/upload.php0.548 s0.268 s-0.280 s2.67 MiB2.71 MiB+ 41.59 KiB
/wp-admin/options-writing.php0.220 s0.251 s+0.031 s2.68 MiB2.69 MiB+ 9.56 KiB
/wp-admin/media-new.php0.214 s0.218 s+0.004 s2.65 MiB2.69 MiB+ 41.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.188 s-0.007 s2.68 MiB2.78 MiB+ 106.66 KiB
/wp-admin/post-new.php?post_type=page1.132 s0.695 s-0.437 s4.92 MiB4.97 MiB+ 50.66 KiB
/wp-admin/options-discussion.php0.330 s0.297 s-0.033 s2.65 MiB2.69 MiB+ 42.07 KiB
/wp-admin/edit-comments.php0.233 s0.225 s-0.008 s2.75 MiB2.79 MiB+ 41.57 KiB
/0.269 s0.210 s-0.059 s2.67 MiB2.65 MiB- 24.2 KiB
Average 0.415 s0.336 s-0.079 s3.11 MiB3.15 MiB+ 42.02 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.

CSS
PHP
PO File
Language % Lines of code Comment lines Files
CSS47.1%2,80702
PHP30.4%1,81342511
PO File20.0%1,19029910
JavaScript2.4%14582
Total 5,955 732 25

PHP Code Analysis | More results »

Lines of code 1,385
Total complexity 357
Median class complexity 136.0
Median method complexity 3.0
Most complex class Disable_Comments
Most complex function DisableComments_Plugin_Tracker::send_data()
Classes 3
Methods 85
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.

Options wp_options 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Disable Comments Admin Menus