Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.70ms] Passed 4 tests
Server-side resources used by Product Slider and Carousel with Category for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.14 ▲1.64 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.29 ▲2.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.87 ▲4.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.39 ▼21.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.38 ▲2.64 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
wcpscwc_sf_optin |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Product Slider and Carousel with Category for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▼0.03 | 1.71 ▲0.14 | 46.79 ▲8.51 |
Dashboard /wp-admin | 2,192 ▲11 | 5.56 ▼0.16 | 84.17 ▼15.46 | 38.18 ▼5.81 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 35.04 ▼3.51 | 32.73 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.03 ▼0.20 | 664.11 ▲6.33 | 51.21 ▼7.64 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▼0.03 | 95.10 ▲1.18 | 42.29 ▲2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- wcpscwc_sf_optin
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 33 tag instead of maximum 10
woo-product-slider-and-carousel-with-category/woo-product-slider-carousel.php 85% from 13 tests
Analyzing the main PHP file in "Product Slider and Carousel with Category for WooCommerce" version 2.8.1
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 196 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-product-slider-and-carousel-with-category.php" instead of "woo-product-slider-carousel.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
No dangerous file extensions were detected2,074 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 313 | 491 | 1,610 |
JavaScript | 6 | 103 | 60 | 334 |
CSS | 5 | 11 | 5 | 128 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 6.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.57MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/arrow-left.png | 2.94KB | 0.17KB | ▼ 94.18% |
wpos-plugins/assets/images/essentialplugin-logo.png | 7.62KB | 3.82KB | ▼ 49.88% |
assets/images/popup-icon/woo-centermode.png | 7.57KB | 3.86KB | ▼ 49.03% |
assets/images/popup-icon/14-days-money-back-guarantee.png | 30.03KB | 8.44KB | ▼ 71.91% |
wpos-plugins/assets/images/essential-plugin-16.png | 0.46KB | 0.66KB | 0.00% |