Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/smooth-slider/slider_versions/widgets_1.php+52
Function create_function() is deprecated
Server metrics [RAM: ▼1.89MB] [CPU: ▼184.41ms] Passed 4 tests
This is a short check of server-side resources used by Smooth Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.75 ▼1.09 | 4.50 ▼17.64 |
Dashboard /wp-admin | 1.76 ▼1.30 | 3.90 ▼32.87 |
Posts /wp-admin/edit.php | 1.77 ▼1.34 | 4.07 ▼26.66 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 4.23 ▼659.90 |
Media Library /wp-admin/upload.php | 1.76 ▼1.24 | 3.88 ▼18.20 |
Settings /wp-admin/admin.php?page=smooth-slider-settings | 1.76 | 3.88 |
Sliders /wp-admin/admin.php?page=smooth-slider-admin | 1.76 | 4.53 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 99 new files
Database: 3 new tables, 3 new options
New tables |
---|
wp_smooth_slider |
wp_smooth_slider_meta |
wp_smooth_slider_postmeta |
New WordPress options |
---|
smooth_db_version |
widget_sslider_wid |
smooth_slider_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smooth Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,843 ▲242 | 16.31 ▲0.62 | 8.24 ▲2.30 | 74.34 ▼9.73 |
Dashboard /wp-admin | 2,967 ▲71 | 6.13 ▼0.05 | 115.71 ▼17.53 | 169.81 ▼6.52 |
Posts /wp-admin/edit.php | 2,777 ▲40 | 3.24 ▼0.00 | 64.55 ▼1.37 | 139.35 ▼2.56 |
Add New Post /wp-admin/post-new.php | 2,574 ▼1,233 | 21.33 ▲2.52 | 421.38 ▼48.25 | 196.30 ▲34.68 |
Media Library /wp-admin/upload.php | 1,786 ▲34 | 5.51 ▼0.02 | 143.04 ▼11.55 | 186.91 ▲2.59 |
Settings /wp-admin/admin.php?page=smooth-slider-settings | 5,065 | 4.55 | 121.63 | 264.35 |
Sliders /wp-admin/admin.php?page=smooth-slider-admin | 1,734 | 5.58 | 84.44 | 187.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/smooth-slider/slider_versions/widgets_1.php+52
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 1 option
- widget_sslider_wid
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smooth-slider-admin
- > Deprecated in wp-content/plugins/smooth-slider/slider_versions/widgets_1.php+52
Function create_function() is deprecated
SRP 50% from 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
Please fix the following
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/smooth-slider/uninstall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/smooth-slider/smooth-slider.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/smooth-slider/includes/media-images.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smooth-slider/includes/smooth-slider-functions.php:216
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/smooth-slider/settings/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/smooth-slider/slider_versions/shortcodes_1.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/smooth-slider/slider_versions/shortcodes_1.php:40
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/smooth-slider/slider_versions/widgets_1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_theme_support() in wp-content/plugins/smooth-slider/includes/sslider-get-the-image-functions.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (One Demo of Smooth Slider), #2 (Another demo with image in centre), #3 (Basic Settings Panel), #4 (Advance Setting options under Miscellaneous section), #5 (Control Live Preview Panel, Get Shortcode and Template Tag), #6 (Export/Import Setting Values, Get Quick Shortcode and Template Tag), #7 (Image auto fetch preferences, customize image width/height and other parameters), #8 (Drag and Drop reorder or added slides)
- Tags: There are too many tags (89 tag instead of maximum 10)
smooth-slider/smooth-slider.php 92% from 13 tests
"Smooth Slider" version 2.8.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 210 characters long)
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
Success! There were no dangerous files found in this plugin7,072 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 410 | 305 | 3,361 |
JavaScript | 7 | 267 | 293 | 2,875 |
CSS | 8 | 68 | 125 | 782 |
XML | 1 | 0 | 0 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 72 | |
▷ Named functions | 72 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
63 PNG files occupy 0.36MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/skins/sample/buttons/black/nav.png | 2.74KB | 0.09KB | ▼ 96.83% |
css/skins/sample/next-horizontal.png | 3.52KB | 1.37KB | ▼ 61.08% |
css/skins/sample/buttons/green/prev.png | 2.94KB | 0.32KB | ▼ 89.04% |
screenshot-1.png | 20.59KB | 21.38KB | 0.00% |
css/skins/default/buttons/black/next.png | 2.93KB | 0.31KB | ▼ 89.28% |