Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.88MB] [CPU: ▼35.64ms] Passed 4 tests
A check of server-side resources used by Woo Categories List In Footer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 53.08 ▲9.90 |
Dashboard /wp-admin | 3.07 ▼0.24 | 24.53 ▼35.06 |
Posts /wp-admin/edit.php | 3.07 ▼0.29 | 25.28 ▼32.79 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.82 | 40.18 ▼62.65 |
Media Library /wp-admin/upload.php | 3.07 ▼0.16 | 24.53 ▼12.07 |
Footer Products /wp-admin/options-general.php?page=wooFooterProducts | 3.07 | 26.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
wooFooterProducts_columns |
widget_theysaidso_widget |
wooFooterProducts_title |
db_upgraded |
wooFooterProducts_pages |
wooFooterProducts_pagesTitle |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Categories List In Footer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.62 ▲0.27 | 2.15 ▲0.18 | 42.13 ▲0.18 |
Dashboard /wp-admin | 2,202 ▲28 | 5.61 ▲0.08 | 90.68 ▼4.51 | 39.58 ▼2.75 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.04 | 43.33 ▲0.15 | 34.50 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,529 ▼7 | 22.95 ▲4.59 | 685.31 ▲1.70 | 59.23 ▼11.05 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.02 | 96.25 ▼8.34 | 43.35 ▼5.35 |
Footer Products /wp-admin/options-general.php?page=wooFooterProducts | 950 | 2.00 | 29.15 | 26.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/woo-categories-list-in-footer/assets/lib/PluginOptionsPage.php+39
Undefined index: page
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wooFooterProducts
- > Notice in wp-content/plugins/woo-categories-list-in-footer/assets/lib/PluginOptionsPage.php+39
Undefined index: action
- > GET request to /wp-admin/options-general.php?page=wooFooterProducts
- > Notice in wp-content/plugins/woo-categories-list-in-footer/assets/lib/PluginOptionsPage.php+58
Undefined index: saved
- > GET request to /wp-admin/options-general.php?page=wooFooterProducts
- > Notice in wp-content/plugins/woo-categories-list-in-footer/assets/lib/PluginOptionsPage.php+60
Undefined index: reset
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wooFooterProducts
- > Notice in wp-content/plugins/woo-categories-list-in-footer/assets/lib/PluginOptionsPage.php+87
Undefined index: description
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/woo-categories-list-in-footer/assets/php/customWalker.php:3
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: woocommerce pages, woocommerce product categories, footer category list, storefront, category display...
woo-categories-list-in-footer/wooFooterProducts.php 92% from 13 tests
The main PHP script in "Woo Categories List In Footer" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-categories-list-in-footer.php" instead of "wooFooterProducts.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin771 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 75 | 49 | 534 |
CSS | 3 | 29 | 6 | 237 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.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 images were found in this plugin