Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.02ms] Passed 4 tests
Server-side resources used by Responsive Slider Gallery - Image Slideshow Maker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.07 ▲3.40 |
Dashboard /wp-admin | 3.45 ▲0.15 | 50.04 ▲3.37 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.72 ▼2.46 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 83.47 ▼4.38 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 40.14 ▲5.36 |
Docs /wp-admin/edit.php?post_type=responsive_slider&page=rsgallery-doc-page | 3.33 | 35.61 |
Add Slider Gallery /wp-admin/post-new.php?post_type=responsive_slider | 3.64 | 48.75 |
Our Theme /wp-admin/edit.php?post_type=responsive_slider&page=sr-theme-page | 3.33 | 34.73 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.39 | 32.04 |
All Slider Gallery /wp-admin/edit.php?post_type=responsive_slider | 3.32 | 34.66 |
Server storage [IO: ▲5.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Slider Gallery - Image Slideshow Maker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲183 | 13.76 ▼0.80 | 7.78 ▲6.05 | 43.08 ▼0.66 |
Dashboard /wp-admin | 2,268 ▲91 | 5.57 ▼0.09 | 86.28 ▲0.34 | 44.33 ▲1.86 |
Posts /wp-admin/edit.php | 2,182 ▲82 | 2.07 ▲0.06 | 34.32 ▼1.45 | 39.61 ▲3.77 |
Add New Post /wp-admin/post-new.php | 1,589 ▲63 | 23.10 ▼0.01 | 677.23 ▼14.82 | 64.52 ▼2.34 |
Media Library /wp-admin/upload.php | 1,475 ▲72 | 4.25 ▲0.07 | 95.73 ▼2.56 | 47.78 ▲0.60 |
Docs /wp-admin/edit.php?post_type=responsive_slider&page=rsgallery-doc-page | 946 | 2.05 | 23.49 | 34.15 |
Add Slider Gallery /wp-admin/post-new.php?post_type=responsive_slider | 2,368 | 3.92 | 71.23 | 170.41 |
Our Theme /wp-admin/edit.php?post_type=responsive_slider&page=sr-theme-page | 1,019 | 1.85 | 27.50 | 57.83 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,080 | 2.03 | 23.13 | 28.59 |
All Slider Gallery /wp-admin/edit.php?post_type=responsive_slider | 1,163 | 1.99 | 34.00 | 34.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=responsive_slider
- > Notice in wp-content/plugins/responsive-slider-gallery/responsive-slider-gallery.php+143
Undefined variable: columns
- > GET request to /wp-admin/edit.php?post_type=responsive_slider
- > Notice in wp-content/plugins/responsive-slider-gallery/responsive-slider-gallery.php+143
Trying to access array offset on value of type null
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
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/responsive-slider-gallery/docs.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/responsive-slider-gallery/slider-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/responsive-slider-gallery/class-tgm-plugin-activation.php:2129
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/responsive-slider-gallery/shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-slider-gallery/responsive-slider-gallery.php:460
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/responsive-slider-gallery/our-theme/awp-theme.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: photo slider, image slider, slider, slideshow creator, slideshow maker...
responsive-slider-gallery/responsive-slider-gallery.php Passed 13 tests
The principal PHP file in "Responsive Slider Gallery - Image Slideshow Maker" v. 1.3.9 is loaded by WordPress automatically on each request
107 characters long description:
A Responsive Simple Beautiful Easy Powerful CSS & JS Based WordPress Image Slider Gallery Plugin [standard]
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin32,536 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 1,746 | 88 | 18,773 |
SVG | 5 | 0 | 0 | 5,495 |
JavaScript | 5 | 1,209 | 510 | 5,256 |
PHP | 6 | 581 | 1,762 | 2,820 |
PO File | 1 | 85 | 92 | 192 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 43.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 120 | |
▷ Static methods | 5 | 4.17% |
▷ Public methods | 95 | 79.17% |
▷ Protected methods | 25 | 20.83% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.86MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
our-theme/img/aneeq-premium.png | 165.42KB | 57.84KB | ▼ 65.04% |
image/responsive-slider-pricing-table.png | 62.83KB | 23.45KB | ▼ 62.68% |
css/fotorama.png | 3.15KB | 3.22KB | 0.00% |
image/responsive-slider.png | 640.84KB | 213.33KB | ▼ 66.71% |
css/new-slide.png | 2.54KB | 1.19KB | ▼ 53.21% |