Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▼23.42ms] Passed 4 tests
A check of server-side resources used by Uix Shortcodes - Compatible with Gutenberg
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.64 | 45.98 ▲9.74 |
Dashboard /wp-admin | 4.30 ▲1.00 | 32.95 ▼13.39 |
Posts /wp-admin/edit.php | 4.30 ▲0.95 | 33.70 ▼6.95 |
Add New Post /wp-admin/post-new.php | 4.30 ▼1.58 | 32.07 ▼69.60 |
Media Library /wp-admin/upload.php | 4.30 ▲1.07 | 33.50 ▼3.73 |
How to use? /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=usage | 4.31 | 31.73 |
Custom CSS /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=custom-css | 4.31 | 41.82 |
Settings /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=general-settings | 4.31 | 32.67 |
Helper /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page | 4.30 | 33.85 |
Server storage [IO: ▲9.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 419 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Uix Shortcodes - Compatible with Gutenberg
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲224 | 13.72 ▼0.66 | 13.24 ▲11.53 | 45.92 ▲7.74 |
Dashboard /wp-admin | 2,241 ▲52 | 5.90 ▲0.92 | 111.19 ▼3.90 | 44.77 ▲6.39 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.03 ▲0.04 | 33.41 ▼5.54 | 36.75 ▲2.23 |
Add New Post /wp-admin/post-new.php | 8,409 ▲6,867 | 21.25 ▲2.88 | 1,002.13 ▲390.75 | 40.44 ▼6.61 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.22 ▲0.01 | 96.90 ▲3.28 | 43.40 ▲3.03 |
How to use? /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=usage | 3,250 | 10.72 | 321.25 | 124.72 |
Custom CSS /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=custom-css | 3,093 | 4.30 | 59.03 | 59.20 |
Settings /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=general-settings | 3,082 | 4.19 | 59.11 | 72.57 |
Helper /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page | 3,126 | 4.16 | 62.95 | 26.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+558
mkdir(): No such file or directory
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page
- > 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/uix-shortcodes/helper/tabs/about.php
- > /wp-content/plugins/uix-shortcodes/helper/tabs/documentation.php
- > /wp-content/plugins/uix-shortcodes/helper/tabs/general-settings.php
- > /wp-content/plugins/uix-shortcodes/helper/tabs/credits.php
- > /wp-content/plugins/uix-shortcodes/helper/tabs/usage.php
- > /wp-content/plugins/uix-shortcodes/includes/uixscform/functions/google-map.php
- > /wp-content/plugins/uix-shortcodes/includes/uixscform/flaticon/font-flaticon-custom.php
- > /wp-content/plugins/uix-shortcodes/includes/uixscform/fontawesome/font-awesome-custom.php
- > /wp-content/plugins/uix-shortcodes/helper/tabs/custom-css.php
- > /wp-content/plugins/uix-shortcodes/includes/uixscform/fontawesome/font-awesome-social.php
- 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Uix_Custom_Metaboxes' not found in wp-content/plugins/uix-shortcodes/includes/admin/uix-custom-metaboxes/controls/date.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_Custom_Metaboxes' not found in wp-content/plugins/uix-shortcodes/includes/admin/uix-custom-metaboxes/controls/radio.php:6
- > PHP Fatal error
Uncaught Error: Class 'UixSCFormCore' not found in wp-content/plugins/uix-shortcodes/includes/uixscform/controls/multiselect.php:2
- > PHP Fatal error
Uncaught Error: Class 'Uix_Custom_Metaboxes' not found in wp-content/plugins/uix-shortcodes/includes/admin/uix-custom-metaboxes/controls/url.php:6
- > PHP Fatal error
Uncaught Error: Class 'UixSCFormCore' not found in wp-content/plugins/uix-shortcodes/includes/uixscform/controls/toggle.php:2
- > PHP Fatal error
Uncaught Error: Class 'UixSCFormCore' not found in wp-content/plugins/uix-shortcodes/includes/uixscform/controls/checkbox.php:2
- > PHP Fatal error
Uncaught Error: Class 'Uix_Custom_Metaboxes' not found in wp-content/plugins/uix-shortcodes/includes/admin/uix-custom-metaboxes/controls/multi-checkbox.php:6
- > PHP Fatal error
Uncaught Error: Class 'UixSCFormCore' not found in wp-content/plugins/uix-shortcodes/includes/uixscform/controls/slider.php:2
- > PHP Fatal error
Uncaught Error: Class 'UixSCFormCore' not found in wp-content/plugins/uix-shortcodes/includes/uixscform/controls/color.php:2
- > PHP Fatal error
Uncaught Error: Class 'Uix_Custom_Metaboxes' not found in wp-content/plugins/uix-shortcodes/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 smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=usage
- > Other (warning) in unknown
/wp-admin/admin.php?page=uix-shortcodes-custom-submenu-page&tab=usage 180 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: gutenberg, short code, shortcode, shortcodes, blocks
uix-shortcodes/uix-shortcodes.php Passed 13 tests
The main PHP script in "Uix Shortcodes - Compatible with Gutenberg" version 1.9.9 is automatically included on every request by WordPress
137 characters long description:
Uix Shortcodes brings an amazing set of beautiful and useful elements to your site that lets you do nifty things with very little effort.
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 plugin76,143 lines of code in 227 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 83 | 4,566 | 5,036 | 26,135 |
CSS | 43 | 6,717 | 1,592 | 21,344 |
SVG | 4 | 0 | 3 | 13,905 |
PHP | 94 | 5,500 | 3,490 | 13,083 |
PO File | 1 | 471 | 809 | 1,137 |
Markdown | 1 | 226 | 0 | 536 |
HTML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 30.07 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 9.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 42 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 137 | 91.95% |
▷ Public methods | 144 | 96.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.36% |
Functions | 50 | |
▷ Named functions | 50 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
55 PNG files occupy 0.48MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/uixscform/images/color-bg-3.png | 1.01KB | 0.22KB | ▼ 78.10% |
includes/uixscform/images/info/notice.png | 1.11KB | 0.25KB | ▼ 77.24% |
includes/uixscform/images/column/average-4.png | 20.23KB | 0.31KB | ▼ 98.46% |
includes/uixscform/images/map/map-style-6.png | 7.04KB | 7.06KB | 0.00% |
assets/images/map/map-location.png | 1.56KB | 1.56KB | 0.00% |