Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.84ms] Passed 4 tests
A check of server-side resources used by Cross Sell Product Display For Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.95 ▲1.20 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.29 ▼17.81 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.63 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.51 ▼7.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.97 ▲1.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_codextent-woo-cross-sells |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cross Sell Product Display For Woocommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.28 ▼0.07 | 1.60 ▼0.01 | 41.03 ▼4.68 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▲0.03 | 85.20 ▼11.93 | 41.26 ▼2.92 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.06 | 38.12 ▲1.58 | 32.98 ▼5.79 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.85 ▼0.39 | 663.11 ▼23.30 | 55.86 ▲6.59 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▼0.04 | 103.07 ▼1.58 | 48.07 ▲3.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_codextent-woo-cross-sells
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
8 plugin tags: cross-sell, woocommerce cross-sell, widgets, cross sell, woocommerce plugin...
cross-sell-product-display-for-woocommerce/cross-sell-product-display-for-woocommerce.php Passed 13 tests
"Cross Sell Product Display For Woocommerce" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
67 characters long description:
Woocommerce Cross Sell product display using Widgets and Shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin328 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 99 | 58 | 242 |
CSS | 2 | 4 | 1 | 85 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 4 | 44.44% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected