Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲6.65MB] [CPU: ▲48.64ms] 50% from 4 tests
This is a short check of server-side resources used by Bulk Edit Posts and Products in Spreadsheet
It is recommended to improve the following
- RAM: Try to keep total memory usage under 10MB (currently 10.20MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: The extra memory usage should kept under 5MB (currently 6.65MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.88 ▲6.42 | 82.77 ▲43.36 |
Dashboard /wp-admin | 10.03 ▲6.73 | 107.26 ▲54.34 |
Posts /wp-admin/edit.php | 10.08 ▲6.72 | 111.31 ▲65.25 |
Add New Post /wp-admin/post-new.php | 12.61 ▲6.72 | 146.07 ▲34.61 |
Media Library /wp-admin/upload.php | 9.96 ▲6.72 | 98.87 ▲62.23 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 10.08 | 98.85 |
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-post | 9.72 | 71.52 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 10.20 | 80.33 |
Server storage [IO: ▲17.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 362 new files
Database: no new tables, 15 new options
New WordPress options |
---|
vg_sheet_editor |
fs_debug_mode |
widget_theysaidso_widget |
vgse_can_edit_cpt_free |
vgse_columns_visibility_migrated |
vgse_hide_whats_new_2.25.7 |
fs_active_plugins |
vgse_columns_visibility |
widget_recent-comments |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Bulk Edit Posts and Products in Spreadsheet: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲201 | 14.35 ▲0.00 | 1.69 ▼0.03 | 28.74 ▼15.99 |
Dashboard /wp-admin | 2,353 ▲176 | 5.63 ▲0.02 | 96.13 ▲1.42 | 82.79 ▲40.53 |
Posts /wp-admin/edit.php | 2,169 ▲66 | 1.98 ▼0.03 | 36.31 ▼4.17 | 35.49 ▼1.57 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 21.82 ▼1.34 | 780.45 ▲87.91 | 60.88 ▲1.64 |
Media Library /wp-admin/upload.php | 1,454 ▲63 | 4.20 ▼0.02 | 97.61 ▼2.52 | 75.29 ▲31.66 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 2,149 | 5.82 | 171.52 | 65.01 |
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-post | 28 | 0.42 | 0.07 | 4.33 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,115 | 1.82 | 26.22 | 30.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wp-sheet-editor-bulk-spreadsheet-editor-for-posts-and-pages/vendor/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 12 options
- widget_recent-comments
- fs_accounts
- fs_debug_mode
- fs_active_plugins
- vg_sheet_editor
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- vgse_columns_visibility
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sheet-editor-bulk-spreadsheet-editor-for-posts-and-pages/modules/wp-sheet-editor/inc/integrations/visual-composer.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sheet-editor-bulk-spreadsheet-editor-for-posts-and-pages/modules/wp-sheet-editor/inc/integrations/elementor.php:107
- > PHP Fatal error
Uncaught Error: Call to undefined function VGSE() in wp-content/plugins/wp-sheet-editor-bulk-spreadsheet-editor-for-posts-and-pages/modules/wp-sheet-editor/views/whats-new/2.6.0.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=vgse-bulk-edit-post
- > Network (severe)
wp-admin/admin.php?page=vgse-bulk-edit-post - Failed to load resource: the server responded with a status of 403 (Forbidden)
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: spreadsheet, woocommerce, easy digital downloads, bulk edit, events
wp-sheet-editor-bulk-spreadsheet-editor-for-posts-and-pages/wp-sheet-editor.php 77% from 13 tests
Analyzing the main PHP file in "Bulk Edit Posts and Products in Spreadsheet" version 2.25.7
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-sheet-editor-bulk-spreadsheet-editor-for-posts-and-pages.php" instead of "wp-sheet-editor.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.6" instead of "3.0")
Code Analysis 97% from 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 plugin177,113 lines of code in 239 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 26 | 18,629 | 27,369 | 64,278 |
JavaScript | 12 | 15,528 | 18,555 | 54,363 |
PHP | 178 | 10,320 | 18,805 | 47,633 |
CSS | 17 | 911 | 339 | 7,678 |
SVG | 3 | 0 | 0 | 2,674 |
Markdown | 1 | 211 | 0 | 429 |
JSON | 1 | 0 | 0 | 42 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 74.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 90 | |
▷ Abstract classes | 3 | 3.33% |
▷ Concrete classes | 87 | 96.67% |
▷ Final classes | 0 | 0.00% |
Methods | 1,933 | |
▷ Static methods | 240 | 12.42% |
▷ Public methods | 1,503 | 77.75% |
▷ Protected methods | 17 | 0.88% |
▷ Private methods | 413 | 21.37% |
Functions | 130 | |
▷ Named functions | 126 | 96.92% |
▷ Anonymous functions | 4 | 3.08% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.09MB with 0.03MB 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% |
modules/wp-sheet-editor/assets/imgs/freemius-icon.png | 12.54KB | 6.09KB | ▼ 51.47% |
modules/wp-sheet-editor/assets/vendor/images/input-unchecked.png | 0.15KB | 0.15KB | 0.00% |
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% |