Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.79MB] [CPU: ▼127.47ms] Passed 4 tests
A check of server-side resources used by Woo Shortcodes Kit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.68 | 53.20 ▲25.71 |
Dashboard /wp-admin | 3.94 ▲0.87 | 60.40 ▲18.72 |
Posts /wp-admin/edit.php | 3.99 ▲0.87 | 54.68 ▲16.91 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.80 | 99.23 ▼568.41 |
Media Library /wp-admin/upload.php | 3.83 ▲0.82 | 48.09 ▲22.91 |
WSHK /wp-admin/admin.php?page=woo-shortcodes-kit | 3.96 | 108.76 |
Server storage [IO: ▲1.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 177 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Woo Shortcodes Kit: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,676 ▲75 | 15.97 ▲0.36 | 4.94 ▼0.06 | 73.79 ▼3.26 |
Dashboard /wp-admin | 2,943 ▲50 | 6.00 ▼0.17 | 125.17 ▼13.43 | 173.99 ▼1.64 |
Posts /wp-admin/edit.php | 2,747 ▲7 | 3.24 ▼0.00 | 64.74 ▼1.59 | 141.71 ▼4.51 |
Add New Post /wp-admin/post-new.php | 3,814 ▲7 | 18.26 ▼0.23 | 447.19 ▲7.04 | 158.10 ▼2.37 |
Media Library /wp-admin/upload.php | 1,762 ▲10 | 5.52 ▼0.04 | 147.77 ▲6.57 | 187.58 ▲1.09 |
WSHK /wp-admin/admin.php?page=woo-shortcodes-kit | 18,203 | 3.67 | 79.93 | 382.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-shortcodes-kit/settings/wshk-settings-page.php
- 80× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/build-your-account-page/dashboard-sht-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/customize-the-shop-page/total-shop-sales-counter-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/wc-additional-settings/conditional-menu-setting.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/customize-the-shop-page/exclude-products-from-specific-cat-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/customize-the-shop-page/build-a-new-shop-page-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/functions/wshk-additional-shortcodes.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/user-data/product-purchases-by-current-user-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/wc-additional-settings/autocomplete-virtual-orders-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/wc-additional-settings/limit-the-number-of-products-inthe-cart-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-shortcodes-kit/settings/customize-the-shop-page/saving-price-and-percentages-onsale-products.php:14
- > 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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #13, #14 in woo-shortcodes-kit/assets to your readme.txt
woo-shortcodes-kit/woo-shortcodes-kit.php 85% from 13 tests
The entry point to "Woo Shortcodes Kit" version 2.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2" instead of "4.0")
- Description: Please don't use more than 140 characters for the plugin description (currently 471 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected13,621 lines of code in 103 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 101 | 3,950 | 1,775 | 11,233 |
PO File | 1 | 736 | 1,628 | 2,387 |
CSS | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 164 | |
▷ Named functions | 151 | 92.07% |
▷ Anonymous functions | 13 | 7.93% |
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
69 compressed PNG files occupy 0.20MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/notification3.png | 2.85KB | 1.78KB | ▼ 37.30% |
images/newsett.png | 1.31KB | 1.28KB | ▼ 2.31% |
images/notification6.png | 1.91KB | 1.82KB | ▼ 5.01% |
images/bought.png | 0.76KB | 0.76KB | 0.00% |
images/notification4.png | 1.80KB | 1.72KB | ▼ 4.02% |