Benchmarks
Plugin footprint 83% 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.16MB] [CPU: ▼3.54ms] Passed 4 tests
This is a short check of server-side resources used by Product Table for WooCommerce by CodeAstrology (wooproducttable.com)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.29 ▼2.22 |
Dashboard /wp-admin | 3.46 ▲0.16 | 45.97 ▼3.66 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.20 ▲5.94 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.17 | 91.07 ▼9.22 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.74 ▲0.94 |
Server storage [IO: ▲6.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 338 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wpt_configure_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Product Table for WooCommerce by CodeAstrology (wooproducttable.com)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲52 | 14.04 ▼0.17 | 1.83 ▲0.10 | 23.09 ▼20.42 |
Dashboard /wp-admin | 2,222 ▲45 | 5.64 ▼0.01 | 94.41 ▲1.45 | 46.32 ▼0.67 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.12 ▲0.14 | 41.26 ▲1.80 | 40.46 ▲4.03 |
Add New Post /wp-admin/post-new.php | 1,550 ▲15 | 23.37 ▼1.74 | 674.22 ▲30.69 | 57.83 ▼4.25 |
Media Library /wp-admin/upload.php | 1,427 ▲33 | 4.19 ▼0.07 | 102.09 ▲4.25 | 45.82 ▲3.46 |
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 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- wpt_configure_options
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/woo-product-table/index.php
- > /wp-content/plugins/woo-product-table/admin/page/tutorials.php
- > /wp-content/plugins/woo-product-table/admin/page/addons-list.php
- > /wp-content/plugins/woo-product-table/woo-product-table.php
- > /wp-content/plugins/woo-product-table/includes/items/default.php
- > /wp-content/plugins/woo-product-table/admin/tabs/conditions.php
- 153× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/woo-product-table/admin/tabs/mobile.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/woo-product-table/includes/items/length.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/woo-product-table/includes/items/sku.php:2
- > PHP Notice
Undefined variable: data in wp-content/plugins/woo-product-table/includes/items/check.php on line 7
- > PHP Notice
Undefined variable: table_type in wp-content/plugins/woo-product-table/includes/items/action.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/woo-product-table/includes/items/quoterequest.php:48
- > PHP Fatal error
Uncaught Error: Class 'WOO_PRODUCT_TABLE\\Inc\\Shortcode_Ajax' not found in wp-content/plugins/woo-product-table/inc/handle/add-to-cart.php:7
- > PHP Fatal error
Uncaught Error: Class 'CA_Framework\\Form\\Inc\\Form_Base' not found in wp-content/plugins/woo-product-table/framework/ca-framework/form/form.php:9
- > PHP Notice
Undefined variable: product in wp-content/plugins/woo-product-table/includes/items/stock.php on line 3
- > PHP Notice
Undefined variable: column_settings in wp-content/plugins/woo-product-table/includes/extra_items_manager.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #26 in woo-product-table/assets to your readme.txt
- Screenshots: Add images for these screenshots: #14 (Duplicate product table), #15 (Popup notification), #16 (Lots of popup notification), #17 (WooCommerce product table with instant search), #18 (WooCommerce default product image popup), #19 (WooCommerce default product image popup), #20 (Popup notification), #21 (WooCommerce product table with Mini Filter), #22 (Advanced Search Box), #23 (WooCommerce product table with Mini Cart)
woo-product-table/woo-product-table.php 92% from 13 tests
The primary PHP file in "Product Table for WooCommerce by CodeAstrology (wooproducttable.com)" version 3.4.5 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 251 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected86,762 lines of code in 224 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 7,362 | 12,105 | 33,587 |
PO File | 21 | 12,201 | 12,772 | 27,599 |
PHP | 144 | 3,038 | 5,275 | 13,543 |
CSS | 35 | 1,194 | 742 | 10,486 |
HTML | 2 | 15 | 1 | 730 |
JSON | 2 | 0 | 0 | 479 |
Markdown | 2 | 39 | 0 | 210 |
SVG | 2 | 77 | 0 | 127 |
YAML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 57 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 292 | |
▷ Static methods | 61 | 20.89% |
▷ Public methods | 246 | 84.25% |
▷ Protected methods | 23 | 7.88% |
▷ Private methods | 23 | 7.88% |
Functions | 146 | |
▷ Named functions | 137 | 93.84% |
▷ Anonymous functions | 9 | 6.16% |
Constants | 26 | |
▷ Global constants | 15 | 57.69% |
▷ Class constants | 11 | 42.31% |
▷ Public constants | 11 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
76 PNG files occupy 0.88MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pro-features/design_body.png | 16.30KB | 9.24KB | ▼ 43.30% |
assets/images/pro-features/pro_columns.png | 36.43KB | 18.21KB | ▼ 50.01% |
assets/images/move_color.png | 0.35KB | 0.30KB | ▼ 15.32% |
assets/images/pro-features/pf_custom_field_filter.png | 19.99KB | 10.48KB | ▼ 47.54% |
assets/images/pro-features/design_search_box.png | 13.47KB | 7.90KB | ▼ 41.34% |