Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.83ms] Passed 4 tests
Analyzing server-side resources used by Delete Spam Users
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.34 ▲1.65 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.40 ▼4.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.75 ▲0.01 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.22 ▼7.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.55 ▼3.96 |
Delete Spam Users /wp-admin/users.php?page=no-posts-user-delete/no-posts-user-delete.php | 3.18 | 32.22 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Delete Spam Users
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▼0.18 | 1.99 ▲0.28 | 42.99 ▼2.04 |
Dashboard /wp-admin | 2,199 ▲19 | 5.67 ▲0.10 | 85.59 ▼5.24 | 41.96 ▼1.36 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▼0.01 | 35.08 ▼5.39 | 36.55 ▲1.57 |
Add New Post /wp-admin/post-new.php | 1,530 ▼7 | 22.90 ▲4.81 | 654.59 ▲38.79 | 54.39 ▼15.17 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.16 ▼0.07 | 96.38 ▼2.93 | 39.93 ▼3.28 |
Delete Spam Users /wp-admin/users.php?page=no-posts-user-delete/no-posts-user-delete.php | 1,049 | 2.12 | 25.24 | 31.60 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=no-posts-user-delete/no-posts-user-delete.php
- > Notice in wp-content/plugins/no-posts-user-delete/no-posts-user-delete.php+83
Undefined index: user_role_eq
- 5 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=no-posts-user-delete/no-posts-user-delete.php
- > Notice in wp-content/plugins/no-posts-user-delete/no-posts-user-delete.php+98
Undefined index: max_size_output
- 3 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=no-posts-user-delete/no-posts-user-delete.php
- > Notice in wp-content/plugins/no-posts-user-delete/no-posts-user-delete.php+116
Undefined index: sort_order
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/no-posts-user-delete/no-posts-user-delete.php:372
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
4 plugin tags: remove user, spam users, user delete, delete users
no-posts-user-delete/no-posts-user-delete.php 92% from 13 tests
"Delete Spam Users" version 3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)
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
Success! There were no dangerous files found in this plugin322 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 16 | 322 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
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 | 3 | |
▷ Named functions | 3 | 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
No PNG images were found in this plugin