Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲6.83MB] [CPU: ▲50.52ms] 50% from 4 tests
Server-side resources used by Bulk Edit and Create User Profiles - WP Sheet Editor
Please have a look at the following items
- RAM: The total memory usage must be kept under 10MB (currently 10.17MB on /wp-admin/admin.php?page=vg_sheet_editor_setup)
- Extra RAM: The extra memory usage must be under 5MB (currently 6.83MB on /wp-admin/admin.php?page=vg_sheet_editor_setup)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.07 ▲6.61 | 87.69 ▲45.29 |
Dashboard /wp-admin | 10.22 ▲6.91 | 99.47 ▲51.23 |
Posts /wp-admin/edit.php | 10.33 ▲6.97 | 108.45 ▲60.51 |
Add New Post /wp-admin/post-new.php | 12.80 ▲6.91 | 135.34 ▲48.82 |
Media Library /wp-admin/upload.php | 10.14 ▲6.91 | 93.24 ▲56.72 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 10.27 | 85.63 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 10.39 | 77.19 |
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions | 10.15 | 86.14 |
Edit Users /wp-admin/admin.php?page=vgse-bulk-edit-user | 10.51 | 105.42 |
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup | 10.17 | 90.70 |
Server storage [IO: ▲16.96MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 353 new files
Database: no new tables, 14 new options
New WordPress options |
---|
fs_active_plugins |
widget_recent-comments |
vg_sheet_editor |
vgse_disable_quick_setup |
fs_accounts |
fs_debug_mode |
widget_theysaidso_widget |
vgse_columns_visibility_migrated |
theysaidso_admin_options |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Bulk Edit and Create User Profiles - WP Sheet Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲257 | 14.60 ▲0.04 | 1.86 ▲0.15 | 29.03 ▼21.28 |
Dashboard /wp-admin | 2,384 ▲209 | 5.65 ▲0.00 | 96.66 ▼7.91 | 87.56 ▲48.54 |
Posts /wp-admin/edit.php | 2,195 ▲95 | 1.97 ▼0.01 | 40.11 ▲1.93 | 38.76 ▲4.34 |
Add New Post /wp-admin/post-new.php | 1,607 ▲81 | 21.93 ▼1.28 | 706.19 ▲96.93 | 50.24 ▲1.45 |
Media Library /wp-admin/upload.php | 1,488 ▲88 | 4.26 ▲0.10 | 99.32 ▲3.69 | 73.58 ▲29.05 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 2,214 | 5.92 | 169.72 | 62.38 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,143 | 1.66 | 25.02 | 27.12 |
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions | 1,973 | 5.86 | 142.85 | 73.73 |
Edit Users /wp-admin/admin.php?page=vgse-bulk-edit-user | 4,916 | 8.43 | 245.40 | 73.66 |
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup | 2,108 | 5.69 | 74.65 | 84.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/bulk-edit-user-profiles-in-spreadsheet/vendor/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 12 options in the database
- wpseu_welcome_redirect
- vgse_columns_visibility
- fs_debug_mode
- db_upgraded
- widget_recent-comments
- fs_active_plugins
- widget_recent-posts
- theysaidso_admin_options
- fs_accounts
- can_compress_scripts
- ...
Smoke tests 75% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/bulk-edit-user-profiles-in-spreadsheet/vendor/vg-plugin-sdk/views/page-template.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-user-profiles-in-spreadsheet/modules/wp-sheet-editor/inc/integrations/visual-composer.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/bulk-edit-user-profiles-in-spreadsheet/vendor/vg-plugin-sdk/views/settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-user-profiles-in-spreadsheet/modules/wp-sheet-editor/inc/integrations/elementor.php:107
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bulk-edit-user-profiles-in-spreadsheet/vendor/vg-plugin-sdk/samples/email-optin-form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-edit-user-profiles-in-spreadsheet/vendor/vg-plugin-sdk/views/settings-form.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: users, bulk edit, buddypress, woocommerce, spreadsheet
bulk-edit-user-profiles-in-spreadsheet/users.php 77% from 13 tests
This is the main PHP file of "Bulk Edit and Create User Profiles - WP Sheet Editor" version 1.5.29, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "3.0")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bulk-edit-user-profiles-in-spreadsheet.php" instead of "users.php")
Code Analysis 97% from 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 plugin179,212 lines of code in 253 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 27 | 19,348 | 28,075 | 64,271 |
JavaScript | 13 | 15,531 | 18,556 | 54,375 |
PHP | 188 | 10,576 | 18,845 | 49,672 |
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
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 73.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 95 | |
▷ Abstract classes | 3 | 3.16% |
▷ Concrete classes | 92 | 96.84% |
▷ Final classes | 0 | 0.00% |
Methods | 2,015 | |
▷ Static methods | 242 | 12.01% |
▷ Public methods | 1,583 | 78.56% |
▷ Protected methods | 17 | 0.84% |
▷ Private methods | 415 | 20.60% |
Functions | 133 | |
▷ Named functions | 129 | 96.99% |
▷ Anonymous functions | 4 | 3.01% |
Constants | 156 | |
▷ Global constants | 109 | 69.87% |
▷ Class constants | 47 | 30.13% |
▷ Public constants | 47 | 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
11 PNG files occupy 0.15MB with 0.05MB 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/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/imgs/logo-248x102.png | 14.09KB | 5.48KB | ▼ 61.08% |
modules/wp-sheet-editor/assets/imgs/logo-248x102.png | 14.09KB | 5.48KB | ▼ 61.08% |
modules/wp-sheet-editor/assets/imgs/freemius-icon.png | 12.54KB | 6.09KB | ▼ 51.47% |
modules/wp-sheet-editor/assets/vendor/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |