Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.71ms] Passed 4 tests
This is a short check of server-side resources used by Delete Usermetas
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 35.75 ▲0.56 |
Dashboard /wp-admin | 3.34 ▼0.01 | 44.84 ▼17.38 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.87 ▲1.39 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.08 ▼7.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.09 ▲1.16 |
Delete Usermetas /wp-admin/tools.php?page=delete_usermetas | 3.23 | 38.07 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Delete Usermetas
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲60 | 14.33 ▼0.29 | 1.76 ▲0.14 | 41.52 ▲1.02 |
Dashboard /wp-admin | 2,195 ▲27 | 5.49 ▼0.11 | 82.55 ▼5.53 | 38.13 ▼7.70 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.99 ▲0.03 | 33.88 ▲0.58 | 30.84 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.09 ▲0.11 | 667.90 ▼3.98 | 52.92 ▼4.58 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.05 | 102.27 ▼8.63 | 46.26 ▲0.91 |
Delete Usermetas /wp-admin/tools.php?page=delete_usermetas | 943 | 2.03 | 25.24 | 32.94 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/delete-usermetas/delete-usermetas.php
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)
Everything seems fine, but this is not an exhaustive test
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
2 plugin tags: users, usermetas
delete-usermetas/delete-usermetas.php Passed 13 tests
The main PHP file in "Delete Usermetas" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
70 characters long description:
This plugin delete any usermeta user by user or all user at same time.
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
No dangerous file extensions were detected212 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 17 | 132 |
PO File | 1 | 19 | 21 | 75 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 39.00KB | 13.85KB | ▼ 64.49% |
assets/icon-256x256.png | 15.30KB | 7.60KB | ▼ 50.36% |
assets/icon-128x128.png | 7.21KB | 4.89KB | ▼ 32.20% |