Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼7.22ms] Passed 4 tests
Server-side resources used by Slider Responsive Slideshow - Image slider, Gallery slideshow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.79 ▼0.58 |
Dashboard /wp-admin | 3.45 ▲0.10 | 48.03 ▼10.15 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 47.08 ▲0.09 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 82.64 ▼18.23 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.01 ▲0.24 |
All Slider /wp-admin/edit.php?post_type=slider_responsive | 3.37 | 31.91 |
Our Theme /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-theme-page | 3.14 | 26.49 |
Upgrade Plugin /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-upgrade-plugin-page | 3.14 | 24.83 |
Add New Slider /wp-admin/post-new.php?post_type=slider_responsive | 3.53 | 48.83 |
Featured Plugin /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-featured-plugin-page | 3.14 | 23.01 |
Docs /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-doc-page | 3.14 | 25.41 |
Server storage [IO: ▲5.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Slider Responsive Slideshow - Image slider, Gallery slideshow
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,898 ▲127 | 13.37 ▼0.91 | 7.74 ▲5.81 | 42.86 ▼1.94 |
Dashboard /wp-admin | 2,219 ▲44 | 5.55 ▼0.02 | 82.49 ▼14.32 | 36.02 ▼4.75 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▼0.01 | 32.83 ▼0.14 | 32.02 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.03 ▲0.03 | 651.68 ▼46.05 | 52.05 ▼6.21 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.21 ▼0.02 | 94.18 ▼5.26 | 42.73 ▼0.58 |
All Slider /wp-admin/edit.php?post_type=slider_responsive | 1,108 | 1.91 | 29.54 | 30.46 |
Our Theme /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-theme-page | 28 | 0.42 | 0.08 | 3.53 |
Upgrade Plugin /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-upgrade-plugin-page | 28 | 0.42 | 0.08 | 3.43 |
Add New Slider /wp-admin/post-new.php?post_type=slider_responsive | 2,375 | 3.91 | 71.19 | 141.01 |
Featured Plugin /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-featured-plugin-page | 28 | 0.42 | 0.09 | 3.84 |
Docs /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-doc-page | 28 | 0.42 | 0.08 | 3.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=slider_responsive
- > Notice in wp-content/plugins/slider-responsive-slideshow/slider-responsive-slideshow.php+141
Undefined variable: columns
- > GET request to /wp-admin/edit.php?post_type=slider_responsive
- > Notice in wp-content/plugins/slider-responsive-slideshow/slider-responsive-slideshow.php+141
Trying to access array offset on value of type null
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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/slider-responsive-slideshow/docs.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/slider-responsive-slideshow/slider-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/slider-responsive-slideshow/shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-responsive-slideshow/slider-responsive-slideshow.php:475
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/slider-responsive-slideshow/our-theme/awp-theme.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/slider-responsive-slideshow/featured-plugins/featured-plugins.php:3
- > 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)
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-theme-page
- > Network (severe)
wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-theme-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-upgrade-plugin-page
- > Network (severe)
wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-upgrade-plugin-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-featured-plugin-page
- > Network (severe)
wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-featured-plugin-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-doc-page
- > Network (severe)
wp-admin/edit.php?post_type=slider-responsive-slideshow&page=sr-doc-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: image slider, gallery slideshow, slider, photo slider, slider gallery
slider-responsive-slideshow/slider-responsive-slideshow.php Passed 13 tests
This is the main PHP file of "Slider Responsive Slideshow - Image slider, Gallery slideshow" version 1.3.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
83 characters long description:
An Easy Simple Responsive Beautiful Powerful CSS & JS Based WordPress Slider Plugin
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
Good job! No executable or dangerous file extensions detected24,430 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 1,599 | 124 | 16,038 |
SVG | 3 | 0 | 0 | 3,644 |
JavaScript | 8 | 797 | 239 | 3,004 |
PHP | 7 | 130 | 179 | 1,501 |
PO File | 1 | 110 | 113 | 243 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 2 | 10.53% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 1.75MB with 0.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/responsive-slideshow.png | 1,566.87KB | 440.72KB | ▼ 71.87% |
our-theme/img/aneeq-premium.png | 165.42KB | 57.84KB | ▼ 65.04% |
css/grabbing.png | 0.11KB | 0.14KB | 0.00% |
css/new-slide.png | 2.54KB | 1.19KB | ▼ 53.21% |
image/responsive-slider-slideshow.png | 60.32KB | 22.64KB | ▼ 62.47% |