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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.26ms] Passed 4 tests
Server-side resources used by Horizontal scroll image slideshow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.11 ▼3.01 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.07 ▼3.50 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 53.26 ▲3.43 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 87.45 ▼14.45 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.24 ▼0.09 |
Horizontal scroll image slideshow /wp-admin/options-general.php?page=horizontal-scroll-image-slideshow | 3.25 | 31.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 12 new options
New WordPress options |
---|
hsis_speed |
widget_recent-posts |
widget_recent-comments |
hsis_height |
theysaidso_admin_options |
db_upgraded |
hsis_title |
hsis_bgcolor |
widget_theysaidso_widget |
hsis_width |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Horizontal scroll image slideshow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.20 ▼1.09 | 1.74 ▼0.05 | 40.79 ▼3.43 |
Dashboard /wp-admin | 2,219 ▲19 | 5.84 ▲0.98 | 101.58 ▼2.13 | 40.24 ▼8.15 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.03 | 41.07 ▲4.33 | 36.29 ▲0.50 |
Add New Post /wp-admin/post-new.php | 1,553 ▲13 | 22.91 ▲4.77 | 655.53 ▲39.10 | 65.50 ▲11.52 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.18 ▼0.02 | 95.70 ▼4.20 | 42.30 ▼4.05 |
Horizontal scroll image slideshow /wp-admin/options-general.php?page=horizontal-scroll-image-slideshow | 883 | 2.18 | 22.51 | 27.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/horizontal-scroll-image-slideshow/horizontal-scroll-image-slideshow.php:277
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: widget, scroll, images, image, gallery...
horizontal-scroll-image-slideshow/horizontal-scroll-image-slideshow.php 92% from 13 tests
The main file in "Horizontal scroll image slideshow" v. 10.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 192 characters long)
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
Success! There were no dangerous files found in this plugin551 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 16 | 249 |
PO File | 3 | 58 | 77 | 169 |
JavaScript | 1 | 8 | 18 | 107 |
XML | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin