Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/slider-images/rw-slider-image-install.php+156
Undefined offset: 0
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.38ms] Passed 4 tests
Analyzing server-side resources used by Slider Carousel - Image Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.99 ▼0.20 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.02 ▲7.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.03 ▼5.86 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.69 ▲0.12 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.68 ▲4.41 |
Server storage [IO: ▲4.39MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 257 new files
Database: 11 new tables, 9 new options
New tables |
---|
wp_rich_web_slider_id |
wp_rich_web_slider_effect3 |
wp_rich_web_slider_effect5 |
wp_rich_web_slider_effect6 |
wp_rich_web_slider_effects_data |
wp_rich_web_slider_effect7 |
wp_rich_web_slider_effect1 |
wp_rich_web_photo_slider_instal |
wp_rich_web_slider_effect9 |
wp_rich_web_slider_font_family |
... |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_rich_web_slider_image |
widget_recent-comments |
rw_slider_image_check_version |
widget_theysaidso_widget |
rw_slider_image_check_db |
Browser metrics 75% from 4 tests
Checking browser requirements for Slider Carousel - Image Slider
It is time to focus on the following
- Nodes: You must limit the number of DOM nodes under 25,000 (currently 97,193 on /wp-admin/admin.php?page=Rich-Web Slider General)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲174 | 14.15 ▲1.00 | 8.55 ▲6.44 | 40.95 ▼11.87 |
Dashboard /wp-admin | 2,228 ▲19 | 5.82 ▲0.99 | 101.89 ▲2.75 | 67.29 ▲29.30 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.03 | 35.06 ▼5.29 | 31.54 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,576 ▲62 | 18.59 ▲1.11 | 679.31 ▲6.16 | 44.71 ▼11.29 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.19 ▼0.02 | 108.99 ▼8.52 | 81.00 ▲32.13 |
Our Products /wp-admin/admin.php?page=Rich-Web Slider Products | 980 | 2.01 | 25.41 | 36.81 |
Slider Options /wp-admin/admin.php?page=Rich-Web Slider General | 97,193 | 1.86 | 78.30 | 38.38 |
Slider Manager /wp-admin/admin.php?page=Rich-Web Slider Admin | 1,387 | 4.28 | 57.40 | 68.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 11 tables in the database
- wp_rich_web_slider_effect6
- wp_rich_web_slider_effect1
- wp_rich_web_slider_effects_data
- wp_rich_web_photo_slider_manager
- wp_rich_web_slider_effect7
- wp_rich_web_slider_effect9
- wp_rich_web_slider_font_family
- wp_rich_web_slider_effect3
- wp_rich_web_slider_id
- wp_rich_web_photo_slider_instal
- ...
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_rich_web_slider_image
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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 fix the following
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/slider-images/style/rw_theme_animation_slider.css.php
- > /wp-content/plugins/slider-images/scripts/rw_theme_slider_navigation.js.php
- > /wp-content/plugins/slider-images/scripts/rw_theme_circle_thumbnails.js.php
- > /wp-content/plugins/slider-images/scripts/rw_theme_thumbnails_slider.js.php
- > /wp-content/plugins/slider-images/style/rw_theme_slider_navigation.css.php
- > /wp-content/plugins/slider-images/scripts/rw_theme_fashion_slider.js.php
- 84× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: rw_loader_options_arr in wp-content/plugins/slider-images/style/rw_theme_slider_navigation.css.php on line 2
- > PHP Notice
Undefined variable: rw_theme_options_arr in wp-content/plugins/slider-images/style/rw_theme_flexible_slider.css.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/slider-images/style/rw_theme_flexible_slider.css.php:826
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/slider-images/scripts/rw_theme_dynamic_slider.js.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/slider-images/rw-slider-image-check.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/slider-images/rw-slider-image-header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/slider-images/style/rw_theme_content_slider.css.php:758
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/slider-images/php/rw_theme_slider_navigation.php:84
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/slider-images/rw-slider-image-check.php on line 3
- > PHP Notice
Trying to get property 'Rich_Web_Sl_FS_Arr_Type' of non-object in wp-content/plugins/slider-images/style/rw_theme_flexible_slider.css.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #22 (Slider Accordion), #23 (Slider Accordion), #24 (Animation Type), #25 (Animation Type)
- Screenshots: Please add descriptions for these screenshots #6, #7, #8, #9 in slider-images/assets to your readme.txt
slider-images/Slider.php 92% from 13 tests
The main file in "Slider Carousel - Image Slider" v. 1.5.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("slider-images.php" instead of "Slider.php")
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
Everything looks great! No dangerous files found in this plugin34,364 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 24 | 265 | 27,303 |
CSS | 14 | 40 | 18 | 5,042 |
JavaScript | 54 | 0 | 70 | 1,140 |
SVG | 3 | 0 | 0 | 879 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 13.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
111 compressed PNG files occupy 0.40MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-17.png | 0.33KB | 0.29KB | ▼ 13.20% |
images/icon-25.png | 1.31KB | 1.14KB | ▼ 13.33% |
images/12-12.png | 2.31KB | 2.27KB | ▼ 1.73% |
images/9.png | 2.13KB | 2.09KB | ▼ 2.02% |
images/6.png | 2.10KB | 2.06KB | ▼ 1.86% |