Benchmarks
Plugin footprint 65% 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: ▼1.25MB] [CPU: ▼42.60ms] Passed 4 tests
Analyzing server-side resources used by Responsive Woocommerce Product Scroll Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 14.62 ▼23.49 |
Dashboard /wp-admin | 2.77 ▼0.57 | 14.80 ▼41.68 |
Posts /wp-admin/edit.php | 2.77 ▼0.58 | 19.09 ▼28.55 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.11 | 16.25 ▼76.66 |
Media Library /wp-admin/upload.php | 2.77 ▼0.46 | 15.26 ▼16.45 |
Server storage [IO: ▲0.12MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
wooproductscroller_title |
wooproductscroller_orderBy |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
wooproductscroller_order |
widget_theysaidso_widget |
db_upgraded |
wooproductscroller_prodcat |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Woocommerce Product Scroll Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲61 | 13.27 ▼1.16 | 3.50 ▲1.60 | 42.86 ▲0.16 |
Dashboard /wp-admin | 2,222 ▲31 | 5.79 ▼0.09 | 95.47 ▼3.86 | 35.16 ▼5.91 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.05 ▲0.06 | 41.51 ▲6.22 | 34.32 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 18.32 ▼5.02 | 597.71 ▼87.75 | 64.28 ▼18.27 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.20 ▼0.05 | 93.38 ▼2.32 | 41.89 ▼3.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_shortcode was called incorrectly. Invalid shortcode name: woocommerce scroll slider. Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.)
- This plugin does not fully uninstall, leaving 11 options in the database
- wooproductscroller_title
- wooproductscroller_orderBy
- widget_theysaidso_widget
- db_upgraded
- wooproductscroller_prodcat
- widget_recent-posts
- wooproductscroller_no_of_products
- can_compress_scripts
- wooproductscroller_order
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive 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, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Responsive Woocommerce Product Scroll Slider), #2 (Responsive Woocommerce Product Scroll Slider admin settings)
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
responsive-woocommerce-product-scroll-slider/woocommerce-product-scroller.php 77% from 13 tests
The entry point to "Responsive Woocommerce Product Scroll Slider" version V4.0... is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("responsive-woocommerce-product-scroll-slider.php" instead of "woocommerce-product-scroller.php")
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "V4.0...")
- Description: The description should be shorter than 140 characters (currently 188 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,611 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 207 | 17 | 1,288 |
PHP | 2 | 21 | 25 | 205 |
CSS | 2 | 14 | 18 | 118 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 were not PNG files found in your plugin