Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-quick-username-update/wmamc-quick-update-username.php+265
Non-static method WMAMC_wp_quick_update_username::WMAMC_wp_quick_update_username_instance() should not be called statically
Server metrics [RAM: ▼1.83MB] [CPU: ▼189.56ms] Passed 4 tests
A check of server-side resources used by Quick User Profile Update
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.80 ▼0.92 | 5.49 ▼19.16 |
Dashboard /wp-admin | 1.82 ▼1.23 | 5.91 ▼34.20 |
Posts /wp-admin/edit.php | 1.82 ▼1.28 | 6.65 ▼40.31 |
Add New Post /wp-admin/post-new.php | 1.82 ▼3.61 | 5.41 ▼647.67 |
Media Library /wp-admin/upload.php | 1.82 ▼1.19 | 6.60 ▼36.07 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Quick User Profile Update
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲107 | 16.05 ▲0.52 | 7.33 ▼1.18 | 46.48 ▼8.01 |
Dashboard /wp-admin | 2,992 ▲58 | 5.92 ▼0.04 | 144.66 ▼42.25 | 118.30 ▼11.81 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.68 ▼0.03 | 66.21 ▼3.24 | 99.80 ▲4.03 |
Add New Post /wp-admin/post-new.php | 1,511 ▼172 | 18.90 ▲0.91 | 381.38 ▲5.13 | 110.88 ▲1.89 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.00 ▼0.01 | 145.15 ▼19.78 | 123.59 ▼15.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/wp-quick-username-update/wmamc-quick-update-username.php+265
Non-static method WMAMC_wp_quick_update_username::WMAMC_wp_quick_update_username_instance() should not be called statically
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _get_list_table() in wp-content/plugins/wp-quick-username-update/views/quick-edit-view.php:11
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in wp-quick-username-update/assets to your readme.txt
wp-quick-username-update/wmamc-quick-update-username.php 77% from 13 tests
The primary PHP file in "Quick User Profile Update" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.7" instead of "4.4")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-quick-username-update.php" instead of "wmamc-quick-update-username.php")
- Text Domain: Please use dashes and lowercase characters for text domains
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
Good job! No executable or dangerous file extensions detected448 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 123 | 21 | 230 |
JavaScript | 2 | 106 | 8 | 186 |
CSS | 1 | 6 | 1 | 32 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG images were not found in this plugin