Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲2.24MB] [CPU: ▲6.27ms] 75% from 4 tests
Analyzing server-side resources used by Product Slider for WooCommerce by PickPlugins
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,598.38ms on /wp-admin/edit.php?post_type=wcps&page=import_layouts)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.68 ▲2.22 | 52.49 ▲7.94 |
Dashboard /wp-admin | 5.55 ▲2.25 | 61.28 ▲12.80 |
Posts /wp-admin/edit.php | 5.61 ▲2.25 | 64.96 ▲17.39 |
Add New Post /wp-admin/post-new.php | 8.14 ▲2.25 | 93.47 ▼9.75 |
Media Library /wp-admin/upload.php | 5.46 ▲2.23 | 48.22 ▲14.08 |
All WCPS layouts /wp-admin/edit.php?post_type=wcps_layout | 5.53 | 49.40 |
Settings /wp-admin/edit.php?post_type=wcps&page=settings | 5.50 | 47.23 |
All WCPS /wp-admin/edit.php?post_type=wcps | 5.53 | 50.29 |
Add New /wp-admin/post-new.php?post_type=wcps | 5.60 | 64.79 |
Import layouts /wp-admin/edit.php?post_type=wcps&page=import_layouts | 5.57 | 1,598.38 |
Server storage [IO: ▲6.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 115 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Product Slider for WooCommerce by PickPlugins: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲213 | 14.47 ▲0.10 | 1.70 ▲0.04 | 42.30 ▼6.79 |
Dashboard /wp-admin | 2,374 ▲194 | 6.10 ▲0.43 | 103.05 ▲16.45 | 37.63 ▼6.43 |
Posts /wp-admin/edit.php | 2,305 ▲205 | 3.30 ▲1.28 | 45.45 ▲10.14 | 30.82 ▼6.01 |
Add New Post /wp-admin/post-new.php | 1,570 ▲39 | 18.11 ▼4.81 | 613.90 ▼79.10 | 44.51 ▼6.28 |
Media Library /wp-admin/upload.php | 1,442 ▲48 | 4.16 ▼0.05 | 80.85 ▼12.77 | 44.82 ▲0.25 |
All WCPS layouts /wp-admin/edit.php?post_type=wcps_layout | 1,269 | 3.37 | 45.47 | 26.08 |
Settings /wp-admin/edit.php?post_type=wcps&page=settings | 2,353 | 6.02 | 111.46 | 41.01 |
All WCPS /wp-admin/edit.php?post_type=wcps | 1,277 | 3.29 | 41.46 | 30.37 |
Add New /wp-admin/post-new.php?post_type=wcps | 6,688 | 6.93 | 186.49 | 44.46 |
Import layouts /wp-admin/edit.php?post_type=wcps&page=import_layouts | 1,348 | 3.17 | 38.95 | 59.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
No plugin tags provided
woocommerce-products-slider/woocommerce-products-slider.php 92% from 13 tests
The main file in "Product Slider for WooCommerce by PickPlugins" v. 1.13.49 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin72,001 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 6,299 | 344 | 14,528 |
JavaScript | 7 | 3,019 | 2,117 | 14,302 |
JSON | 2 | 0 | 0 | 12,289 |
XML | 2 | 16 | 32 | 11,447 |
SVG | 4 | 0 | 0 | 9,251 |
CSS | 8 | 2,270 | 91 | 6,809 |
PO File | 3 | 1,554 | 4,269 | 3,375 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 94.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 657.00 |
Average method complexity | 13.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 59 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 235 | |
▷ Named functions | 235 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
26 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/front/images/ribbons/dis-10.png | 2.22KB | 1.08KB | ▼ 51.30% |
assets/front/images/ribbons/dis-100.png | 2.31KB | 1.12KB | ▼ 51.71% |
assets/front/images/ribbons/free.png | 2.05KB | 1.55KB | ▼ 24.50% |
assets/front/images/ribbons/dis-90.png | 2.31KB | 1.11KB | ▼ 52.05% |
assets/admin/css/tile.png | 2.75KB | 0.10KB | ▼ 96.31% |