Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.87ms] Passed 4 tests
An overview of server-side resources used by WP Delete User Accounts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.28 ▼4.68 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.19 ▼6.44 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.45 ▲6.46 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 94.58 ▼1.99 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.19 ▼2.35 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Delete User Accounts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.22 ▼1.16 | 1.66 ▼0.52 | 41.65 ▼7.74 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.04 | 108.11 ▼7.32 | 41.43 ▼6.81 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.07 | 38.88 ▲2.13 | 34.88 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.35 ▲0.40 | 576.94 ▼69.10 | 45.16 ▼12.01 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.13 ▼0.07 | 96.33 ▼0.48 | 43.88 ▲2.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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 fix the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-delete-user-accounts/includes/frontend.php:23
- > PHP Notice
Undefined variable: label in wp-content/plugins/wp-delete-user-accounts/templates/shortcode-wp_delete_user_accounts.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_delete_user_account_delete_button() in wp-content/plugins/wp-delete-user-accounts/templates/shortcode-wp_delete_user_accounts.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-delete-user-accounts/includes/process-ajax.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-delete-user-accounts/includes/admin-profile.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-delete-user-accounts/wp-delete-user-accounts.php:74
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: profiles, accounts
wp-delete-user-accounts/wp-delete-user-accounts.php Passed 13 tests
"WP Delete User Accounts" version 1.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
55 characters long description:
Allow your users to manually delete their own accounts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected380 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 94 | 116 | 203 |
Markdown | 1 | 28 | 0 | 85 |
JavaScript | 2 | 10 | 13 | 81 |
CSS | 1 | 2 | 4 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 6.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
No PNG images were found in this plugin