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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.40ms] Passed 4 tests
Server-side resources used by Delete My Account for Ultimate Membership Pro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.94 ▼7.88 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.94 ▼6.40 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.01 ▲4.59 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.45 ▼3.77 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.07 ▲4.46 |
Server storage [IO: ▲4.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Delete My Account for Ultimate Membership Pro
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.20 ▼1.36 | 1.60 ▼0.54 | 38.02 ▼5.71 |
Dashboard /wp-admin | 2,201 ▲16 | 5.90 ▼0.11 | 109.76 ▼13.69 | 42.60 ▼4.53 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▲0.05 | 40.23 ▼0.26 | 37.01 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,518 ▼25 | 17.45 ▼0.70 | 683.79 ▲33.72 | 52.90 ▼13.22 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.33 ▲0.11 | 100.59 ▼5.39 | 46.91 ▲2.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/delete-my-account-addon-for-ultimate-membership-pro/views/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/delete-my-account-addon-for-ultimate-membership-pro/delete-my-account-for-ultimate-membership-pro.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/delete-my-account-addon-for-ultimate-membership-pro/views/public.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: member, ultimate membership pro, delete, user, accounts...
delete-my-account-addon-for-ultimate-membership-pro/delete-my-account-for-ultimate-membership-pro.php 85% from 13 tests
"Delete My Account for Ultimate Membership Pro" version 1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("delete-my-account-addon-for-ultimate-membership-pro.php" instead of "delete-my-account-for-ultimate-membership-pro.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 detected10,437 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
PHP | 16 | 152 | 335 | 780 |
JavaScript | 2 | 9 | 4 | 87 |
JSON | 1 | 0 | 0 | 11 |
CSS | 2 | 2 | 7 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 9 | 18.00% |
▷ Public methods | 47 | 94.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.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
PNG images were not found in this plugin