Benchmarks
Plugin footprint Passed 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: ▼178.96ms] 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 / | 2.84 ▲0.12 | 36.42 ▲21.44 |
Dashboard /wp-admin | 3.06 ▼0.00 | 40.09 ▼6.19 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 37.82 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.02 | 79.25 ▼711.55 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 26.37 ▲1.72 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 59 new files
Database: no new tables, no new options
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 / | 3,671 ▲70 | 15.70 ▼0.03 | 5.07 ▼0.81 | 79.60 ▲1.26 |
Dashboard /wp-admin | 2,933 ▲37 | 6.11 ▼0.06 | 121.26 ▼11.59 | 166.91 ▼12.03 |
Posts /wp-admin/edit.php | 2,743 ▲3 | 3.23 ▼0.00 | 65.20 ▲1.51 | 137.33 ▼2.96 |
Add New Post /wp-admin/post-new.php | 3,691 ▲1,617 | 15.16 ▼0.61 | 454.40 ▲52.95 | 166.50 ▲3.22 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.54 ▲0.02 | 156.98 ▲12.58 | 205.64 ▲20.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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.6.5
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,316 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 308 | 520 | 1,945 |
JavaScript | 6 | 93 | 41 | 311 |
CSS | 5 | 3 | 3 | 58 |
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.39 |
Average class complexity | 6.60 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
Functions | 24 | |
▷ Named functions | 24 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
25 PNG files occupy 0.15MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wordpress-icon-logo.png | 9.40KB | 4.89KB | ▼ 48.02% |
assets/css/arrow-right.png | 2.91KB | 0.18KB | ▼ 93.93% |
assets/images/elementor-icon.png | 5.25KB | 2.42KB | ▼ 53.85% |
wpos-plugins/assets/images/utility-icon.png | 0.72KB | 0.82KB | 0.00% |
assets/images/vc-icon.png | 5.24KB | 1.92KB | ▼ 63.42% |