Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.46ms] Passed 4 tests
A check of server-side resources used by Image horizontal reel scroll slideshow
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.38 ▲2.07 |
Dashboard /wp-admin | 3.32 ▼0.02 | 41.99 ▼13.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 38.44 ▼11.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 77.40 ▼26.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.38 ▲0.67 |
Image horizontal reel scroll slideshow /wp-admin/options-general.php?page=image-horizontal-reel-scroll-slideshow | 3.30 | 30.69 |
Server storage [IO: ▲0.28MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 27 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_Ihrss_plugin |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Ihrss_slideshowgap |
Ihrss_random |
Ihrss_sliderheight |
widget_recent-comments |
Ihrss_slidebgcolor |
Ihrss_slidespeed |
Ihrss_type |
... |
Browser metrics Passed 4 tests
Image horizontal reel scroll slideshow: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.02 | 1.73 ▲0.10 | 36.42 ▼1.25 |
Dashboard /wp-admin | 2,199 ▲27 | 5.55 ▼0.16 | 80.76 ▼17.26 | 35.39 ▼7.69 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.04 | 32.45 ▼7.54 | 32.36 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,531 ▼3 | 23.41 ▲5.20 | 655.40 ▲37.78 | 60.21 ▼6.15 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.26 ▲0.13 | 97.83 ▲1.83 | 41.64 ▼1.71 |
Image horizontal reel scroll slideshow /wp-admin/options-general.php?page=image-horizontal-reel-scroll-slideshow | 1,083 | 2.04 | 23.98 | 24.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/image-horizontal-reel-scroll-slideshow/pages/image-management-edit.php
- > /wp-content/plugins/image-horizontal-reel-scroll-slideshow/pages/image-setting.php
- > /wp-content/plugins/image-horizontal-reel-scroll-slideshow/pages/image-management-show.php
- > /wp-content/plugins/image-horizontal-reel-scroll-slideshow/pages/image-management-add.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/image-horizontal-reel-scroll-slideshow/image-horizontal-reel-scroll-slideshow.php:23
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/image-horizontal-reel-scroll-slideshow/image-horizontal-reel-scroll-slideshow.php on line 18
- > 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
6 plugin tags: gallery, scroll, horizontal, reel, slideshow...
image-horizontal-reel-scroll-slideshow/image-horizontal-reel-scroll-slideshow.php 92% from 13 tests
The main file in "Image horizontal reel scroll slideshow" v. 13.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 177 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,801 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 95 | 56 | 857 |
PO File | 5 | 324 | 482 | 812 |
JavaScript | 2 | 10 | 26 | 132 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 2.98KB | 0.54KB | ▼ 81.86% |