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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.84ms] Passed 4 tests
An overview of server-side resources used by Remove Unwanted Subscribers
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.61 ▼1.95 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.41 ▼0.96 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.66 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.87 ▼12.01 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.36 ▼0.44 |
Remove Subs /wp-admin/admin.php?page=withinweb-remove-spam-subscribers/withinweb_wwrs_remove_subscribers.php | 3.22 | 31.82 |
Settings /wp-admin/admin.php?page=withinweb-remove-spam-subscribers/withinweb_wwrs_remove_subscribers.php_settings | 3.23 | 33.44 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
withinweb_wwrs_cron_array |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove Unwanted Subscribers
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲56 | 13.70 ▼0.66 | 2.09 ▼0.69 | 43.47 ▼3.08 |
Dashboard /wp-admin | 2,251 ▲45 | 5.85 ▼0.08 | 97.08 ▼25.95 | 38.53 ▼10.65 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▼0.01 | 33.47 ▼2.79 | 35.95 ▲1.05 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 17.84 ▲0.31 | 652.24 ▼25.54 | 50.18 ▼12.31 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.24 ▲0.10 | 97.10 ▼17.97 | 41.88 ▼6.55 |
Remove Subs /wp-admin/admin.php?page=withinweb-remove-spam-subscribers/withinweb_wwrs_remove_subscribers.php | 831 | 2.03 | 22.56 | 26.20 |
Settings /wp-admin/admin.php?page=withinweb-remove-spam-subscribers/withinweb_wwrs_remove_subscribers.php_settings | 899 | 2.02 | 24.89 | 33.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- withinweb_wwrs_cron_array
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/withinweb-remove-spam-subscribers/views/adminhelp.php
- > /wp-content/plugins/withinweb-remove-spam-subscribers/views/adminsettings.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: remove subscribers, spam subscribers, subscribers, spam users, cron job
withinweb-remove-spam-subscribers/withinweb_wwrs_remove_subscribers.php 92% from 13 tests
The main PHP script in "Remove Unwanted Subscribers" version 1.0.7 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("withinweb-remove-spam-subscribers.php" instead of "withinweb_wwrs_remove_subscribers.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected193 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 88 | 63 | 193 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 19.95KB | 9.78KB | ▼ 50.98% |