Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼291.67ms] Passed 4 tests
This is a short check of server-side resources used by Easy Username Updater
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 53.36 ▼2.19 |
Dashboard /wp-admin | 3.46 ▲0.06 | 33.57 ▲0.03 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 40.41 ▲3.83 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 96.11 ▼1,158.84 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 24.84 ▼5.66 |
Username Updater /wp-admin/users.php?page=easy_username_updater | 3.31 | 22.08 |
Update /wp-admin/admin.php?page=eup_username_update | 3.31 | 22.61 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Easy Username Updater
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,780 ▲26 | 16.12 ▲0.33 | 5.77 ▼0.81 | 2.25 ▼0.07 |
Dashboard /wp-admin | 2,904 ▲50 | 6.74 ▲0.52 | 118.23 ▼21.36 | 155.54 ▼4.70 |
Posts /wp-admin/edit.php | 2,704 ▲11 | 2.95 ▼0.28 | 66.16 ▲2.21 | 147.49 ▲10.47 |
Add New Post /wp-admin/post-new.php | 1,674 ▼37 | 15.92 ▼5.12 | 392.48 ▼41.52 | 160.08 ▼1.62 |
Media Library /wp-admin/upload.php | 1,711 ▲13 | 5.71 ▲0.21 | 140.01 ▼12.71 | 184.56 ▼6.72 |
Username Updater /wp-admin/users.php?page=easy_username_updater | 1,196 | 3.04 | 70.79 | 132.51 |
Update /wp-admin/admin.php?page=eup_username_update | 1,819 | 4.33 | 89.07 | 138.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 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 Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 15 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (The main interface), #2 (Update username)
username-updater/init.php 92% from 13 tests
The principal PHP file in "Easy Username Updater" v. 1.0.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- 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 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin270 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 8 | 73 | 244 |
CSS | 1 | 0 | 0 | 21 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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 | 3 | |
▷ Named functions | 3 | 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-2.png | 62.90KB | 17.46KB | ▼ 72.24% |
screenshot-1.png | 133.96KB | 48.77KB | ▼ 63.59% |