Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/slideshow-wp/includes/sswp-functions.php+447
Function create_function() is deprecated
Server metrics [RAM: ▼1.83MB] [CPU: ▼53.04ms] Passed 4 tests
An overview of server-side resources used by Slideshow Wp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 4.73 ▼33.89 |
Dashboard /wp-admin | 2.18 ▼1.12 | 6.12 ▼40.13 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 6.34 ▼42.97 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 7.20 ▼95.15 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.75 ▼27.31 |
All Sliders /wp-admin/edit.php?post_type=sswp_slider | 2.18 | 5.56 |
Add Slider /wp-admin/post-new.php?post_type=sswp_slider | 2.18 | 6.29 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 183 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_sswp_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Slideshow Wp: 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,964 ▲229 | 14.03 ▼0.36 | 5.51 ▲3.59 | 38.33 ▼6.40 |
Dashboard /wp-admin | 2,239 ▲48 | 5.86 ▲0.96 | 99.22 ▼17.23 | 74.76 ▲33.33 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.02 ▼0.03 | 35.55 ▼3.83 | 32.74 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,567 ▲34 | 23.44 ▲0.18 | 744.02 ▲147.02 | 48.89 ▼4.01 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.18 ▼0.00 | 108.93 ▲13.81 | 46.95 ▲5.39 |
All Sliders /wp-admin/edit.php?post_type=sswp_slider | 1,112 | 1.99 | 34.93 | 28.48 |
Add Slider /wp-admin/post-new.php?post_type=sswp_slider | 1,844 | 3.85 | 73.35 | 95.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/slideshow-wp/includes/sswp-functions.php+447
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_sswp_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=sswp_slider
- > Deprecated in wp-content/plugins/slideshow-wp/includes/sswp-functions.php+447
Function create_function() is deprecated
SRP 0% 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
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/slideshow-wp/admin/partials/slideshow-wp-admin-display.php
- > /wp-content/plugins/slideshow-wp/includes/framework/inc/templates/media.php
- > /wp-content/plugins/slideshow-wp/public/partials/slideshow-wp-public-display.php
- > /wp-content/plugins/slideshow-wp/includes/framework/inc/templates/upload.php
- > /wp-content/plugins/slideshow-wp/includes/framework/inc/templates/image-advanced.php
- 52× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/custom-html.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slideshow-wp/includes/sswp-functions.php:3
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/oembed.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Image_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/thickbox-image.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_List_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/checkbox-list.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Object_Choice_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/post.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/choice.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Multiple_Values_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/autocomplete.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/divider.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Select_Field' not found in wp-content/plugins/slideshow-wp/includes/framework/inc/fields/select-advanced.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=sswp_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=sswp_slider 375 The specified value "auto" cannot be parsed, or is out of range.
- > GET request to /wp-admin/post-new.php?post_type=sswp_slider
- > Network (severe)
wp-content/plugins/slideshow-wp/includes/framework/js/select.js?ver=4.9.6 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=sswp_slider
- > Network (severe)
wp-content/plugins/slideshow-wp/includes/framework/js/input-list.js?ver=4.9.6 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=sswp_slider
- > Javascript (severe) in unknown
/wp-content/plugins/slideshow-wp/includes/framework/extn/meta-box-conditional-logic/assets/js/conditional-logic.js?ver=1.3.1 417:24 Uncaught TypeError: $(...).live is not a function
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:
- Requires at least: Invalid plugin version format
slideshow-wp/slideshow-wp.php Passed 13 tests
The main PHP script in "Slideshow Wp" version 1.1 is automatically included on every request by WordPress
134 characters long description:
Slideshow WP Is a responsive slider with touch and swipe slider.Slideshow WP supports two types of slider like fullwidth and carousel.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin7,489 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 88 | 987 | 3,243 | 4,582 |
CSS | 37 | 121 | 117 | 1,756 |
JavaScript | 15 | 249 | 263 | 1,114 |
PO File | 1 | 2 | 4 | 27 |
JSON | 2 | 0 | 0 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 7 | 9.33% |
▷ Concrete classes | 68 | 90.67% |
▷ Final classes | 0 | 0.00% |
Methods | 344 | |
▷ Static methods | 238 | 69.19% |
▷ Public methods | 322 | 93.60% |
▷ Protected methods | 15 | 4.36% |
▷ Private methods | 7 | 2.03% |
Functions | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
Constants | 6 | |
▷ Global constants | 6 | 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
14 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/framework/img/jqueryui/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
includes/framework/img/jqueryui/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/framework/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/framework/img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/framework/img/jqueryui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |