Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/express-shop/qcld-express-main.php+248
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.75ms] Passed 4 tests
Server-side resources used by Express Shop
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.11 ▼0.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.81 ▼2.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.08 ▼5.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.86 ▼17.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.13 ▼2.08 |
Addons /wp-admin/admin.php?page=qcld-express-wholesale-addon | 3.00 | 23.43 |
Settings /wp-admin/admin.php?page=qcld-express-options | 3.00 | 24.19 |
Opening Hours /wp-admin/admin.php?page=express-shop | 3.00 | 21.45 |
Support /wp-admin/admin.php?page=qcpro-promo-page-express-shop | 3.00 | 22.31 |
Server storage [IO: ▲6.99MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 185 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
qcld_express_options |
can_compress_scripts |
option_tree |
widget_recent-comments |
option_tree_settings |
widget_recent-posts |
db_upgraded |
ot_media_post_ID |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Express Shop
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 13.26 ▼1.27 | 1.78 ▲0.13 | 31.39 ▼8.35 |
Dashboard /wp-admin | 2,195 ▲14 | 5.55 ▼0.12 | 83.46 ▼16.91 | 40.40 ▼2.79 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.05 | 35.38 ▼3.10 | 33.33 ▼3.71 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.10 ▼0.32 | 657.37 ▼37.64 | 51.87 ▼2.70 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▲0.02 | 95.12 ▼4.58 | 42.91 ▼3.44 |
Addons /wp-admin/admin.php?page=qcld-express-wholesale-addon | 28 | 0.42 | 0.10 | 3.75 |
Settings /wp-admin/admin.php?page=qcld-express-options | 28 | 0.42 | 0.06 | 4.18 |
Opening Hours /wp-admin/admin.php?page=express-shop | 28 | 0.42 | 0.08 | 4.22 |
Support /wp-admin/admin.php?page=qcpro-promo-page-express-shop | 28 | 0.42 | 0.06 | 3.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- ot_media_post_ID
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- qcld_express_options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- option_tree
- option_tree_settings
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 17× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/express-shop/qcld-express-min-max-qty.php
- > /wp-content/plugins/express-shop/qcld-express-ajax.php
- > /wp-content/plugins/express-shop/inc/option-tree/includes/ot-functions.php
- > /wp-content/plugins/express-shop/inc/option-tree/includes/ot-functions-docs-page.php
- > /wp-content/plugins/express-shop/inc/option-tree/includes/class-ot-cleanup.php
- > /wp-content/plugins/express-shop/qcld-express-dynamic-discount-price.php
- > /wp-content/plugins/express-shop/inc/option-tree/includes/class-ot-post-formats.php
- > /wp-content/plugins/express-shop/inc/option-tree/includes/ot-functions-admin.php
- > /wp-content/plugins/express-shop/inc/option-tree/includes/ot-functions-option-types.php
- > /wp-content/plugins/express-shop/inc/option-tree/includes/ot-functions-settings-page.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: qcld_express_show_mode in wp-content/plugins/express-shop/templates/qcld-express-modal.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/express-shop/qcld-express-assets.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/express-shop/inc/option-tree/assets/theme-mode/demo-theme-options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/express-shop/qcld-express-framework.php:6
- > PHP Notice
Undefined variable: qcld_express_show_mode in wp-content/plugins/express-shop/templates/qcld-express-modal.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/express-shop/class-qcld-free-plugin-upgrade-notice.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/express-shop/templates/basic/template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/express-shop/inc/option-tree/assets/theme-mode/demo-meta-boxes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/express-shop/qc-support-promo-page/class-qc-support-promo-page.php:8
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=qcld-express-wholesale-addon
- > Network (severe)
wp-admin/admin.php?page=qcld-express-wholesale-addon - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=qcld-express-options
- > Network (severe)
wp-admin/admin.php?page=qcld-express-options - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=express-shop
- > Network (severe)
wp-admin/admin.php?page=express-shop - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=qcpro-promo-page-express-shop
- > Network (severe)
wp-admin/admin.php?page=qcpro-promo-page-express-shop - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: product table, music store, woocommerce, woocommerce category list, woocommerce product table...
express-shop/qcld-express-main.php 85% from 13 tests
"Express Shop" version 4.1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "4.0 or higher")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("express-shop.php" instead of "qcld-express-main.php")
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 plugin39,951 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 623 | 455 | 19,252 |
PHP | 30 | 3,986 | 4,394 | 12,927 |
JavaScript | 14 | 1,290 | 255 | 3,955 |
SVG | 5 | 0 | 0 | 3,753 |
JSON | 1 | 0 | 0 | 64 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 45.25 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 5.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 2 | 2.60% |
▷ Public methods | 71 | 92.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 7.79% |
Functions | 232 | |
▷ Named functions | 227 | 97.84% |
▷ Anonymous functions | 5 | 2.16% |
Constants | 29 | |
▷ Global constants | 29 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
72 PNG files occupy 1.71MB with 1.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
qc-support-promo-page/images/icon-pack/service-08.png | 2.54KB | 1.42KB | ▼ 44.28% |
qc-support-promo-page/images/icon.png | 31.48KB | 11.39KB | ▼ 63.81% |
qc-support-promo-page/images/premium-theme-simple-blog.png | 72.36KB | 21.20KB | ▼ 70.70% |
inc/option-tree/assets/images/layout/dual-sidebar.png | 3.88KB | 2.09KB | ▼ 46.20% |
inc/option-tree/assets/images/ot-select.png | 1.03KB | 0.14KB | ▼ 86.03% |