Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.46MB] [CPU: ▲44.92ms] 75% from 4 tests
Server-side resources used by WooCommerce Customers Table: View, Search, Bulk Editor
Please fix the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.46MB on /wp-admin/admin.php?page=vg_sheet_editor_setup)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.68 ▲5.22 | 87.57 ▲46.23 |
Dashboard /wp-admin | 8.89 ▲5.58 | 129.51 ▲76.56 |
Posts /wp-admin/edit.php | 8.94 ▲5.58 | 94.54 ▲42.13 |
Add New Post /wp-admin/post-new.php | 11.40 ▲5.52 | 152.78 ▲29.58 |
Media Library /wp-admin/upload.php | 8.74 ▲5.52 | 96.48 ▲61.73 |
Bulk Edit Users /wp-admin/admin.php?page=wpseu_welcome_page | 9.00 | 85.55 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.98 | 85.06 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 8.84 | 88.28 |
Edit Users /wp-admin/admin.php?page=vgse-bulk-edit-user | 9.05 | 98.64 |
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions | 8.78 | 83.15 |
Bulk Edit Users /wp-admin/admin.php?page=wpseu_whats_new | 8.73 | 75.37 |
Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_whats_new | 8.77 | 110.81 |
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup | 8.80 | 94.15 |
Server storage [IO: ▲15.26MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 363 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_recent-posts |
vg_sheet_editor |
vgse_disable_quick_setup |
theysaidso_admin_options |
fs_gdpr |
vgse_user_path |
can_compress_scripts |
vgse_columns_visibility_migrated |
vgse_columns_visibility |
wpseu_welcome_redirect |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Customers Table: View, Search, Bulk Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲200 | 13.32 ▲0.08 | 2.27 ▲0.16 | 30.50 ▼10.73 |
Dashboard /wp-admin | 2,355 ▲149 | 4.87 ▼0.00 | 99.35 ▼9.44 | 84.78 ▲44.75 |
Posts /wp-admin/edit.php | 2,166 ▲77 | 2.01 ▲0.02 | 39.74 ▲4.37 | 37.70 ▲4.94 |
Add New Post /wp-admin/post-new.php | 1,414 ▼124 | 17.71 ▼5.44 | 889.67 ▲235.38 | 52.87 ▼14.59 |
Media Library /wp-admin/upload.php | 1,459 ▲68 | 4.21 ▼0.10 | 97.30 ▲3.68 | 79.22 ▲35.53 |
Bulk Edit Users /wp-admin/admin.php?page=wpseu_welcome_page | 1,039 | 2.04 | 27.32 | 56.79 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,109 | 1.68 | 28.29 | 25.20 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 1,928 | 5.79 | 166.62 | 71.75 |
Edit Users /wp-admin/admin.php?page=vgse-bulk-edit-user | 4,740 | 9.06 | 323.19 | 93.13 |
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions | 1,895 | 5.59 | 68.57 | 83.93 |
Bulk Edit Users /wp-admin/admin.php?page=wpseu_whats_new | 895 | 2.13 | 25.16 | 29.13 |
Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_whats_new | 1,903 | 5.46 | 70.29 | 68.22 |
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup | 2,034 | 5.45 | 77.61 | 82.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/vendor/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 13 options in the database
- wpseu_welcome_redirect
- can_compress_scripts
- fs_active_plugins
- fs_gdpr
- widget_recent-posts
- widget_theysaidso_widget
- vg_sheet_editor
- vgse_columns_visibility
- fs_accounts
- fs_debug_mode
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=wpseu_whats_new
- > Warning in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/vg-plugin-sdk/index.php+180
include(wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/views/whats-new/1.3.4.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=wpseu_whats_new
- > Warning in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/vg-plugin-sdk/index.php+180
include(): Failed opening 'wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/views/whats-new/1.3.4.php' for inclusion (include_path='.:/usr/share/php')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vg_sheet_editor_whats_new
- > Notice in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/whats-new.php+25
Undefined variable: items
- > GET request to /wp-admin/admin.php?page=vg_sheet_editor_whats_new
- > Warning in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/whats-new.php+24
include(wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/whats-new/2.24.12.1.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=vg_sheet_editor_whats_new
- > Warning in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/whats-new.php+24
include(): Failed opening 'wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/whats-new/2.24.12.1.php' for inclusion (include_path='.:/usr/share/php')
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/single-extension.php
- 71× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: extension in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/single-extension.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WP_Sheet_Editor_Bootstrap' not found in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/inc/spreadsheet-bootstrap.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/extensions-page.php:5
- > PHP Notice
Undefined variable: extension in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/single-extension.php on line 18
- > PHP Notice
Undefined variable: random_id in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/columns-visibility/views/form.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/editor-metabox-modal.php:77
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/inc/teasers/coupons.php:94
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/single-extension.php on line 10
- > PHP Notice
Trying to get property 'key' of non-object in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/editor-metabox-modal.php on line 72
- > PHP Fatal error
Uncaught Error: Call to undefined function WPSE_Options_Page_Obj() in wp-content/plugins/woo-customers-spreadsheet-bulk-edit/vendor/wp-sheet-editor-users/modules/wp-sheet-editor/views/advanced-settings-modal.php:5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: bulk edit, spreadsheet, woocommerce, wp sheet editor, customers
woo-customers-spreadsheet-bulk-edit/woocommerce-customers.php 92% from 13 tests
The main PHP script in "WooCommerce Customers Table: View, Search, Bulk Editor" version 1.0.8 is automatically included on every request by WordPress
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 ("woo-customers-spreadsheet-bulk-edit.php" instead of "woocommerce-customers.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected168,340 lines of code in 250 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 37 | 18,395 | 25,295 | 59,599 |
JavaScript | 13 | 15,324 | 18,521 | 53,617 |
PHP | 179 | 9,748 | 17,425 | 44,831 |
CSS | 17 | 760 | 322 | 7,154 |
SVG | 1 | 0 | 0 | 2,672 |
Markdown | 1 | 211 | 0 | 429 |
JSON | 2 | 0 | 0 | 38 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 68.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 91 | |
▷ Abstract classes | 3 | 3.30% |
▷ Concrete classes | 88 | 96.70% |
▷ Final classes | 0 | 0.00% |
Methods | 1,839 | |
▷ Static methods | 209 | 11.36% |
▷ Public methods | 1,466 | 79.72% |
▷ Protected methods | 15 | 0.82% |
▷ Private methods | 358 | 19.47% |
Functions | 123 | |
▷ Named functions | 123 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 133 | |
▷ Global constants | 108 | 81.20% |
▷ Class constants | 25 | 18.80% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.15MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/wp-sheet-editor-users/vendor/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
vendor/wp-sheet-editor-users/modules/wp-sheet-editor/assets/imgs/freemius-icon.png | 12.54KB | 6.09KB | ▼ 51.47% |
vendor/wp-sheet-editor-users/modules/wp-sheet-editor/assets/vendor/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
vendor/wp-sheet-editor-users/modules/wp-sheet-editor/assets/imgs/logo-248x102.png | 14.09KB | 5.48KB | ▼ 61.08% |
vendor/wp-sheet-editor-users/assets/imgs/icon-20x20.png | 45.33KB | 0.51KB | ▼ 98.88% |