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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼3.80ms] Passed 4 tests
A check of server-side resources used by Free Woocommerce Product Table View - Woo Table Pro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 41.35 ▲3.66 |
Dashboard /wp-admin | 3.53 ▲0.19 | 49.04 ▼9.23 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 46.98 ▲3.31 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 84.22 ▼9.77 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 35.95 ▲0.51 |
Woo Table Pro /wp-admin/admin.php?page=pfw_slug-pfw_tables | 3.52 | 36.30 |
Binary Carpenter /wp-admin/admin.php?page=bccomvn_wp_plugins_myn_menu | 3.42 | 29.40 |
Server storage [IO: ▲2.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Free Woocommerce Product Table View - Woo Table Pro
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲225 | 15.78 ▲1.21 | 26.71 ▲25.09 | 45.34 ▲5.50 |
Dashboard /wp-admin | 2,227 ▲56 | 5.59 ▲0.05 | 93.55 ▲4.78 | 42.62 ▲0.53 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.00 ▲0.04 | 32.14 ▼5.60 | 34.44 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,563 ▲27 | 17.89 ▼0.41 | 613.03 ▼18.90 | 55.13 ▼21.99 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.25 ▼0.01 | 95.86 ▼3.48 | 40.25 ▼4.61 |
Woo Table Pro /wp-admin/admin.php?page=pfw_slug-pfw_tables | 1,368 | 3.41 | 71.52 | 67.03 |
Binary Carpenter /wp-admin/admin.php?page=bccomvn_wp_plugins_myn_menu | 788 | 1.99 | 23.76 | 24.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/free-product-table-for-woocommerce/ui/main-ui.php:22
- > PHP Warning
require_once(ABSPATHwp-admin/includes/template.php): failed to open stream: No such file or directory in wp-content/plugins/free-product-table-for-woocommerce/inc/PFW_Product.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function BinaryCarpenter\\PFW\\add_shortcode() in wp-content/plugins/free-product-table-for-woocommerce/inc/shortcodes.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/free-product-table-for-woocommerce/ui/manage-tables.php:2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/template.php' (include_path='.:/usr/share/php') in wp-content/plugins/free-product-table-for-woocommerce/inc/PFW_Product.php on line 14
- > PHP Warning
Use of undefined constant PFW_IS_PRO - assumed 'PFW_IS_PRO' (this will throw an Error in a future version of PHP) in wp-content/plugins/free-product-table-for-woocommerce/ui/main-ui.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function BinaryCarpenter\\PFW\\add_shortcode() in wp-content/plugins/free-product-table-for-woocommerce/inc/shortcodes.php:13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/free-product-table-for-woocommerce/inc/PFW_Product.php on line 14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=pfw_slug-pfw_tables
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=pfw_slug-pfw_tables 364:3 Uncaught SyntaxError: Unexpected token '
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: product table, woocommerce product table, products table, woocommerce
free-product-table-for-woocommerce/index.php 92% from 13 tests
This is the main PHP file of "Free Woocommerce Product Table View - Woo Table Pro" version 1.78, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("free-product-table-for-woocommerce.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin7,090 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 749 | 837 | 3,120 |
SVG | 3 | 2 | 0 | 2,702 |
PHP | 15 | 382 | 173 | 1,174 |
HTML | 1 | 21 | 0 | 77 |
Sass | 2 | 0 | 0 | 10 |
Markdown | 1 | 0 | 0 | 5 |
CSS | 2 | 0 | 14 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 13 | 22.41% |
▷ Public methods | 56 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.45% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 15 | 100.00% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bundle/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
bundle/images/csv.png | 1.48KB | 1.57KB | 0.00% |
bundle/images/presets/preset-placeholder.png | 17.10KB | 1.62KB | ▼ 90.52% |
bundle/images/check-icon.png | 1.41KB | 1.36KB | ▼ 4.07% |
bundle/css/images/prev_button.png | 17.01KB | 1.70KB | ▼ 90.00% |