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
Install script ran successfully
Server metrics [RAM: ▲0.67MB] [CPU: ▼1.60ms] Passed 4 tests
This is a short check of server-side resources used by Stop Spammers Security | Block Spam Users, Comments, Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.66 | 46.28 ▲5.04 |
Dashboard /wp-admin | 4.00 ▲0.70 | 51.18 ▼0.21 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 52.20 ▲3.72 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.63 | 89.77 ▼14.93 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 46.03 ▲9.44 |
Web Services /wp-admin/admin.php?page=ss_webservices_settings | 3.96 | 38.19 |
Log Report /wp-admin/admin.php?page=ss_reports | 4.00 | 38.34 |
Cache /wp-admin/admin.php?page=ss_cache | 3.98 | 36.12 |
Premium Security /wp-admin/admin.php?page=ss_premium | 3.90 | 37.58 |
Challenge & Block /wp-admin/admin.php?page=ss_challenge | 4.01 | 37.84 |
Cleanup /wp-admin/admin.php?page=ss_option_maint | 6.74 | 46.90 |
Block Lists /wp-admin/admin.php?page=ss_block_list | 3.97 | 37.31 |
Summary /wp-admin/admin.php?page=stop_spammers | 4.10 | 39.88 |
Diagnostics /wp-admin/admin.php?page=ss_diagnostics | 4.38 | 46.66 |
Protection Options /wp-admin/admin.php?page=ss_options | 4.16 | 38.10 |
Server storage [IO: ▲1.90MB] [DB: ▲0.04MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 324 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
ss_stop_sp_reg_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
ss_stop_sp_reg_stats |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Stop Spammers Security | Block Spam Users, Comments, Forms: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 14.17 ▼0.08 | 1.67 ▼0.02 | 39.66 ▼4.17 |
Dashboard /wp-admin | 2,297 ▲120 | 5.58 ▼0.07 | 82.94 ▼3.66 | 89.61 ▲49.79 |
Posts /wp-admin/edit.php | 2,200 ▲100 | 2.18 ▲0.17 | 35.31 ▲0.03 | 46.80 ▲10.56 |
Add New Post /wp-admin/post-new.php | 1,614 ▲85 | 23.33 ▼0.32 | 698.63 ▲20.43 | 67.94 ▲5.36 |
Media Library /wp-admin/upload.php | 1,500 ▲97 | 4.10 ▼0.11 | 106.04 ▲11.87 | 89.28 ▲44.79 |
Web Services /wp-admin/admin.php?page=ss_webservices_settings | 1,053 | 1.82 | 25.61 | 56.81 |
Log Report /wp-admin/admin.php?page=ss_reports | 1,026 | 1.69 | 24.19 | 40.69 |
Cache /wp-admin/admin.php?page=ss_cache | 1,021 | 1.82 | 26.29 | 39.10 |
Premium Security /wp-admin/admin.php?page=ss_premium | 960 | 1.83 | 25.40 | 52.38 |
Challenge & Block /wp-admin/admin.php?page=ss_challenge | 1,453 | 1.85 | 27.43 | 57.90 |
Cleanup /wp-admin/admin.php?page=ss_option_maint | 1,427 | 1.83 | 27.67 | 46.10 |
Block Lists /wp-admin/admin.php?page=ss_block_list | 1,100 | 1.82 | 25.06 | 59.50 |
Summary /wp-admin/admin.php?page=stop_spammers | 2,099 | 33.31 | 1,024.57 | 142.40 |
Diagnostics /wp-admin/admin.php?page=ss_diagnostics | 6,483 | 1.88 | 30.34 | 43.93 |
Protection Options /wp-admin/admin.php?page=ss_options | 2,229 | 1.82 | 26.37 | 47.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 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
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- ss_stop_sp_reg_options
- db_upgraded
- ss_stop_sp_reg_stats
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=ss_option_maint
- > Notice in wp-content/plugins/stop-spammer-registrations-plugin/settings/ss_user_filter_list.php+189
Undefined index: max_size_output
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
Please fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/stop-spammer-registrations-plugin/settings/ss_user_list.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function ss_get_options() in wp-content/plugins/stop-spammer-registrations-plugin/modules/pluggable-functions.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/stop-spammer-registrations-plugin/settings/ss_user_list.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/stop-spammer-registrations-plugin/stop-spammer-registrations-new.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/stop-spammer-registrations-plugin/settings/ss_user_filter_list.php:8
- > PHP Notice
Undefined variable: user_list in wp-content/plugins/stop-spammer-registrations-plugin/settings/ss_user_list.php on line 3
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=stop_spammers
- > Deprecation (warning) in unknown
https://www.paypalobjects.com/api/checkout.js 16216 Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=stop_spammers
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'speaker-selection'.
- > GET request to /wp-admin/admin.php?page=stop_spammers
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (21 tag instead of maximum 10)
- Screenshots: These screenshots lack descriptions #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in stop-spammer-registrations-plugin/assets to your readme.txt
stop-spammer-registrations-plugin/stop-spammer-registrations-new.php 85% from 13 tests
This is the main PHP file of "Stop Spammers Security | Block Spam Users, Comments, Forms" version 2023.4.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 205 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("stop-spammer-registrations-plugin.php" instead of "stop-spammer-registrations-new.php")
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
Everything looks great! No dangerous files found in this plugin44,567 lines of code in 287 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 282 | 1,068 | 2,482 | 43,876 |
CSS | 2 | 105 | 17 | 545 |
JavaScript | 2 | 7 | 2 | 145 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 3.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 7.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 263 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 263 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 15 | 17.44% |
▷ Public methods | 82 | 95.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 4.65% |
Functions | 129 | |
▷ Named functions | 128 | 99.22% |
▷ Anonymous functions | 1 | 0.78% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
31 compressed PNG files occupy 0.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/search.png | 0.79KB | 1.32KB | 0.00% |
images/tdown.png | 0.41KB | 0.66KB | 0.00% |
images/stop-spammers-premium.png | 14.32KB | 7.04KB | ▼ 50.84% |
images/database-cleanup.png | 1.84KB | 1.90KB | 0.00% |
images/themed-login_stop-spammers-premium_trumani.png | 1.99KB | 2.05KB | 0.00% |