Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/replytocom-controller/replytocom-controller.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; replytocom_controller has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.55ms] Passed 4 tests
A check of server-side resources used by Replytocom Controller
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 6.05 ▼34.55 |
Dashboard /wp-admin | 2.09 ▼1.22 | 6.46 ▼45.51 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.83 ▼42.14 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.03 ▼91.98 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.16 ▼33.89 |
Replytocom Controller /wp-admin/options-general.php?page=replytocom-controller-admin | 2.09 | 6.86 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Replytocom Controller: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.27 ▼0.00 | 1.90 ▼0.14 | 41.29 ▼8.01 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▼0.03 | 87.58 ▼2.97 | 40.97 ▼3.88 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.99 ▼0.01 | 33.71 ▼3.34 | 32.20 ▼6.33 |
Add New Post /wp-admin/post-new.php | 1,552 ▲17 | 18.28 ▲0.19 | 618.87 ▼19.92 | 62.84 ▼7.75 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.21 ▲0.04 | 98.42 ▼6.44 | 42.31 ▼3.81 |
Replytocom Controller /wp-admin/options-general.php?page=replytocom-controller-admin | 791 | 2.00 | 24.18 | 26.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/replytocom-controller/replytocom-controller.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; replytocom_controller has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=replytocom-controller-admin
- > Deprecated in wp-content/plugins/replytocom-controller/replytocom-controller.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; replytocom_controller has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=replytocom-controller-admin
- > Notice in wp-content/plugins/replytocom-controller/replytocom-controller.php+133
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: comments, replytocom, seo, bots, duplicate content...
replytocom-controller/replytocom-controller.php Passed 13 tests
The main PHP file in "Replytocom Controller" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
67 characters long description:
Remove ?replytocom= from links and redirect those who use it anyway
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected77 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 46 | 77 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin