Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.36ms] Passed 4 tests
This is a short check of server-side resources used by Subscribe To Comments Checkbox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.22 ▼2.22 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.29 ▼2.67 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.86 ▲4.01 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 95.62 ▼10.95 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.74 ▼1.59 |
Comments Subscribers /wp-admin/edit-comments.php?page=wordpress-comment-subscribe | 3.33 | 33.60 |
All Comments /wp-admin/edit-comments.php | 3.37 | 40.54 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_yydev_comments_subscribe |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
yydev_comments_subscribe_timestamp |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Subscribe To Comments Checkbox
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.56 ▼0.05 | 1.77 ▲0.07 | 44.89 ▲1.16 |
Dashboard /wp-admin | 2,215 ▲34 | 5.62 ▼0.16 | 91.54 ▼10.35 | 39.53 ▼2.68 |
Posts /wp-admin/edit.php | 2,120 ▲23 | 2.02 ▲0.00 | 38.51 ▲1.47 | 36.89 ▲2.09 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.06 ▼0.17 | 682.12 ▼2.06 | 52.90 ▼1.31 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.25 ▲0.05 | 98.00 ▼8.41 | 41.99 ▼0.83 |
Comments Subscribers /wp-admin/edit-comments.php?page=wordpress-comment-subscribe | 899 | 2.01 | 25.00 | 34.29 |
All Comments /wp-admin/edit-comments.php | 1,827 | 2.25 | 38.04 | 34.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_yydev_comments_subscribe
- This plugin did not uninstall successfully, leaving 7 options in the database
- yydev_comments_subscribe_timestamp
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #2, #3, #4 in comments-subscribe-checkbox/assets to your readme.txt
- Requires at least: Version not formatted correctly
comments-subscribe-checkbox/index.php 92% from 13 tests
The main file in "Subscribe To Comments Checkbox" v. 1.2.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("comments-subscribe-checkbox.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin953 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 409 | 224 | 853 |
PO File | 2 | 29 | 32 | 100 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 21 | |
▷ Named functions | 21 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 2.31KB | 2.42KB | 0.00% |