Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.82ms] Passed 4 tests
Server-side resources used by HT Slider For Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.55 ▲7.24 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.22 ▼5.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.97 ▼4.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.55 ▼8.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.33 ▲2.61 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by HT Slider For Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 14.44 ▲0.06 | 1.90 ▼0.37 | 38.80 ▼3.47 |
Dashboard /wp-admin | 2,227 ▲38 | 5.86 ▲0.97 | 97.64 ▼18.71 | 38.92 ▼1.19 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.04 ▲0.05 | 38.79 ▼3.78 | 36.31 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,560 ▲24 | 23.42 ▲0.24 | 662.27 ▼16.57 | 53.11 ▼10.57 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.22 ▲0.06 | 102.10 ▼1.55 | 45.38 ▲3.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/ht-slider-for-elementor/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ht-slider-for-elementor/include/helpers_function.php:104
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Icons_Manager' not found in wp-content/plugins/ht-slider-for-elementor/include/htslider_icon_manager.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ht-slider-for-elementor/include/custom-post-type.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ht-slider-for-elementor/include/admin/templates_list.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: slider, elementor addons, widgets, elementor, post type slider
ht-slider-for-elementor/ht-slider-for-elementor.php 92% from 13 tests
The primary PHP file in "HT Slider For Elementor" version 1.5.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin9,315 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 702 | 269 | 6,117 |
CSS | 6 | 113 | 49 | 1,298 |
JSON | 1 | 1 | 0 | 982 |
JavaScript | 7 | 298 | 161 | 918 |
PHP code Passed 2 tests
A short 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.20 |
Average class complexity | 22.29 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 77 | |
▷ Static methods | 8 | 10.39% |
▷ Public methods | 69 | 89.61% |
▷ Protected methods | 6 | 7.79% |
▷ Private methods | 2 | 2.60% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 8 | 72.73% |
▷ Class constants | 3 | 27.27% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/extensions/whols-pro.png | 15.30KB | 7.40KB | ▼ 51.65% |
assets/admin/images/extensions/htmega-pro.png | 4.60KB | 4.78KB | 0.00% |
(invalid) assets/admin/images/extensions/wp-plugin-manager-pro.png | 13.31KB | 0.00KB | ▼ 100.00% |
(invalid) assets/admin/images/extensions/was-this-helpful.png | 1.21KB | 0.00KB | ▼ 100.00% |
(invalid) assets/admin/images/extensions/ht-google-place-review.png | 2.64KB | 0.00KB | ▼ 100.00% |