Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲6.82MB] [CPU: ▲42.05ms] 50% from 4 tests
A check of server-side resources used by WooCommerce Bulk Edit Coupons - WP Sheet Editor
Please have a look at the following items
- RAM: The total memory usage must be kept under 10MB (currently 10.14MB on /wp-admin/admin.php?page=vg_sheet_editor_extensions)
- Extra RAM: Try to keep extra memory usage under 5MB (currently 6.82MB on /wp-admin/admin.php?page=vg_sheet_editor_extensions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.10 ▲6.63 | 78.41 ▲37.60 |
Dashboard /wp-admin | 10.21 ▲6.86 | 98.78 ▲34.54 |
Posts /wp-admin/edit.php | 10.32 ▲6.96 | 103.59 ▲47.55 |
Add New Post /wp-admin/post-new.php | 12.79 ▲6.90 | 149.71 ▲48.51 |
Media Library /wp-admin/upload.php | 10.13 ▲6.90 | 93.03 ▲58.69 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 10.38 | 81.28 |
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup | 10.16 | 87.63 |
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-shop_coupon | 10.69 | 91.02 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 10.26 | 82.12 |
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions | 10.14 | 89.37 |
Server storage [IO: ▲16.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 376 new files
Database: no new tables, 14 new options
New WordPress options |
---|
fs_accounts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
vgse_columns_visibility_migrated |
fs_active_plugins |
vgse_columns_visibility |
vg_sheet_editor |
wpsewcc_welcome_redirect |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Bulk Edit Coupons - WP Sheet Editor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲215 | 14.40 ▲0.05 | 1.71 ▼0.22 | 30.30 ▼13.67 |
Dashboard /wp-admin | 2,380 ▲203 | 5.60 ▼0.09 | 91.28 ▼1.95 | 79.13 ▲41.37 |
Posts /wp-admin/edit.php | 2,191 ▲88 | 1.97 ▼0.06 | 40.30 ▼2.38 | 38.00 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,747 ▲219 | 21.25 ▼1.74 | 713.36 ▲15.87 | 45.33 ▼6.60 |
Media Library /wp-admin/upload.php | 1,481 ▲81 | 4.18 ▲0.03 | 96.22 ▼8.97 | 73.67 ▲26.70 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,145 | 1.69 | 26.99 | 31.14 |
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup | 2,101 | 6.02 | 155.94 | 85.22 |
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-shop_coupon | 805 | 3.91 | 114.14 | 21.29 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 2,181 | 5.56 | 68.06 | 64.65 |
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions | 1,969 | 5.68 | 68.23 | 80.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/woo-coupons-bulk-editor/vendor/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 12 options in the database
- theysaidso_admin_options
- widget_recent-comments
- fs_debug_mode
- wpsewcc_welcome_redirect
- widget_theysaidso_widget
- fs_accounts
- fs_active_plugins
- vg_sheet_editor
- vgse_columns_visibility
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/woo-coupons-bulk-editor/vendor/vg-plugin-sdk/views/page-template.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function VGSE() in wp-content/plugins/woo-coupons-bulk-editor/modules/wp-sheet-editor/views/whats-new/2.6.0.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-coupons-bulk-editor/modules/wp-sheet-editor/inc/integrations/visual-composer.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woo-coupons-bulk-editor/vendor/vg-plugin-sdk/samples/email-optin-form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woo-coupons-bulk-editor/vendor/vg-plugin-sdk/views/settings-form.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-coupons-bulk-editor/modules/wp-sheet-editor/inc/integrations/elementor.php:107
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/woo-coupons-bulk-editor/vendor/vg-plugin-sdk/views/settings-page.php:2
- > 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 Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: woocommerce, coupons, spreadsheet, bulk edit, wp sheet editor
woo-coupons-bulk-editor/coupons.php 77% from 13 tests
Analyzing the main PHP file in "WooCommerce Bulk Edit Coupons - WP Sheet Editor" version 1.3.44
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "3.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-coupons-bulk-editor.php" instead of "coupons.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin178,468 lines of code in 258 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 35 | 18,849 | 27,592 | 63,466 |
JavaScript | 12 | 15,528 | 18,555 | 54,363 |
PHP | 186 | 10,534 | 18,859 | 49,745 |
CSS | 18 | 917 | 339 | 7,726 |
SVG | 4 | 0 | 0 | 2,691 |
Markdown | 1 | 211 | 0 | 429 |
JSON | 1 | 0 | 0 | 32 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 74.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 93 | |
▷ Abstract classes | 3 | 3.23% |
▷ Concrete classes | 90 | 96.77% |
▷ Final classes | 0 | 0.00% |
Methods | 1,989 | |
▷ Static methods | 240 | 12.07% |
▷ Public methods | 1,559 | 78.38% |
▷ Protected methods | 17 | 0.85% |
▷ Private methods | 413 | 20.76% |
Functions | 131 | |
▷ Named functions | 127 | 96.95% |
▷ Anonymous functions | 4 | 3.05% |
Constants | 154 | |
▷ Global constants | 107 | 69.48% |
▷ Class constants | 47 | 30.52% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.15MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/wp-sheet-editor/assets/vendor/images/input-unchecked.png | 0.15KB | 0.15KB | 0.00% |
vendor/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
modules/wp-sheet-editor/assets/imgs/icon-20x20.png | 45.33KB | 0.51KB | ▼ 98.88% |
modules/wp-sheet-editor/assets/vendor/images/input-checked.png | 0.31KB | 0.32KB | 0.00% |
assets/imgs/logo-248x102.png | 14.09KB | 5.48KB | ▼ 61.08% |