Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.49MB] [CPU: ▲1.32ms] Passed 4 tests
Analyzing server-side resources used by Unique UX
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 52.23 ▲10.60 |
Dashboard /wp-admin | 3.83 ▲0.52 | 46.97 ▼3.03 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 49.27 ▲0.60 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 86.84 ▼0.12 |
Media Library /wp-admin/upload.php | 3.69 ▲0.45 | 42.93 ▲7.81 |
Settings /wp-admin/admin.php?page=uniqueux_settings | 3.69 | 39.80 |
Unique Ux /wp-admin/admin.php?page=uniqueux | 3.68 | 49.46 |
User group /wp-admin/admin.php?page=uniqueux_user_group | 3.66 | 34.36 |
Content group /wp-admin/admin.php?page=uniqueux_content_group | 3.69 | 39.27 |
Server storage [IO: ▲0.56MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: 6 new tables, 7 new options
New tables |
---|
wp_uniqueux_content_group |
wp_uniqueux_content |
wp_uniqueux_devices |
wp_uniqueux_visitors |
wp_uniqueux_user_group |
wp_uniqueux_schedule |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_uniqueux_widget |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Unique UX
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.59 ▼0.78 | 8.39 ▲6.31 | 42.83 ▼3.68 |
Dashboard /wp-admin | 2,242 ▲51 | 5.82 ▲0.90 | 98.56 ▼12.75 | 75.90 ▲32.21 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.02 ▲0.01 | 34.34 ▼2.35 | 32.99 ▼0.86 |
Add New Post /wp-admin/post-new.php | 6,478 ▲4,945 | 28.51 ▲5.33 | 1,009.52 ▲332.69 | 61.68 ▼9.93 |
Media Library /wp-admin/upload.php | 1,418 ▲39 | 4.07 ▼0.21 | 100.80 ▼4.60 | 79.77 ▲34.43 |
Settings /wp-admin/admin.php?page=uniqueux_settings | 1,104 | 3.10 | 43.67 | 35.54 |
Unique Ux /wp-admin/admin.php?page=uniqueux | 1,874 | 1.68 | 27.55 | 32.81 |
User group /wp-admin/admin.php?page=uniqueux_user_group | 997 | 2.03 | 24.66 | 25.58 |
Content group /wp-admin/admin.php?page=uniqueux_content_group | 1,143 | 3.14 | 44.76 | 64.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/unique-ux/unique-ux.php+470
Undefined index: uniqueux_visitor
- Zombie tables were found after uninstall: 6 tables
- wp_uniqueux_user_group
- wp_uniqueux_schedule
- wp_uniqueux_content
- wp_uniqueux_content_group
- wp_uniqueux_visitors
- wp_uniqueux_devices
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_uniqueux_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 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 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 take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unique-ux/includes/class-uniqueux-meta-boxes.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/unique-ux/includes/class-uniqueux-dashboard-table.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/unique-ux/includes/class-uniqueux-widget.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=uniqueux_content_group
- > Javascript (severe) in unknown
/wp-content/plugins/unique-ux/plugins/js/bootstrap.min.js?ver=6.3.1 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Plugin layout with all options enabled.) image missing
unique-ux/unique-ux.php 92% from 13 tests
"Unique UX" version 0.9.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0.0" instead of "4.0")
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
There were no executable files found in this plugin4,819 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 720 | 104 | 3,005 |
JavaScript | 6 | 168 | 61 | 1,506 |
SVG | 1 | 0 | 0 | 288 |
CSS | 4 | 3 | 26 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 4 | 5.88% |
▷ Public methods | 56 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 17.65% |
Functions | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 3.62KB | 0.85KB | ▼ 76.55% |