Benchmarks
Plugin footprint 65% 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.55MB] [CPU: ▼2.75ms] Passed 4 tests
A check of server-side resources used by Video Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.55 | 39.08 ▼3.14 |
Dashboard /wp-admin | 3.86 ▲0.55 | 48.57 ▼0.89 |
Posts /wp-admin/edit.php | 3.97 ▲0.62 | 47.79 ▼0.57 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 90.55 ▼6.41 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 35.34 ▲2.95 |
Preview Video Slider /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_preview | 3.78 | 38.01 |
Manage Media /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_management | 3.78 | 40.67 |
Slider Settings /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail | 3.78 | 36.90 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 52 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_e_gallery |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
wp_vgallery_thumbnail_msg |
db_upgraded |
widget_recent-posts |
vgwt_video_slider_settings |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Video Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲163 | 13.42 ▼1.32 | 8.05 ▲6.39 | 38.76 ▼4.92 |
Dashboard /wp-admin | 2,226 ▲46 | 5.63 ▼0.09 | 93.09 ▼2.57 | 43.04 ▲0.28 |
Posts /wp-admin/edit.php | 2,131 ▲34 | 1.97 ▼0.05 | 39.14 ▲1.33 | 35.97 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.26 ▼0.14 | 611.14 ▼15.91 | 55.12 ▲8.04 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.15 ▼0.04 | 98.37 ▼0.30 | 42.60 ▼0.30 |
Preview Video Slider /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_preview | 1,258 | 5.03 | 112.29 | 78.15 |
Manage Media /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_management | 1,306 | 4.49 | 98.60 | 86.51 |
Slider Settings /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail | 1,777 | 4.36 | 85.25 | 78.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_e_gallery
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- wp_vgallery_thumbnail_msg
- widget_recent-comments
- vgwt_video_slider_settings
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_preview
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'attrs')" "TypeError: Cannot read properties of undefined (reading 'attrs')\n at Object.updateOverlay (/wp-content/plugins/video-slider-with-thumbnails/js/video-gallery-js.js?ver=6.3.1:966:40)\n at Object.init (/wp-content/plugins/video-slider-with-thumbnails/js/video-gallery-js.js?ver=6.3.1:1423:18)\n at HTMLUListElement.\u003Canonymous> (/wp-content/plugins/video-slider-with-thumbnails/js/video-gallery-js.js?ver=6.3.1:1457:25)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:1594)\n at $.fn.galleryViewV (/wp-content/plugins/video-slider-with-thumbnails/js/video-gallery-js.js?ver=6.3.1:1455:25)\n at HTMLDivElement.\u003Canonymous> (/wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_preview:205:79)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:1594)\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_preview:204:69)" undefined
- > GET request to /wp-admin/admin.php?page=responsive_video_slider_with_thumbnail_media_preview
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'attrs')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: youtube video slider, photo and video slider, video slider, wp video gallery, responsive video slider...
video-slider-with-thumbnails/video-slider-with-thumbnails.php 92% from 13 tests
The entry point to "Video Gallery" version 1.0.13 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,579 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 1,013 | 146 | 2,897 |
JavaScript | 4 | 312 | 127 | 1,387 |
CSS | 2 | 56 | 43 | 295 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 30.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 70.00% |
Functions | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.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
34 PNG files occupy 0.26MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/themes/light/play.png | 0.37KB | 0.21KB | ▼ 43.09% |
css/themes/dark/panel-prev.png | 0.35KB | 0.21KB | ▼ 40.50% |
css/themes/dark/pause.png | 0.35KB | 0.20KB | ▼ 41.57% |
css/themes/dark/panel-next-big.png | 0.67KB | 0.63KB | ▼ 5.81% |
images/vl-box/cls.png | 1.12KB | 0.99KB | ▼ 12.03% |