Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.37ms] Passed 4 tests
Server-side resources used by Bulk Edit Upsells and Cross-Sells for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.81 ▼4.28 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.99 ▼13.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.01 ▲1.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.01 ▼16.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.09 ▲1.14 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Bulk Edit Upsells and Cross-Sells for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.72 ▲0.82 | 1.70 ▼0.04 | 44.26 ▲0.10 |
Dashboard /wp-admin | 2,192 ▲15 | 5.62 ▼0.01 | 86.35 ▼17.22 | 36.34 ▼6.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.08 | 37.17 ▼2.86 | 36.11 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.28 ▲0.28 | 652.10 ▲28.81 | 47.90 ▼8.12 |
Media Library /wp-admin/upload.php | 1,391 ▼12 | 4.21 ▼0.02 | 98.99 ▼1.05 | 44.49 ▲1.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-upsells-and-cross-sells-for-woocommerce/includes/beucw-functions.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-upsells-and-cross-sells-for-woocommerce/includes/beucw-settings.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
bulk-edit-upsells-and-cross-sells-for-woocommerce/bulk-edit-upsells-and-cross-sells-for-woocommerce.php 92% from 13 tests
The main PHP file in "Bulk Edit Upsells and Cross-Sells for WooCommerce" ver. 2.0.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,273 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 44 | 39 | 646 |
PHP | 3 | 83 | 117 | 471 |
JavaScript | 3 | 40 | 8 | 156 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin