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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲7.07MB] [CPU: ▲48.83ms] 50% from 4 tests
This is a short check of server-side resources used by WordPress Editable Posts Table for the Frontend
Please fix the following
- RAM: Try to keep total memory usage under 10MB (currently 10.56MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: Extra memory usage should kept under 5MB (currently 7.07MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.49 ▲7.02 | 97.27 ▲56.51 |
Dashboard /wp-admin | 10.45 ▲7.10 | 108.48 ▲42.93 |
Posts /wp-admin/edit.php | 10.50 ▲7.14 | 106.17 ▲58.67 |
Add New Post /wp-admin/post-new.php | 12.97 ▲7.08 | 129.83 ▲37.21 |
Media Library /wp-admin/upload.php | 10.31 ▲7.08 | 94.47 ▲59.71 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 10.41 | 93.30 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 10.56 | 81.43 |
Server storage [IO: ▲17.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 395 new files
Database: no new tables, 13 new options
New WordPress options |
---|
vgse_columns_visibility |
db_upgraded |
widget_theysaidso_widget |
fs_debug_mode |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
fs_active_plugins |
vgse_columns_visibility_migrated |
fs_accounts |
... |
Browser metrics Passed 4 tests
WordPress Editable Posts Table for the Frontend: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲209 | 14.43 ▲0.06 | 2.06 ▲0.07 | 34.31 ▼10.21 |
Dashboard /wp-admin | 2,346 ▲172 | 5.61 ▼0.06 | 98.59 ▼3.01 | 82.51 ▲35.96 |
Posts /wp-admin/edit.php | 2,160 ▲63 | 1.98 ▲0.03 | 39.76 ▲3.53 | 37.86 ▲2.90 |
Add New Post /wp-admin/post-new.php | 1,577 ▲51 | 21.76 ▼1.49 | 705.01 ▲50.85 | 53.59 ▲9.09 |
Media Library /wp-admin/upload.php | 1,450 ▲53 | 4.08 ▼0.09 | 102.13 ▼0.38 | 78.47 ▲34.15 |
Settings /wp-admin/admin.php?page=vg_sheet_editor | 2,185 | 5.82 | 163.15 | 67.07 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,121 | 1.82 | 24.28 | 27.29 |
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
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/bulk-edit-posts-on-frontend/vendor/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 12 options in the database
- widget_theysaidso_widget
- vgse_columns_visibility
- theysaidso_admin_options
- db_upgraded
- fs_accounts
- vgsefe_welcome_redirect
- can_compress_scripts
- vg_sheet_editor
- widget_recent-posts
- fs_debug_mode
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bulk-edit-posts-on-frontend/views/backend/metabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-posts-on-frontend/modules/wp-sheet-editor/inc/integrations/elementor.php:107
- > PHP Fatal error
Uncaught Error: Call to undefined function VGSE() in wp-content/plugins/bulk-edit-posts-on-frontend/modules/wp-sheet-editor/views/whats-new/2.6.0.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-edit-posts-on-frontend/integrations/wcfm/views/metabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/bulk-edit-posts-on-frontend/vendor/vg-plugin-sdk/views/page-template.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_queried_object() in wp-content/plugins/bulk-edit-posts-on-frontend/views/frontend/page-template-iframe.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_queried_object() in wp-content/plugins/bulk-edit-posts-on-frontend/views/frontend/page-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-posts-on-frontend/integrations/wcmp/wcmp.php:139
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-posts-on-frontend/integrations/wcfm/wcfm.php:151
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-posts-on-frontend/integrations/dokan/dokan.php:139
- > 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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: frontend dashboard, anonymous post, guest author, guest post, frontend post
bulk-edit-posts-on-frontend/frontend-editor.php 77% from 13 tests
The main PHP file in "WordPress Editable Posts Table for the Frontend" ver. 2.4.31 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("bulk-edit-posts-on-frontend.php" instead of "frontend-editor.php")
- Requires at least: The required version number must 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
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
Everything looks great! No dangerous files found in this plugin183,622 lines of code in 265 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 27 | 19,289 | 28,176 | 64,757 |
JavaScript | 14 | 15,532 | 18,560 | 54,407 |
PHP | 196 | 10,713 | 18,942 | 50,259 |
CSS | 21 | 1,570 | 537 | 11,025 |
SVG | 4 | 0 | 0 | 2,691 |
Markdown | 1 | 211 | 0 | 429 |
JSON | 1 | 0 | 0 | 38 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
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.30 |
▷ 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 | 95 | |
▷ Abstract classes | 3 | 3.16% |
▷ Concrete classes | 92 | 96.84% |
▷ Final classes | 0 | 0.00% |
Methods | 2,024 | |
▷ Static methods | 243 | 12.01% |
▷ Public methods | 1,591 | 78.61% |
▷ Protected methods | 17 | 0.84% |
▷ Private methods | 416 | 20.55% |
Functions | 134 | |
▷ Named functions | 131 | 97.76% |
▷ Anonymous functions | 3 | 2.24% |
Constants | 158 | |
▷ Global constants | 111 | 70.25% |
▷ Class constants | 47 | 29.75% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.22MB with 0.07MB 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-checked.png | 0.31KB | 0.32KB | 0.00% |
modules/wp-sheet-editor/assets/imgs/logo-248x102.png | 14.09KB | 5.48KB | ▼ 61.08% |
assets/imgs/logo-248x102.png | 14.09KB | 5.48KB | ▼ 61.08% |
modules/wp-sheet-editor/assets/vendor/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
vendor/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |