Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.21ms] Passed 4 tests
Server-side resources used by Tabbed Category Product Listing for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.09 ▼11.23 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.89 ▼1.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.43 ▼3.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.78 ▼0.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.99 ▼0.17 |
Support /wp-admin/admin.php?page=qcld_woo_tabbed_supports | 3.01 | 23.50 |
Woo Tabbed /wp-admin/admin.php?page=woo-tab | 3.01 | 23.94 |
Server storage [IO: ▲4.78MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 104 new files
Database: no new tables, 16 new options
New WordPress options |
---|
column_number |
qc_woo_tabbed_show_empty_category |
widget_theysaidso_widget |
theysaidso_admin_options |
qcld_orderby_product |
max_char_per_cat |
product_number |
can_compress_scripts |
order_product_by |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Tabbed Category Product Listing for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲55 | 14.12 ▼0.21 | 1.80 ▼0.37 | 28.52 ▼17.00 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▼0.06 | 95.74 ▼0.42 | 42.55 ▲0.05 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.02 ▲0.08 | 39.79 ▼1.19 | 36.51 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 25.20 ▲2.06 | 598.46 ▼13.37 | 64.49 ▲6.66 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.09 ▼0.09 | 96.45 ▼0.49 | 44.47 ▲2.55 |
Support /wp-admin/admin.php?page=qcld_woo_tabbed_supports | 28 | 0.41 | 0.12 | 3.82 |
Woo Tabbed /wp-admin/admin.php?page=woo-tab | 28 | 0.41 | 0.13 | 3.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 16 options in the database
- widget_theysaidso_widget
- qc_woo_tabbed_shortcode_preview
- order_product_by
- qc_woo_tabbed_show_empty_category_msg
- column_number
- db_upgraded
- qc_woo_tabbed_show_empty_category
- can_compress_scripts
- qcld_use_category_tab
- widget_recent-comments
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woo-tabbed-category-product-listing/woo-tabbed-dynamic-discount-price.php
- > /wp-content/plugins/woo-tabbed-category-product-listing/class-woo-tabbed-category-product-listing.php
- > /wp-content/plugins/woo-tabbed-category-product-listing/woo-tabbed-min-max-qty.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/woo-tabbed-category-product-listing/qc-support-promo-page/class-qc-support-promo-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/woo-tabbed-category-product-listing/class-qc-free-plugin-upgrade-notice.php:188
- > 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=qcld_woo_tabbed_supports
- > Network (severe)
wp-admin/admin.php?page=qcld_woo_tabbed_supports - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=woo-tab
- > Network (severe)
wp-admin/admin.php?page=woo-tab - 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: woocommerce, woocommerce product table, product table, woocommerce category tabs, woocommerce category list
woo-tabbed-category-product-listing/woo-tabbed-category-product-listing.php 85% from 13 tests
The principal PHP file in "Tabbed Category Product Listing for Woocommerce" v. 2.5.7 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "4.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected26,865 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 266 | 84 | 13,163 |
JavaScript | 10 | 2,455 | 617 | 9,324 |
SVG | 3 | 0 | 0 | 2,689 |
PHP | 7 | 569 | 223 | 1,689 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 19.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
45 PNG files occupy 1.48MB with 0.86MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
qc-support-promo-page/images/slider-hero-icon-256x256.png | 71.55KB | 20.25KB | ▼ 71.70% |
assets/images/wholesale-woocommerce-plugin.png | 16.67KB | 6.87KB | ▼ 58.81% |
qc-support-promo-page/images/icon-pack/service-06.png | 2.38KB | 1.13KB | ▼ 52.68% |
qc-support-promo-page/images/iList-icon-256x256.png | 12.99KB | 6.05KB | ▼ 53.44% |
qc-support-promo-page/images/directory-addons.png | 27.17KB | 12.07KB | ▼ 55.57% |