Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/slider-range-htapps/premium/LicenseManagerClient.php+36
Undefined index: HTAppsSliderRange_update_version
Server metrics [RAM: ▼1.74MB] [CPU: ▼49.39ms] Passed 4 tests
An overview of server-side resources used by HT Slider Range for Amazon affiliates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 38.93 ▼1.20 |
Dashboard /wp-admin | 2.20 ▼1.10 | 9.98 ▼40.03 |
Posts /wp-admin/edit.php | 2.20 ▼1.15 | 9.92 ▼36.16 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.68 | 10.05 ▼94.94 |
Media Library /wp-admin/upload.php | 2.20 ▼1.02 | 8.83 ▼26.42 |
Slider range /wp-admin/admin.php?page=ht-slider-range | 2.20 | 10.03 |
License /wp-admin/admin.php?page=ht-slider-range-licencia | 2.20 | 11.15 |
Product Post /wp-admin/admin.php?page=ht-Post-items-product | 2.20 | 12.35 |
Amazon data /wp-admin/admin.php?page=ht-slider-range-data | 2.20 | 10.65 |
Slider appearance /wp-admin/admin.php?page=ht-slider-range-style | 2.20 | 9.26 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 105 new files
Database: 1 new table, 29 new options
New tables |
---|
wp_HTSliderRAP_slider_range |
New WordPress options |
---|
can_compress_scripts |
HTSliderRAP_slider_handle_bg |
HTSliderRAP_post_btn_bg_hover |
HTSliderRAP_data |
HTSliderRAP_post_btn_text |
HTSliderRAP_post_content_bg |
theysaidso_admin_options |
HTSliderRAP_post_btn_bg |
HTSliderRAP_slider_bar_bg |
HTAppsSliderRange_license_status |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HT Slider Range for Amazon affiliates
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 13.92 ▼0.45 | 7.55 ▲5.86 | 44.46 ▲6.48 |
Dashboard /wp-admin | 2,247 ▲55 | 5.84 ▲0.90 | 95.89 ▼17.04 | 41.40 ▲1.12 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.02 ▲0.01 | 39.72 ▲1.19 | 36.35 ▲1.40 |
Add New Post /wp-admin/post-new.php | 1,561 ▲32 | 23.31 ▲4.83 | 673.37 ▲47.04 | 55.94 ▲2.00 |
Media Library /wp-admin/upload.php | 1,429 ▲47 | 4.19 ▼0.05 | 94.66 ▼3.98 | 43.58 ▼0.96 |
Slider range /wp-admin/admin.php?page=ht-slider-range | 1,137 | 1.69 | 24.72 | 28.03 |
License /wp-admin/admin.php?page=ht-slider-range-licencia | 869 | 1.71 | 26.52 | 27.48 |
Product Post /wp-admin/admin.php?page=ht-Post-items-product | 1,001 | 2.03 | 30.45 | 38.90 |
Amazon data /wp-admin/admin.php?page=ht-slider-range-data | 989 | 1.84 | 25.25 | 25.02 |
Slider appearance /wp-admin/admin.php?page=ht-slider-range-style | 951 | 2.03 | 22.52 | 28.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/slider-range-htapps/premium/LicenseManagerClient.php+36
Undefined index: HTAppsSliderRange_update_version
- The uninstall procedure failed, leaving 1 table in the database
- wp_HTSliderRAP_slider_range
- Zombie WordPress options were found after uninstall: 29 options
- can_compress_scripts
- HTSliderRAP_post_btn_bg
- HTSliderRAP_content_text_color
- db_upgraded
- HTSliderRAP_post_btn_text_color
- widget_recent-comments
- HTSliderRAP_slider_content_bg
- HTAppsSliderRange_license_serial_code
- widget_recent-posts
- HTAppsSliderRange_license_version_update
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ht-slider-range-style
- > Notice in wp-content/plugins/slider-range-htapps/premium/LicenseManagerClient.php+36
Undefined index: HTAppsSliderRange_update_version
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ht-slider-range-style
- > Notice in wp-content/plugins/slider-range-htapps/premium/LicenseManagerClient.php+136
Undefined index: HTAppsSliderRange_save_serial_and_mail
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+36
Undefined index: ads_update
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+38
Undefined index: formClusterUpdate
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+43
Undefined index: app_id_delete
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+45
Undefined index: formClusterDelete
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+178
Undefined variable: update
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+61
Trying to get property 'id' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+70
Trying to get property 'active' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+78
Trying to get property 'title' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+86
Trying to get property 'currency' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+94
Trying to get property 'btn_text' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+110
Trying to get property 'min' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+118
Trying to get property 'max' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+126
Trying to get property 'step' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+134
Trying to get property 'initial' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+142
Trying to get property 'end_value' of non-object
- > GET request to /wp-admin/admin.php?page=ht-slider-range
- > Notice in wp-content/plugins/slider-range-htapps/views/sliderRange.php+178
Trying to get property 'search' of non-object
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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/bin/gh-actions-builder.php
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require(wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/format.php on line 3
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/format.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/unit/Moment/MomentCanadianFrenchLocaleTest.php:19
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/unit/Moment/MomentPolishLocaleTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/unit/Moment/MomentUkrainianLocaleTest.php:7
- > PHP Warning
require(wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/test.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Moment\\MomentBritishEnglishLocaleTest' not found in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/unit/Moment/MomentSimilarLocaleTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/unit/Moment/MomentLatvianLocaleTest.php:7
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/bootstrap.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/slider-range-htapps/premium/vendor/fightbulc/moment/tests/unit/Moment/MomentTest.php:7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8, #9 in slider-range-htapps/assets to your readme.txt
slider-range-htapps/init.php 85% from 13 tests
The entry point to "HT Slider Range for Amazon affiliates" version 1.1.10 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("slider-range-htapps.php" instead of "init.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected7,938 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 83 | 1,364 | 1,253 | 6,799 |
Markdown | 3 | 218 | 0 | 680 |
HTML | 1 | 58 | 0 | 163 |
YAML | 1 | 49 | 0 | 153 |
JSON | 3 | 0 | 0 | 113 |
SVG | 1 | 1 | 0 | 13 |
XML | 1 | 1 | 0 | 13 |
CSS | 3 | 0 | 0 | 3 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 256 | |
▷ Static methods | 28 | 10.94% |
▷ Public methods | 230 | 89.84% |
▷ Protected methods | 7 | 2.73% |
▷ Private methods | 19 | 7.42% |
Functions | 135 | |
▷ Named functions | 13 | 9.63% |
▷ Anonymous functions | 122 | 90.37% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected