Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼140.60ms] 75% from 4 tests
An overview of server-side resources used by Variation Table For Woocommerce
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 7,627.95ms on /wp-admin/admin.php?page=woo_pv_kit)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▲0.31 | 38.79 ▲19.78 |
Dashboard /wp-admin | 3.26 ▲0.20 | 48.88 ▲5.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.26 | 43.61 ▼2.14 |
Add New Post /wp-admin/post-new.php | 5.62 ▲0.18 | 93.86 ▼561.85 |
Media Library /wp-admin/upload.php | 3.20 ▲0.19 | 37.27 ▼3.58 |
Woo Variations Table /wp-admin/admin.php?page=woopv | 3.17 | 30.91 |
Essential Kit /wp-admin/admin.php?page=woo_pv_kit | 3.39 | 7,627.95 |
Server storage [IO: ▲0.29MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Variation Table For Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲187 | 16.32 ▲0.65 | 12.48 ▲2.21 | 46.94 ▼9.86 |
Dashboard /wp-admin | 3,036 ▲105 | 6.64 ▲0.69 | 145.16 ▲1.09 | 115.73 ▲4.11 |
Posts /wp-admin/edit.php | 2,811 ▲72 | 2.85 ▼0.00 | 67.91 ▲1.98 | 109.19 ▲19.28 |
Add New Post /wp-admin/post-new.php | 1,665 ▼18 | 21.73 ▲3.25 | 271.65 ▼95.69 | 135.49 ▲31.42 |
Media Library /wp-admin/upload.php | 1,879 ▲72 | 5.46 ▲0.44 | 132.87 ▼54.47 | 119.07 ▼28.91 |
Woo Variations Table /wp-admin/admin.php?page=woopv | 2,257 | 3.50 | 98.12 | 131.97 |
Essential Kit /wp-admin/admin.php?page=woo_pv_kit | 2,508 | 2.66 | 55.53 | 106.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/variation-table-for-woocommerce/variable-table-for-woocommerce.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woopv
- > Console-api (warning) in wp-admin/js/common.min.js?ver=5.8.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woopv
- > Console-api (warning) in wp-admin/js/common.min.js?ver=5.8.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woopv
- > Console-api (warning) in wp-admin/js/common.min.js?ver=5.8.1+1:283
wpColorPickerL10n.defaultString is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woopv
- > Console-api (warning) in wp-admin/js/common.min.js?ver=5.8.1+1:283
wpColorPickerL10n.defaultAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
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
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in variation-table-for-woocommerce/assets to your readme.txt
- Contributors: Plugin contributors not specified
variation-table-for-woocommerce/variable-table-for-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "Variation Table For Woocommerce" version 1.0
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("variation-table-for-woocommerce.php" instead of "variable-table-for-woocommerce.php")
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
Everything looks great! No dangerous files found in this plugin1,998 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 263 | 18 | 1,145 |
JavaScript | 5 | 74 | 181 | 565 |
CSS | 5 | 13 | 13 | 286 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 23.17 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 5 | 14.29% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/images/review.png | 15.87KB | 11.90KB | ▼ 25.01% |
include/images/star.png | 39.75KB | 10.35KB | ▼ 73.95% |
include/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
include/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
include/images/right-arrow.png | 0.16KB | 0.19KB | 0.00% |