Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.85ms] Passed 4 tests
An overview of server-side resources used by Subscribe to Comments Reloaded Better Unsubscribe
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.52 ▼4.15 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.53 ▼10.61 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.69 ▼0.30 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.34 ▼24.32 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.22 ▲4.32 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact 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 |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Subscribe to Comments Reloaded Better Unsubscribe
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.33 ▼0.95 | 2.20 ▲0.41 | 46.32 ▲3.17 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.20 | 102.19 ▼4.11 | 39.03 ▼6.96 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.05 ▲0.01 | 39.06 ▲4.21 | 34.88 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.44 ▲5.09 | 678.83 ▲19.63 | 59.09 ▲9.71 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.00 | 95.44 ▼0.57 | 41.95 ▲0.18 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/subscribe-to-comments-reloaded-better-unsubscribe/fv-subscribe-to-comments-reloaded-better-unsubscribe.php:117
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Here's what the commenter's new comment notification should look like), #2 (Here's the instant unsubscribe in action)
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
subscribe-to-comments-reloaded-better-unsubscribe/fv-subscribe-to-comments-reloaded-better-unsubscribe.php 85% from 13 tests
The main file in "Subscribe to Comments Reloaded Better Unsubscribe" v. 0.9.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("subscribe-to-comments-reloaded-better-unsubscribe.php" instead of "fv-subscribe-to-comments-reloaded-better-unsubscribe.php")
- Description: Keep the plugin description shorter than 140 characters (currently 380 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected291 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 67 | 15 | 291 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 38.55KB | 14.26KB | ▼ 63.01% |
screenshot-2.png | 61.60KB | 22.29KB | ▼ 63.81% |