Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.62ms] Passed 4 tests
An overview of server-side resources used by Turn Off Comments - Remove Commenting System, Disable Comment Box and Hide Comments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.84 ▼7.49 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.96 ▼15.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.80 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.89 ▼14.30 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.97 ▲5.86 |
All Comments /wp-admin/edit-comments.php | 3.10 | 26.64 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Turn Off Comments - Remove Commenting System, Disable Comment Box and Hide Comments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,765 ▲3 | 14.22 ▼0.49 | 1.71 ▼0.21 | 38.03 ▼6.55 |
Dashboard /wp-admin | 2,167 ▼10 | 5.59 ▼0.02 | 91.43 ▼5.61 | 38.01 ▲1.01 |
Posts /wp-admin/edit.php | 1,940 ▼163 | 1.97 ▲0.01 | 39.23 ▲0.27 | 34.10 ▼4.07 |
Add New Post /wp-admin/post-new.php | 1,497 ▼38 | 23.08 ▼2.13 | 628.78 ▼2.12 | 50.01 ▼22.21 |
Media Library /wp-admin/upload.php | 1,363 ▼34 | 4.16 ▼0.01 | 96.94 ▼5.27 | 41.84 ▲0.66 |
All Comments /wp-admin/edit-comments.php | 2,167 | 5.57 | 72.48 | 39.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: remove comments, restrict comments, hide comments, disable comments, disable comment
turn-off-comments/turn-off-comments.php 92% from 13 tests
The main PHP file in "Turn Off Comments - Remove Commenting System, Disable Comment Box and Hide Comments" ver. 1.4.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 83 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin100 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 33 | 100 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin