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
Installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼1.71ms] Passed 4 tests
A check of server-side resources used by WooCommerce Feed Slowfashion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 38.87 ▼2.44 |
Dashboard /wp-admin | 3.65 ▲0.35 | 46.68 ▲0.10 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 49.90 ▲3.42 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 88.06 ▼4.26 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 37.91 ▼0.23 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Feed Slowfashion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.15 ▲0.14 | 1.67 ▼0.11 | 41.88 ▼6.07 |
Dashboard /wp-admin | 2,198 ▲43 | 5.61 ▼0.04 | 83.22 ▼15.04 | 38.87 ▼0.26 |
Posts /wp-admin/edit.php | 2,079 ▼24 | 1.99 ▼0.04 | 33.90 ▼6.47 | 32.05 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.02 ▼0.22 | 591.71 ▼34.33 | 60.45 ▼5.76 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▼0.01 | 97.52 ▼14.99 | 41.01 ▼7.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woo-feed-slowfashion/templates/admin/select-list.php
- > /wp-content/plugins/woo-feed-slowfashion/templates/admin/product-tab.php
- > /wp-content/plugins/woo-feed-slowfashion/templates/admin/button.php
- > /wp-content/plugins/woo-feed-slowfashion/templates/admin/product-write-panel.php
- 30× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: tab_id in wp-content/plugins/woo-feed-slowfashion/templates/admin/product-tab.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-feed-slowfashion/templates/admin/select-list.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-feed-slowfashion/templates/admin/select-list.php on line 15
- > PHP Warning
current() expects parameter 1 to be array, null given in wp-content/plugins/woo-feed-slowfashion/templates/admin/select-list.php on line 17
- > PHP Notice
Undefined variable: options in wp-content/plugins/woo-feed-slowfashion/templates/admin/select-list.php on line 32
- > PHP Notice
Undefined variable: label in wp-content/plugins/woo-feed-slowfashion/templates/admin/product-tab.php on line 10
- > PHP Notice
Undefined variable: options in wp-content/plugins/woo-feed-slowfashion/templates/admin/select-list.php on line 17
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/woo-feed-slowfashion/templates/admin/select-list.php on line 32
- > PHP Notice
Undefined variable: identifier in wp-content/plugins/woo-feed-slowfashion/classes/vendor/woocommerce-extended-categories/templates/select-list-add.php on line 10
- > PHP Notice
Undefined variable: groups in wp-content/plugins/woo-feed-slowfashion/templates/admin/product-write-panel.php on line 10
- > PHP Notice
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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: xml, slowfashion, integracja, woocommerce
woo-feed-slowfashion/woocommerce-xml-integration-gielda.php 92% from 13 tests
The principal PHP file in "WooCommerce Feed Slowfashion" v. 1.0.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-feed-slowfashion.php" instead of "woocommerce-xml-integration-gielda.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,697 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 462 | 732 | 1,642 |
CSS | 2 | 4 | 0 | 33 |
JavaScript | 1 | 5 | 3 | 19 |
XML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 21.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 3 | 30.00% |
▷ Concrete classes | 7 | 70.00% |
▷ Final classes | 1 | 14.29% |
Methods | 97 | |
▷ Static methods | 8 | 8.25% |
▷ Public methods | 44 | 45.36% |
▷ Protected methods | 26 | 26.80% |
▷ Private methods | 27 | 27.84% |
Functions | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 37 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 37 | 100.00% |
▷ Public constants | 37 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin