Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.45ms] Passed 4 tests
An overview of server-side resources used by GazChap's WooCommerce Auto Category Product Thumbnails
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 50.57 ▲8.12 |
Dashboard /wp-admin | 3.31 ▲0.00 | 52.42 ▼6.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.24 ▲1.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.45 ▼3.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.82 ▲3.51 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 11 new options
New WordPress options |
---|
gazchaps-woocommerce-auto-category-product-thumbnails_use-transients |
db_upgraded |
theysaidso_admin_options |
gazchaps-woocommerce-auto-category-product-thumbnails_category-size |
gazchaps-woocommerce-auto-category-product-thumbnails_recurse |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
gazchaps-woocommerce-auto-category-product-thumbnails_transient-expiry |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for GazChap's WooCommerce Auto Category Product Thumbnails
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼0 | 13.28 ▼1.09 | 3.05 ▲1.09 | 41.76 ▼3.95 |
Dashboard /wp-admin | 2,206 ▲3 | 4.87 ▼0.90 | 110.53 ▲9.22 | 39.48 ▲0.52 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.98 ▼0.05 | 39.19 ▲3.05 | 34.21 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 22.79 ▲5.12 | 600.31 ▲4.40 | 63.04 ▲13.94 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.00 | 108.04 ▲10.70 | 45.12 ▲4.78 |
Uninstaller [IO: ✅] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 11 options in the database
- can_compress_scripts
- gazchaps-woocommerce-auto-category-product-thumbnails_transient-expiry
- theysaidso_admin_options
- gazchaps-woocommerce-auto-category-product-thumbnails_category-size
- gazchaps-woocommerce-auto-category-product-thumbnails_shuffle
- widget_recent-comments
- gazchaps-woocommerce-auto-category-product-thumbnails_recurse
- gazchaps-woocommerce-auto-category-product-thumbnails_use-transients
- widget_theysaidso_widget
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function GazChap\\add_action() in wp-content/plugins/gazchaps-woocommerce-auto-category-product-thumbnails/index.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
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
4 plugin tags: woocommerce, ecommerce, images, thumbnails
gazchaps-woocommerce-auto-category-product-thumbnails/index.php 77% from 13 tests
The main PHP file in "GazChap's WooCommerce Auto Category Product Thumbnails" ver. 1.5 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:
- Requires at least: The required version number must match the one declared in readme.txt ("4.5.0" instead of "3.0.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gazchaps-woocommerce-auto-category-product-thumbnails.php" instead of "index.php")
- Domain Path: The domain path points to a folder that does not exist ("/lang")
Code Analysis Passed 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 plugin281 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 56 | 281 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected