Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼299.68ms] Passed 4 tests
This is a short check of server-side resources used by Product Slider Block for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 55.73 ▲3.47 |
Dashboard /wp-admin | 3.44 ▲0.03 | 32.80 ▼0.86 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.28 ▼4.25 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.07 | 94.04 ▼1,194.79 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 25.89 ▲1.18 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Product Slider Block for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,839 ▲85 | 18.72 ▲3.03 | 31.25 ▲24.97 | 2.62 ▼0.42 |
Dashboard /wp-admin | 2,895 ▲34 | 6.17 ▼0.05 | 114.31 ▼18.98 | 152.96 ▲0.83 |
Posts /wp-admin/edit.php | 2,694 ▲9 | 3.24 ▲0.01 | 63.75 ▼13.20 | 142.04 ▼126.54 |
Add New Post /wp-admin/post-new.php | 1,718 ▼34 | 23.55 ▲2.56 | 419.68 ▼15.56 | 158.42 ▼3.23 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.51 ▲0.00 | 146.58 ▲2.47 | 197.28 ▲8.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
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
The SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: woo, product slider, woocommerce, woocommerce slider, woo slider...
woo-product-slider-block/eedee-woo-product-slider-block.php 92% from 13 tests
The primary PHP file in "Product Slider Block for WooCommerce" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-product-slider-block.php" instead of "eedee-woo-product-slider-block.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin823 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 4 | 93 | 153 | 478 |
JavaScript | 7 | 49 | 52 | 287 |
PHP | 2 | 13 | 66 | 55 |
CSS | 2 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin