Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.20ms] Passed 4 tests
An overview of server-side resources used by Easy Username Updater
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.78 ▼1.89 |
Dashboard /wp-admin | 3.35 ▲0.01 | 52.15 ▼15.33 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.14 ▼2.54 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 94.66 ▼5.05 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.91 ▼1.55 |
Update /wp-admin/admin.php?page=eup_username_update | 3.24 | 33.96 |
Username Updater /wp-admin/users.php?page=easy_username_updater | 3.25 | 42.20 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Easy Username Updater: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 13.60 ▼0.65 | 1.51 ▼0.37 | 42.66 ▼2.52 |
Dashboard /wp-admin | 2,237 ▲31 | 5.25 ▼0.63 | 105.42 ▼20.86 | 38.23 ▼7.69 |
Posts /wp-admin/edit.php | 2,095 ▼5 | 2.52 ▲0.52 | 49.45 ▲10.30 | 32.25 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,550 ▲5 | 18.40 ▼4.84 | 655.47 ▼60.18 | 73.39 ▲11.96 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.52 ▲0.27 | 122.21 ▲5.64 | 45.46 ▼2.84 |
Update /wp-admin/admin.php?page=eup_username_update | 1,626 | 3.45 | 58.61 | 48.52 |
Username Updater /wp-admin/users.php?page=easy_username_updater | 952 | 2.51 | 66.74 | 38.03 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (The main interface), #2 (Update username)
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
username-updater/init.php 92% from 13 tests
The main PHP script in "Easy Username Updater" version 1.0.5 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("username-updater.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin416 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 11 | 72 | 208 |
JavaScript | 2 | 3 | 11 | 183 |
CSS | 2 | 0 | 0 | 25 |
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.34 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 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
2 PNG files occupy 0.19MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 133.96KB | 48.77KB | ▼ 63.59% |
screenshot-2.png | 62.90KB | 17.46KB | ▼ 72.24% |