Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/deixto-recommender-for-woocommerce/public/deixto-recommender-public.php+17
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼49.95ms] Passed 4 tests
A check of server-side resources used by DEiXTo Recommender for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 9.76 ▼30.23 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.27 ▼41.30 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.55 ▼40.79 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.09 ▼87.46 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 7.35 ▼29.13 |
Product page /wp-admin/admin.php?page=deixto_recommender | 2.05 | 6.07 |
Shortcodes /wp-admin/admin.php?page=deixto_recommender_shortcodes | 2.05 | 6.76 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for DEiXTo Recommender for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 14.25 ▲0.03 | 19.96 ▲18.15 | 39.07 ▲1.07 |
Dashboard /wp-admin | 2,249 ▲60 | 5.81 ▲0.88 | 104.37 ▼16.80 | 40.91 ▼0.84 |
Posts /wp-admin/edit.php | 2,134 ▲42 | 2.01 ▼0.02 | 41.23 ▲3.46 | 36.53 ▲6.63 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.34 ▼0.06 | 667.58 ▲18.05 | 50.62 ▼7.45 |
Media Library /wp-admin/upload.php | 1,434 ▲49 | 4.26 ▲0.06 | 102.39 ▲1.59 | 44.41 ▲2.23 |
Product page /wp-admin/admin.php?page=deixto_recommender | 1,222 | 2.07 | 26.85 | 34.26 |
Shortcodes /wp-admin/admin.php?page=deixto_recommender_shortcodes | 1,138 | 2.21 | 26.05 | 33.40 |
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
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/deixto-recommender-for-woocommerce/public/deixto-recommender-public.php+17
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deixto_recommender_shortcodes
- > Notice in wp-content/plugins/deixto-recommender-for-woocommerce/public/deixto-recommender-public.php+240
Trying to access array offset on value of type bool
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deixto_recommender_shortcodes
- > Notice in wp-content/plugins/deixto-recommender-for-woocommerce/admin/deixto-recommender-admin.php+594
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/deixto-recommender-for-woocommerce/template-woocommerce-override.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/deixto-recommender-for-woocommerce/public/deixto-recommender-public.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/deixto-recommender-for-woocommerce/shortcode/deixto-recommender-shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/deixto-recommender-for-woocommerce/admin/deixto-recommender-admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Donate link: Invalid url: "-"
deixto-recommender-for-woocommerce/deixto-recommender.php 85% from 13 tests
"DEiXTo Recommender for WooCommerce" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 234 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("deixto-recommender-for-woocommerce.php" instead of "deixto-recommender.php")
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 plugin1,404 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 171 | 182 | 1,046 |
JavaScript | 3 | 29 | 29 | 220 |
CSS | 3 | 13 | 18 | 138 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 49 | |
▷ Named functions | 49 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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