Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.36ms] Passed 4 tests
This is a short check of server-side resources used by Free Woocommerce Products Slider/Carousel Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.12 ▼5.55 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.22 ▼18.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.30 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.42 ▼24.52 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.26 ▼1.36 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Free Woocommerce Products Slider/Carousel Pro: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.75 ▲0.38 | 1.84 ▲0.19 | 45.43 ▲5.40 |
Dashboard /wp-admin | 2,224 ▲24 | 4.87 ▼0.02 | 107.59 ▲6.26 | 44.07 ▼0.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.06 | 35.18 ▼4.77 | 35.49 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.16 ▲5.62 | 667.83 ▲29.20 | 54.09 ▼4.65 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.27 ▲0.06 | 95.92 ▼6.01 | 44.52 ▼3.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/woo-products-slider-pro/admin/templates/footer.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-products-slider-pro/admin/templates/recently-viewed.php on line 3
- > PHP Notice
Undefined variable: options in wp-content/plugins/woo-products-slider-pro/admin/templates/recently-viewed.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-products-slider-pro/admin/templates/shortcode-column.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woo-products-slider-pro/admin/templates/shortcode-column.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/woo-products-slider-pro/includes/shortcodes.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woo-products-slider-pro/admin/templates/recently-viewed.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-products-slider-pro/includes/helper-functions.php:148
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woo-products-slider-pro/admin/templates/header.php:2
- > PHP Notice
Undefined variable: options in wp-content/plugins/woo-products-slider-pro/admin/templates/shortcode-column.php on line 3
- > PHP Notice
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 36 tag instead of maximum 10
woo-products-slider-pro/woo-products-slider-pro.php Passed 13 tests
The principal PHP file in "Free Woocommerce Products Slider/Carousel Pro" v. 1.1.1 is loaded by WordPress automatically on each request
139 characters long description:
Display Woocommerce Products in a Carousel. Show Top Rated, Best Selling, ON Sale, Featured, Recently Viewed Products With Category Filter.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,104 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 215 | 151 | 781 |
JavaScript | 6 | 36 | 16 | 203 |
CSS | 5 | 22 | 11 | 120 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 24 | |
▷ Named functions | 22 | 91.67% |
▷ Anonymous functions | 2 | 8.33% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/arrow-right.png | 2.91KB | 0.18KB | ▼ 93.93% |
assets/css/arrow-left.png | 2.94KB | 0.17KB | ▼ 94.18% |