Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/giga-slider/attachment.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; RC_Attachment has a deprecated constructor
Server metrics [RAM: ▼1.57MB] [CPU: ▼52.65ms] Passed 4 tests
Server-side resources used by GIGA Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.42 ▼1.04 | 5.41 ▼38.94 |
Dashboard /wp-admin | 2.44 ▼0.87 | 7.82 ▼40.84 |
Posts /wp-admin/edit.php | 2.44 ▼0.92 | 6.94 ▼42.51 |
Add New Post /wp-admin/post-new.php | 2.44 ▼3.45 | 9.42 ▼88.29 |
Media Library /wp-admin/upload.php | 2.44 ▼0.79 | 7.85 ▼25.82 |
Add New Slider /wp-admin/post-new.php?post_type=rc_slider | 2.44 | 7.16 |
GIGA Slider /wp-admin/edit.php?post_type=rc_slider | 2.44 | 8.87 |
Server storage [IO: ▲3.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
widget_rcs_slider_widget |
db_upgraded |
theysaidso_admin_options |
rcs_slider_settings |
can_compress_scripts |
Browser metrics Passed 4 tests
GIGA Slider: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲245 | 14.13 ▼0.62 | 11.89 ▲9.50 | 45.96 ▲7.18 |
Dashboard /wp-admin | 2,233 ▲45 | 4.86 ▼0.02 | 109.17 ▲4.73 | 41.76 ▼0.22 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.04 ▲0.05 | 40.11 ▼1.20 | 35.05 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,565 ▲32 | 18.02 ▼5.19 | 658.62 ▼19.67 | 51.46 ▼1.68 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.25 ▲0.00 | 97.39 ▼7.57 | 42.55 ▲0.17 |
Add New Slider /wp-admin/post-new.php?post_type=rc_slider | 2,799 | 4.22 | 76.46 | 45.38 |
GIGA Slider /wp-admin/edit.php?post_type=rc_slider | 1,256 | 3.53 | 45.86 | 28.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/giga-slider/attachment.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; RC_Attachment has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_rcs_slider_widget
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=rc_slider
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/giga-slider/attachment.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; RC_Attachment has a deprecated constructor
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=rc_slider
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/giga-slider/widget.php+4
Methods with the same name as their class will not be constructors in a future version of PHP; RCS_Slider_Widget has a deprecated constructor
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=rc_slider
- > POST request to /wp-admin/admin-ajax.php
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RCS_Slider_Widget is deprecated since version 4.3.0! Use __construct() instead.
SRP 50% 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 items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function rcs_get_caption_example_options() in wp-content/plugins/giga-slider/views/slides.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/giga-slider/views/options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/giga-slider/views/codes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/giga-slider/js_functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/giga-slider/giga-slider.php:16
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (19 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Fully responsive & multiple layouts support), #2 (sliders samples), #3 (Examples..), #4 (create new slider screen (options page)), #5 (Main interface screen), #6 (Possibility to add slider in widgets right from widgets admin panel)
giga-slider/giga-slider.php Passed 13 tests
This is the main PHP file of "GIGA Slider" version 1.0.0.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
41 characters long description:
Responsive Slider for your wordpress blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin19,201 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 2,420 | 1,307 | 14,719 |
CSS | 5 | 63 | 130 | 2,699 |
PHP | 11 | 261 | 406 | 1,736 |
Markdown | 1 | 7 | 0 | 29 |
JSON | 1 | 0 | 0 | 15 |
XML | 3 | 0 | 0 | 3 |
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.48 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
37 PNG files occupy 2.37MB with 1.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/camera/images/patterns/overlay8.png | 0.93KB | 0.10KB | ▼ 88.82% |
screenshot-3.png | 841.46KB | 260.00KB | ▼ 69.10% |
images/delete_16.png | 0.81KB | 0.69KB | ▼ 15.20% |
lib/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.34KB | 0.21KB | ▼ 38.24% |
screenshot-5.png | 58.31KB | 20.49KB | ▼ 64.86% |