Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.73MB] [CPU: ▲7.85ms] Passed 4 tests
An overview of server-side resources used by Active Products Tables for WooCommerce. Professional products tables for WooCommerce store
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.13 ▲1.67 | 50.34 ▲13.07 |
Dashboard /wp-admin | 5.05 ▲1.75 | 55.58 ▲9.39 |
Posts /wp-admin/edit.php | 5.10 ▲1.74 | 60.58 ▲11.88 |
Add New Post /wp-admin/post-new.php | 7.63 ▲1.74 | 93.27 ▼1.56 |
Media Library /wp-admin/upload.php | 4.97 ▲1.74 | 44.64 ▲11.68 |
Server storage [IO: ▲4.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 135 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_woot_tables |
wp_woot_vocabulary |
wp_woot_tables_columns |
wp_woot_tables_meta |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
woot_db_ver |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Active Products Tables for WooCommerce. Professional products tables for WooCommerce store
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.58 ▼1.00 | 1.92 ▲0.38 | 38.08 ▼1.89 |
Dashboard /wp-admin | 2,214 ▲26 | 4.84 ▼1.22 | 95.83 ▼11.31 | 38.18 ▼7.12 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.05 ▲0.06 | 34.09 ▼6.39 | 33.41 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.32 ▼5.00 | 651.02 ▼38.01 | 51.98 ▼2.47 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.18 ▼0.03 | 93.13 ▼21.04 | 42.23 ▼3.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_woot_tables_columns
- wp_woot_tables
- wp_woot_tables_meta
- wp_woot_vocabulary
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- woot_db_ver
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 9× PHP files output text when accessed directly:
- > /wp-content/plugins/profit-products-tables-for-woocommerce/views/table.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/profiles/woocommerce/views/woot_cart.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/install.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/lib/storage.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/profiles/woocommerce/views/reviews.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/views/options.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/views/set.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/views/gallery.php
- > /wp-content/plugins/profit-products-tables-for-woocommerce/views/popup.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/profit-products-tables-for-woocommerce/views/blank-template.php:10
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #3, #30, #31, #32, #33, #34, #35, #36, #37, #38, #39, #4, #40, #41, #5, #6, #7, #8, #9 in profit-products-tables-for-woocommerce/assets to your readme.txt
profit-products-tables-for-woocommerce/index.php 77% from 13 tests
The main PHP file in "Active Products Tables for WooCommerce. Professional products tables for WooCommerce store " ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 219 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("profit-products-tables-for-woocommerce.php" instead of "index.php")
- Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "WP 4.9")
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 plugin26,408 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 33 | 1,711 | 155 | 9,811 |
PHP | 40 | 2,068 | 1,960 | 8,514 |
JavaScript | 26 | 1,493 | 449 | 5,025 |
SVG | 6 | 15 | 1 | 1,988 |
PO File | 1 | 421 | 447 | 1,070 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 44.81 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 326.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 1 | 3.85% |
▷ Concrete classes | 25 | 96.15% |
▷ Final classes | 11 | 44.00% |
Methods | 214 | |
▷ Static methods | 22 | 10.28% |
▷ Public methods | 187 | 87.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 27 | 12.62% |
Functions | 195 | |
▷ Named functions | 3 | 1.54% |
▷ Anonymous functions | 192 | 98.46% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 compressed PNG files occupy 0.76MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/banners/woot-banner.png | 60.93KB | 61.24KB | 0.00% |
assets/img/banners/wpbe-banner.png | 38.71KB | 38.79KB | 0.00% |
assets/img/banners/woobe-banner.png | 46.74KB | 46.76KB | 0.00% |
assets/img/move.png | 1.70KB | 1.67KB | ▼ 2.01% |
assets/img/download.png | 1.18KB | 0.59KB | ▼ 49.71% |