Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.63ms] Passed 4 tests
A check of server-side resources used by drop in image slideshow gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.54 ▼4.99 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.85 ▼7.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.14 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 83.81 ▼15.44 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.65 ▲3.89 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
DIISG_delay |
DIISG_height |
DIISG_width |
DIISG_title |
can_compress_scripts |
widget_theysaidso_widget |
DIISG_link |
... |
Browser metrics Passed 4 tests
A check of browser resources used by drop in image slideshow gallery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.30 ▼0.95 | 1.85 ▼0.24 | 37.99 ▼10.25 |
Dashboard /wp-admin | 2,209 ▲21 | 5.84 ▲0.92 | 107.00 ▲1.66 | 39.89 ▲0.06 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.00 | 39.41 ▲0.16 | 35.96 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.49 ▲0.28 | 606.53 ▼36.31 | 51.46 ▼4.86 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.25 ▲0.08 | 94.45 ▼8.08 | 41.03 ▼2.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/drop-in-image-slideshow-gallery/drop-in-image-slideshow-gallery.php:206
- > 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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: gallery, image, slideshow, drop in
drop-in-image-slideshow-gallery/drop-in-image-slideshow-gallery.php 92% from 13 tests
The main PHP file in "drop in image slideshow gallery" ver. 12.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected420 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 25 | 19 | 189 |
PO File | 3 | 39 | 45 | 158 |
JavaScript | 1 | 12 | 18 | 73 |
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.17 |
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 | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected