Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.05ms] Passed 4 tests
An overview of server-side resources used by Horizontal Scroll Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.38 ▼8.38 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.22 ▲1.29 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.02 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.08 ▼14.60 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.54 ▼2.33 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_hss_slider-category&post_type=sp_horizontal_scroll | 3.26 | 36.08 |
Gallery showcases /wp-admin/edit.php?post_type=sp_horizontal_scroll&page=responsive_gallery-hss-bar-submenu-page | 3.24 | 31.18 |
All Images /wp-admin/edit.php?post_type=sp_horizontal_scroll | 3.31 | 29.71 |
Add New /wp-admin/post-new.php?post_type=sp_horizontal_scroll | 3.39 | 55.64 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Horizontal Scroll Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲146 | 13.47 ▼0.90 | 8.16 ▲6.01 | 43.54 ▲5.73 |
Dashboard /wp-admin | 2,236 ▲65 | 5.63 ▲0.05 | 91.29 ▲3.92 | 38.29 ▼0.29 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.00 ▲0.02 | 39.42 ▲0.98 | 36.68 ▼3.50 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.44 ▼0.05 | 670.71 ▼24.43 | 55.89 ▲9.56 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.21 ▼0.07 | 100.32 ▼10.07 | 42.88 ▼5.06 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_hss_slider-category&post_type=sp_horizontal_scroll | 1,289 | 2.12 | 27.41 | 31.02 |
Gallery showcases /wp-admin/edit.php?post_type=sp_horizontal_scroll&page=responsive_gallery-hss-bar-submenu-page | 834 | 2.17 | 25.55 | 29.01 |
All Images /wp-admin/edit.php?post_type=sp_horizontal_scroll | 1,119 | 1.90 | 29.60 | 26.44 |
Add New /wp-admin/post-new.php?post_type=sp_horizontal_scroll | 2,339 | 7.59 | 176.60 | 65.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_post_thumbnail() in wp-content/plugins/horizontal-scroll-slider/designs/template.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/horizontal-scroll-slider/hss_gallery_admin_settings_center.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/horizontal-scroll-slider/horizontal-scroll-slider.php:420
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=sp_horizontal_scroll&page=responsive_gallery-hss-bar-submenu-page
- > Network (severe)
wp-content/plugins/horizontal-scroll-slider/images/design-1.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
horizontal-scroll-slider/horizontal-scroll-slider.php Passed 13 tests
"Horizontal Scroll Slider" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
44 characters long description:
A simple Responsive Horizontal Scroll Slider
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,995 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 207 | 17 | 1,293 |
PHP | 3 | 63 | 26 | 376 |
CSS | 4 | 41 | 24 | 326 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hotnewsep.png | 0.92KB | 0.09KB | ▼ 90.39% |
images/icon_total_01.png | 6.39KB | 1.90KB | ▼ 70.31% |
images/hotnewsepa.png | 1.03KB | 0.18KB | ▼ 82.29% |
images/icon_navlq.png | 1.60KB | 0.45KB | ▼ 71.75% |
images/bg_topright.png | 1.30KB | 0.31KB | ▼ 75.92% |