Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.75MB] [CPU: ▼37.34ms] Passed 4 tests
Server-side resources used by Uix Products
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 44.95 ▲3.28 |
Dashboard /wp-admin | 3.21 ▼0.14 | 30.07 ▼35.02 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 31.56 ▼23.92 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 31.03 ▼81.56 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 31.19 ▼8.87 |
Template Files /wp-admin/admin.php?page=uix-products-helper&tab=temp | 3.21 | 31.06 |
How to use? /wp-admin/admin.php?page=uix-products-helper&tab=usage | 3.21 | 30.37 |
About /wp-admin/edit.php?post_type=uix_products&page=uix-products-helper | 3.21 | 36.95 |
Custom CSS /wp-admin/admin.php?page=uix-products-helper&tab=custom-css | 3.21 | 27.49 |
For Theme Developer /wp-admin/admin.php?page=uix-products-helper&tab=for-developer | 3.21 | 31.83 |
Add New Item /wp-admin/post-new.php?post_type=uix_products | 3.21 | 30.28 |
Categories /wp-admin/edit-tags.php?taxonomy=uix_products_category&post_type=uix_products | 3.21 | 29.71 |
Settings /wp-admin/admin.php?page=uix-products-helper&tab=general-settings | 3.21 | 30.43 |
Uix Products /wp-admin/edit.php?post_type=uix_products | 3.21 | 27.24 |
Server storage [IO: ▲3.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 177 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_uix_products_recentposts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Uix Products
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲228 | 13.85 ▼0.08 | 9.30 ▲6.88 | 44.23 ▼0.35 |
Dashboard /wp-admin | 2,279 ▲73 | 5.84 ▼0.01 | 102.32 ▼3.87 | 42.08 ▼2.64 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.02 ▲0.02 | 37.05 ▲1.79 | 33.37 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,599 ▲59 | 23.41 ▲0.36 | 673.67 ▲1.41 | 37.68 ▼12.23 |
Media Library /wp-admin/upload.php | 1,458 ▲58 | 4.16 ▼0.16 | 111.64 ▼0.11 | 52.64 ▲8.63 |
Template Files /wp-admin/admin.php?page=uix-products-helper&tab=temp | 962 | 2.10 | 35.47 | 32.44 |
How to use? /wp-admin/admin.php?page=uix-products-helper&tab=usage | 1,654 | 9.37 | 278.07 | 120.12 |
About /wp-admin/edit.php?post_type=uix_products&page=uix-products-helper | 992 | 2.09 | 32.88 | 38.55 |
Custom CSS /wp-admin/admin.php?page=uix-products-helper&tab=custom-css | 1,015 | 2.23 | 31.16 | 31.98 |
For Theme Developer /wp-admin/admin.php?page=uix-products-helper&tab=for-developer | 961 | 2.10 | 33.28 | 32.56 |
Add New Item /wp-admin/post-new.php?post_type=uix_products | 3,438 | 8.80 | 489.01 | 172.27 |
Categories /wp-admin/edit-tags.php?taxonomy=uix_products_category&post_type=uix_products | 1,362 | 2.32 | 28.24 | 33.49 |
Settings /wp-admin/admin.php?page=uix-products-helper&tab=general-settings | 1,121 | 2.11 | 32.71 | 27.28 |
Uix Products /wp-admin/edit.php?post_type=uix_products | 1,263 | 2.13 | 32.89 | 34.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+558
mkdir(): No such file or directory
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_uix_products_recentposts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 34 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=uix_products
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+558
mkdir(): No such file or directory
SRP 0% 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
The following issues need your attention
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/uix-products/helper/tabs/for-developer.php
- > /wp-content/plugins/uix-products/live-demo/index.php
- > /wp-content/plugins/uix-products/helper/tabs/credits.php
- > /wp-content/plugins/uix-products/helper/tabs/custom-css.php
- > /wp-content/plugins/uix-products/helper/tabs/usage.php
- > /wp-content/plugins/uix-products/helper/tabs/general-settings.php
- > /wp-content/plugins/uix-products/helper/tabs/about.php
- > /wp-content/plugins/uix-products/live-demo/themes-list.php
- > /wp-content/plugins/uix-products/helper/tabs/temp.php
- 23× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Uix_Products_Custom_Metaboxes' not found in wp-content/plugins/uix-products/includes/admin/uix-custom-metaboxes/controls/radio.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_Products_Custom_Metaboxes' not found in wp-content/plugins/uix-products/includes/admin/uix-custom-metaboxes/controls/checkbox.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/uix-products/includes/admin/options.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uix-products/helper/settings.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uix-products/includes/admin/post-type-init.php:9
- > PHP Fatal error
Uncaught Error: Class 'Uix_Products_Custom_Metaboxes' not found in wp-content/plugins/uix-products/includes/admin/uix-custom-metaboxes/controls/image.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_Products_Custom_Metaboxes' not found in wp-content/plugins/uix-products/includes/admin/uix-custom-metaboxes/controls/textarea.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_Products_Custom_Metaboxes' not found in wp-content/plugins/uix-products/includes/admin/uix-custom-metaboxes/controls/number.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_Products_Custom_Metaboxes' not found in wp-content/plugins/uix-products/includes/admin/uix-custom-metaboxes/controls/multi-content.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_Products_Custom_Metaboxes' not found in wp-content/plugins/uix-products/includes/admin/uix-custom-metaboxes/controls/select.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=uix-products-helper&tab=usage
- > Other (warning) in unknown
/wp-admin/admin.php?page=uix-products-helper&tab=usage 177 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
uix-products/uix-products.php Passed 13 tests
The main PHP file in "Uix Products" ver. 1.6.1 adds more information about the plugin and also serves as the entry point for this plugin
127 characters long description:
Readily organize & present your artworks, themes, plugins with Uix Products template files. Convenient for theme customization.
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
Success! There were no dangerous files found in this plugin40,599 lines of code in 141 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 82 | 2,024 | 3,500 | 21,708 |
CSS | 17 | 788 | 362 | 12,283 |
PHP | 38 | 2,085 | 892 | 4,453 |
SVG | 2 | 0 | 0 | 943 |
PO File | 1 | 236 | 274 | 676 |
Markdown | 1 | 226 | 0 | 536 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 24.45 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 6.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 95 | 93.14% |
▷ Public methods | 102 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/add-ons/prettyPhoto/prettyPhoto/jquery-prettyPhoto-btnPrevious.png | 0.27KB | 0.27KB | 0.00% |
assets/add-ons/prettyPhoto/prettyPhoto/jquery-prettyPhoto-btnNext.png | 0.27KB | 0.27KB | 0.36% |
assets/add-ons/prettyPhoto/prettyPhoto/jquery-prettyPhoto-sprite.png | 2.27KB | 0.83KB | ▼ 63.28% |
assets/add-ons/prettyPhoto/prettyPhoto/jquery-prettyPhoto-contentPattern.png | 0.94KB | 0.12KB | ▼ 87.78% |
assets/images/featured-image.png | 1.34KB | 0.64KB | ▼ 52.48% |