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
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼0.90ms] Passed 4 tests
Server-side resources used by Woo Shop Slider Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 39.88 ▼2.39 |
Dashboard /wp-admin | 3.49 ▲0.18 | 50.10 ▼0.87 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.42 ▼1.22 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 90.58 ▲0.87 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.36 ▲0.90 |
Server storage [IO: ▲3.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 98 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Woo Shop Slider Lite: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲52 | 14.34 ▼0.01 | 1.64 ▼0.09 | 42.08 ▼3.42 |
Dashboard /wp-admin | 2,222 ▲48 | 5.60 ▲0.02 | 86.20 ▼17.26 | 39.68 ▼2.97 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 1.98 ▲0.00 | 34.78 ▼1.97 | 34.29 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,557 ▲20 | 18.12 ▼0.12 | 645.45 ▲20.75 | 69.73 ▲1.95 |
Media Library /wp-admin/upload.php | 1,421 ▲18 | 4.22 ▲0.02 | 99.84 ▼5.98 | 45.55 ▼2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Shindiri_Woo_Slider_Abstract_Product' not found in wp-content/plugins/woo-shop-slider-lite/includes/shindiri-woo-slider-product/shindiri-woo-slider-wc-product.php:8
- > PHP Fatal error
Uncaught Error: Class 'Shindiri_Woo_Slider_Shortcode_Version_Basic' not found in wp-content/plugins/woo-shop-slider-lite/public/shortcodes/versions/seven/class-shindiri-woo-slider-version-seven.php:10
- > PHP Fatal error
Uncaught Error: Class 'Shindiri_Woo_Slider_Abstract_Product' not found in wp-content/plugins/woo-shop-slider-lite/includes/shindiri-woo-slider-product/shindiri-woo-slider-wc-product-deprecated.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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
7 plugin tags: woocommerce slider, category slider, product slider, woo slider, woo shop...
woo-shop-slider-lite/shindiri-woo-slider.php 92% from 13 tests
Analyzing the main PHP file in "Woo Shop Slider Lite" version 1.2.3
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-shop-slider-lite.php" instead of "shindiri-woo-slider.php")
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 plugin9,907 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 103 | 151 | 3,642 |
PHP | 32 | 1,005 | 2,752 | 2,902 |
LESS | 6 | 341 | 67 | 1,718 |
SVG | 2 | 0 | 0 | 773 |
JavaScript | 18 | 114 | 188 | 505 |
PO File | 1 | 174 | 256 | 367 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 0 | 0.00% |
Methods | 199 | |
▷ Static methods | 30 | 15.08% |
▷ Public methods | 178 | 89.45% |
▷ Protected methods | 4 | 2.01% |
▷ Private methods | 17 | 8.54% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 1 | 6.67% |
▷ Class constants | 14 | 93.33% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.15MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/vc-icon.png | 1.08KB | 0.75KB | ▼ 30.51% |
admin/images/arrowDown.png | 0.69KB | 0.68KB | 0.28% |
admin/images/slider_info_img.png | 151.49KB | 48.96KB | ▼ 67.68% |