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.25MB] [CPU: ▼4.75ms] Passed 4 tests
Analyzing server-side resources used by WP Frontend Delete Account
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 41.28 ▲0.96 |
Dashboard /wp-admin | 3.60 ▲0.29 | 51.20 ▼0.27 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 55.86 ▼13.81 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 94.97 ▼5.86 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 40.37 ▲7.15 |
WP Frontend Delete Account /wp-admin/options-general.php?page=wp-frontend-delete-account | 3.43 | 35.29 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Frontend Delete Account
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.32 ▼1.34 | 1.78 ▼0.26 | 44.55 ▼1.33 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼1.02 | 102.79 ▼13.92 | 43.77 ▼2.15 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.02 | 39.85 ▼2.66 | 34.74 ▼0.47 |
Add New Post /wp-admin/post-new.php | 6,198 ▲4,665 | 19.15 ▼4.02 | 927.73 ▲243.17 | 57.14 ▲1.61 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▲0.03 | 113.63 ▲11.21 | 51.79 ▲11.04 |
WP Frontend Delete Account /wp-admin/options-general.php?page=wp-frontend-delete-account | 904 | 2.54 | 56.14 | 52.04 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 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: frontend-delete, gdpr-erasure, delete-account, gdpr, remove-account...
wp-frontend-delete-account/wp-frontend-delete-account.php Passed 13 tests
The entry point to "WP Frontend Delete Account" version 1.7.0 is a PHP file that has certain tags in its header comment area
49 characters long description:
Lets customers delete their account by their own.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,144 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 337 | 584 | 1,177 |
JavaScript | 10 | 141 | 43 | 499 |
Sass | 2 | 38 | 0 | 224 |
JSON | 1 | 0 | 0 | 126 |
PO File | 1 | 51 | 60 | 116 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 67 | |
▷ Static methods | 11 | 16.42% |
▷ Public methods | 65 | 97.01% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.99% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 6.15KB | 3.92KB | ▼ 36.28% |