Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲2.09MB] [CPU: ▲14.77ms] Passed 4 tests
Analyzing server-side resources used by Slider Hero with Animation, Video Background
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.62 ▲1.15 | 50.48 ▲8.61 |
Dashboard /wp-admin | 5.71 ▲2.36 | 66.85 ▲7.29 |
Posts /wp-admin/edit.php | 5.82 ▲2.46 | 67.08 ▲21.22 |
Add New Post /wp-admin/post-new.php | 8.32 ▲2.42 | 119.30 ▲21.95 |
Media Library /wp-admin/upload.php | 5.64 ▲2.40 | 59.70 ▲24.98 |
Settings /wp-admin/admin.php?page=sh-options-page | 5.62 | 63.75 |
Manage Slider /wp-admin/admin.php?page=Slider-Hero | 6.73 | 60.76 |
Getting Started /wp-admin/admin.php?page=qcld_sliderhero_getting_started | 5.62 | 50.33 |
Import/Export (Pro) /wp-admin/admin.php?page=import-export | 5.59 | 61.45 |
Help /wp-admin/admin.php?page=qc-sliderhero-sessions-help-license | 5.60 | 51.75 |
Support /wp-admin/admin.php?page=qcpro-promo-page-qcld-slider-hero-pro-support | 5.59 | 68.69 |
New Slider /wp-admin/admin.php?page=New-Slider-Hero | 5.59 | 47.38 |
Server storage [IO: ▲18.97MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 519 new files
Database: 2 new tables, 11 new options
New tables |
---|
wp_qcld_slider_hero_sliders |
wp_qcld_slider_hero_slides |
New WordPress options |
---|
widget_recent-comments |
hero_latest_dpn |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
sh_plugin_options |
ot_media_post_ID |
option_tree_settings |
theysaidso_admin_options |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Slider Hero with Animation, Video Background
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,603 ▲856 | 14.24 ▼0.06 | 11.18 ▲9.52 | 32.90 ▼10.01 |
Dashboard /wp-admin | 2,851 ▲674 | 6.25 ▲0.73 | 96.79 ▼5.03 | 39.61 ▼0.84 |
Posts /wp-admin/edit.php | 2,759 ▲659 | 2.87 ▲0.93 | 45.48 ▲2.78 | 40.86 ▲2.48 |
Add New Post /wp-admin/post-new.php | 7,007 ▲5,481 | 19.99 ▼2.99 | 903.05 ▲264.93 | 34.73 ▼21.23 |
Media Library /wp-admin/upload.php | 2,062 ▲668 | 4.91 ▲0.73 | 107.16 ▲7.62 | 46.99 ▲3.30 |
Settings /wp-admin/admin.php?page=sh-options-page | 1,912 | 6.04 | 122.14 | 74.18 |
Manage Slider /wp-admin/admin.php?page=Slider-Hero | 1,793 | 4.72 | 84.42 | 106.22 |
Getting Started /wp-admin/admin.php?page=qcld_sliderhero_getting_started | 3,885 | 23.36 | 749.20 | 92.11 |
Import/Export (Pro) /wp-admin/admin.php?page=import-export | 1,599 | 2.51 | 38.24 | 42.88 |
Help /wp-admin/admin.php?page=qc-sliderhero-sessions-help-license | 2,812 | 16.65 | 468.47 | 42.80 |
Support /wp-admin/admin.php?page=qcpro-promo-page-qcld-slider-hero-pro-support | 2,932 | 2.52 | 49.84 | 99.78 |
New Slider /wp-admin/admin.php?page=New-Slider-Hero | 2,359 | 2.35 | 33.78 | 226.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_qcld_slider_hero_sliders
- wp_qcld_slider_hero_slides
- Zombie WordPress options detected upon uninstall: 11 options
- option_tree_settings
- can_compress_scripts
- db_upgraded
- sh_plugin_options
- widget_recent-posts
- theysaidso_admin_options
- option_tree
- widget_recent-comments
- hero_latest_dpn
- ot_media_post_ID
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 15× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/slider-hero/qc-view/slider_hero_front_end_audio.php
- > /wp-content/plugins/slider-hero/option-tree/includes/ot-functions.php
- > /wp-content/plugins/slider-hero/qc-fnc/qcld_sliderhero_ajax_prev.php
- > /wp-content/plugins/slider-hero/option-tree/includes/class-ot-post-formats.php
- > /wp-content/plugins/slider-hero/option-tree/includes/ot-functions-compat.php
- > /wp-content/plugins/slider-hero/qc-fnc/qcld_sliderhero_ajax_prev2.php
- > /wp-content/plugins/slider-hero/option-tree/includes/ot-functions-option-types.php
- > /wp-content/plugins/slider-hero/option-tree/includes/ot-functions-docs-page.php
- > /wp-content/plugins/slider-hero/option-tree/includes/class-ot-cleanup.php
- > /wp-content/plugins/slider-hero/option-tree/includes/class-ot-settings.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: _slider in wp-content/plugins/slider-hero/qc-view/slider_hero_front_end_audio.php on line 35
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/slider-hero/gutenberg/slider-hero-block/plugin.php:6
- > PHP Notice
Trying to get property 'type' of non-object in wp-content/plugins/slider-hero/qc-view/slider_hero_tab_animate_css_section.php on line 2
- > PHP Notice
Trying to get property 'type' of non-object in wp-content/plugins/slider-hero/qc-view/slider_hero_front_end_audio.php on line 35
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/slider-hero/qc-view/slider_hero_front_end_audio.php on line 35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-hero/option-tree/assets/theme-mode/demo-meta-boxes.php:8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/slider-hero/qc-view/slider_hero_tab_animate_css_section.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/slider-hero/qc-support-promo-page/class-qc-support-promo-page.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/slider-hero/class-qc-free-plugin-upgrade-notice.php:180
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-hero/elementor/init.php:4
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=sh-options-page
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: _qchero is not defined" "ReferenceError: _qchero is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/slider-hero/js/admin.js?ver=6.3.1:178:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=sh-options-page
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: _qchero is not defined" "ReferenceError: _qchero is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/slider-hero/js/admin.js?ver=6.3.1:585:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sh-options-page
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28721 Uncaught ReferenceError: _qchero is not defined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=New-Slider-Hero
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: _qchero is not defined" "ReferenceError: _qchero is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/slider-hero/js/admin.js?ver=6.3.1:178:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=New-Slider-Hero
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: _qchero is not defined" "ReferenceError: _qchero is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/slider-hero/js/admin.js?ver=6.3.1:585:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=qcld_sliderhero_getting_started
- > Network (severe)
wp-admin/ajax-loader.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=New-Slider-Hero
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: _qchero is not defined
- > GET request to /wp-admin/admin.php?page=qcld_sliderhero_getting_started
- > Network (severe)
wp-admin/fonts/slick.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=qcld_sliderhero_getting_started
- > Network (severe)
wp-admin/fonts/slick.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=qcpro-promo-page-qcld-slider-hero-pro-support
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tabs&ver=6.3.1 1:28609 "jQuery.Deferred exception: _qchero is not defined" "ReferenceError: _qchero is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/slider-hero/js/admin.js?ver=6.3.1:178:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tabs&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tabs&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=qcpro-promo-page-qcld-slider-hero-pro-support
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tabs&ver=6.3.1 1:28609 "jQuery.Deferred exception: _qchero is not defined" "ReferenceError: _qchero is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/slider-hero/js/admin.js?ver=6.3.1:585:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tabs&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tabs&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=qcpro-promo-page-qcld-slider-hero-pro-support
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-tabs&ver=6.3.1 1:28721 Uncaught ReferenceError: _qchero is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: elementor slider, video slider, banner slider, slider, video background
slider-hero/qcld-slider-main.php 85% from 13 tests
The main PHP file in "Slider Hero with Animation, Video Background" ver. 8.5.6 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 195 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("slider-hero.php" instead of "qcld-slider-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected86,055 lines of code in 206 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 7 | 0 | 0 | 28,297 |
PHP | 56 | 5,480 | 4,637 | 23,990 |
CSS | 32 | 1,252 | 567 | 16,099 |
JavaScript | 98 | 2,823 | 1,053 | 13,525 |
SVG | 6 | 0 | 0 | 3,930 |
LESS | 1 | 29 | 29 | 166 |
Sass | 3 | 3 | 1 | 37 |
HTML | 1 | 0 | 0 | 8 |
Markdown | 2 | 1 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 36.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 89 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 81 | 91.01% |
▷ Protected methods | 2 | 2.25% |
▷ Private methods | 6 | 6.74% |
Functions | 259 | |
▷ Named functions | 254 | 98.07% |
▷ Anonymous functions | 5 | 1.93% |
Constants | 34 | |
▷ Global constants | 34 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
116 PNG files occupy 7.10MB with 1.95MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
qc-support-promo-page/images/premium-theme-simple-blog.png | 72.36KB | 21.20KB | ▼ 70.70% |
images/clouds_3.png | 110.61KB | 88.73KB | ▼ 19.78% |
images/fonts/sedgwick_ave.png | 3.65KB | 2.94KB | ▼ 19.44% |
images/restart.png | 2.09KB | 2.53KB | 0.00% |
qc-support-promo-page/images/notice-pro.png | 6.63KB | 4.80KB | ▼ 27.49% |