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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.77ms] Passed 4 tests
A check of server-side resources used by User Rename by Azed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 43.73 ▲1.89 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.97 ▼9.90 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.19 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.30 ▼8.62 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.93 ▲1.52 |
Change user slug /wp-admin/users.php?page=AzedUserRename | 3.32 | 35.78 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for User Rename by Azed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.34 ▼0.00 | 1.77 ▼0.54 | 44.71 ▲0.93 |
Dashboard /wp-admin | 2,199 ▲22 | 5.51 ▼0.08 | 84.01 ▼17.21 | 36.93 ▼7.08 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.02 ▼0.11 | 36.36 ▲1.28 | 33.24 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.16 ▼0.27 | 658.88 ▼16.00 | 64.88 ▲12.48 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.11 | 95.84 ▼21.02 | 42.89 ▼5.22 |
Change user slug /wp-admin/users.php?page=AzedUserRename | 953 | 1.96 | 26.60 | 28.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/users.php?page=AzedUserRename
- > Notice in wp-content/plugins/user-rename-by-azed/azeduserrename.php+177
Undefined index: userListSelector
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 fix 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/user-rename-by-azed/azeduserrename.php:233
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: profile, user, azed, rename
user-rename-by-azed/azeduserrename.php 92% from 13 tests
This is the main PHP file of "User Rename by Azed" version 0.4.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("user-rename-by-azed.php" instead of "azeduserrename.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin320 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 15 | 193 |
PO File | 2 | 38 | 38 | 108 |
CSS | 1 | 12 | 2 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 5.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 3 | 37.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ 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
16 PNG files occupy 0.45MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 29.24KB | 11.20KB | ▼ 61.70% |
assets/screenshot-6.png | 8.71KB | 3.91KB | ▼ 55.14% |
assets/screenshot-5.png | 8.06KB | 3.69KB | ▼ 54.23% |
assets/icon-128x128.png | 14.86KB | 5.89KB | ▼ 60.39% |
assets/screenshot-3.png | 50.44KB | 18.74KB | ▼ 62.86% |