Benchmarks
Plugin footprint Passed 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.07MB] [CPU: ▼260.08ms] Passed 4 tests
Server-side resources used by Related Products Slider for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 33.21 ▲13.03 |
Dashboard /wp-admin | 3.13 ▲0.07 | 42.40 ▼0.90 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 44.94 ▲1.58 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 88.98 ▼1,037.61 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 35.59 ▼3.39 |
RP Related Products /wp-admin/admin.php?page=rp-related-products | 3.04 | 33.42 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Related Products Slider for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,820 ▲214 | 17.04 ▲1.21 | 10.96 ▲3.48 | 50.41 ▲5.96 |
Dashboard /wp-admin | 2,965 ▲112 | 6.69 ▲0.83 | 133.39 ▼0.86 | 102.07 ▼2.01 |
Posts /wp-admin/edit.php | 2,738 ▲32 | 3.00 ▲0.31 | 65.48 ▼1.26 | 109.16 ▲17.48 |
Add New Post /wp-admin/post-new.php | 1,874 ▼164 | 19.20 ▼0.33 | 369.27 ▼11.80 | 121.01 ▲22.26 |
Media Library /wp-admin/upload.php | 1,745 ▼30 | 5.14 ▲0.12 | 139.90 ▼7.65 | 112.68 ▲1.56 |
RP Related Products /wp-admin/admin.php?page=rp-related-products | 1,513 | 2.57 | 67.74 | 61.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
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 short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #4, #5, #6, #7, #8, #9 in related-products-slider-for-woocommerce/assets to your readme.txt
related-products-slider-for-woocommerce/related-products-slider-for-woocommerce.php Passed 13 tests
The main file in "Related Products Slider for WooCommerce" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Display related products with Slider on every single product .
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
Everything looks great! No dangerous files found in this plugin2,326 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 206 | 18 | 1,300 |
CSS | 3 | 108 | 49 | 609 |
PHP | 5 | 115 | 36 | 401 |
SVG | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
This is a short overview 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.22 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/grabbing.png | 0.11KB | 0.14KB | 0.00% |
assets/images/banner-1.png | 11.21KB | 4.26KB | ▼ 61.99% |