Benchmarks
Plugin footprint 83% 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.00MB] [CPU: ▼12.76ms] Passed 4 tests
An overview of server-side resources used by Variation Shop Product Sliders
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.02 ▲4.21 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.50 ▼17.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.57 ▼4.97 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.26 ▼26.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.62 ▼2.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Variation Shop Product Sliders
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.64 ▼0.97 | 4.97 ▲2.93 | 43.90 ▲1.85 |
Dashboard /wp-admin | 2,221 ▲18 | 4.87 ▼1.00 | 105.06 ▼1.31 | 41.69 ▼9.44 |
Posts /wp-admin/edit.php | 2,082 ▲3 | 2.02 ▼0.04 | 34.05 ▼1.49 | 34.92 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.31 ▲5.81 | 671.12 ▼25.56 | 73.30 ▲11.53 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.22 ▲0.01 | 103.41 ▼17.73 | 44.02 ▼4.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/variation-shop-product-sliders/variation-shop-product-sliders.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Preview the variation shop product slider) image required
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== variation-shop-product-sliders ===
)
variation-shop-product-sliders/variation-shop-product-sliders.php Passed 13 tests
This is the main PHP file of "Variation Shop Product Sliders" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
125 characters long description:
With the "variation shop product sliders" plugin you could display your products variation as mini sliders on your shop page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin106 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 33 | 56 |
JavaScript | 1 | 5 | 2 | 28 |
CSS | 1 | 6 | 5 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin