Benchmarks
Plugin footprint 65% from 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.92MB] [CPU: ▼34.90ms] Passed 4 tests
An overview of server-side resources used by SX User Name Security
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.93 ▼4.84 |
Dashboard /wp-admin | 3.02 ▼0.28 | 27.76 ▼30.94 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 29.70 ▼19.25 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 23.55 ▼79.37 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 26.07 ▼10.02 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by SX User Name Security
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲102 | 14.35 ▼0.00 | 1.96 ▼0.00 | 44.09 ▼3.41 |
Dashboard /wp-admin | 2,244 ▲64 | 5.58 ▼0.04 | 90.45 ▼8.65 | 44.95 ▲0.07 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.14 ▲0.11 | 41.76 ▲4.77 | 41.89 ▲6.56 |
Add New Post /wp-admin/post-new.php | 1,575 ▲25 | 23.14 ▲4.80 | 639.53 ▲8.54 | 57.01 ▼13.64 |
Media Library /wp-admin/upload.php | 1,449 ▲52 | 4.19 ▲0.02 | 109.67 ▲10.15 | 51.25 ▲9.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/sf-author-url-control): failed to open dir: No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/user-name-security/user-name-security.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: body_class, security, display nam, nicename, user
user-name-security/user-name-security.php 92% from 13 tests
"SX User Name Security" version 2.3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 255 characters long)
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
There were no executable files found in this plugin1,433 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 122 | 95 | 749 |
PHP | 1 | 36 | 175 | 307 |
CSS | 2 | 19 | 35 | 223 |
PO File | 2 | 30 | 34 | 154 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 19 | |
▷ Named functions | 19 | 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
13 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_flat_75_dadada_40x100.png | 0.22KB | 0.08KB | ▼ 62.17% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-bg_flat_55_fbf9ee_40x100.png | 0.20KB | 0.08KB | ▼ 57.77% |
css/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |