Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼0.67ms] Passed 4 tests
A check of server-side resources used by video carousel slider with lightbox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 43.68 ▼2.38 |
Dashboard /wp-admin | 3.81 ▲0.50 | 58.96 ▲3.27 |
Posts /wp-admin/edit.php | 3.92 ▲0.56 | 56.57 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 91.37 ▼1.33 |
Media Library /wp-admin/upload.php | 3.72 ▲0.50 | 43.57 ▼0.41 |
Manage Videos /wp-admin/admin.php?page=responsive_video_gallery_with_lightbox_video_management | 3.73 | 46.30 |
Carousel Settings /wp-admin/admin.php?page=responsive_video_gallery_with_lightbox | 3.72 | 45.88 |
Preview Gallery /wp-admin/admin.php?page=responsive_video_gallery_with_lightbox_video_preview | 3.73 | 45.24 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 42 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_responsive_video_gallery_plus_responsive_lightbox |
New WordPress options |
---|
responsive_video_gallery_plus_lightbox_messages |
widget_recent-comments |
theysaidso_admin_options |
responsive_video_gallery_slider_settings |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for video carousel slider with lightbox
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.24 ▼0.12 | 1.60 ▼0.56 | 41.56 ▼0.39 |
Dashboard /wp-admin | 2,223 ▲49 | 5.52 ▼0.15 | 99.38 ▼27.09 | 53.64 ▲9.48 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.03 ▲0.05 | 39.13 ▲1.60 | 35.47 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.34 ▼0.11 | 678.48 ▼22.88 | 52.07 ▲0.17 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.20 ▲0.10 | 108.41 ▼11.31 | 46.76 ▼0.51 |
Manage Videos /wp-admin/admin.php?page=responsive_video_gallery_with_lightbox_video_management | 1,304 | 3.35 | 46.76 | 60.74 |
Carousel Settings /wp-admin/admin.php?page=responsive_video_gallery_with_lightbox | 1,757 | 5.01 | 104.03 | 65.69 |
Preview Gallery /wp-admin/admin.php?page=responsive_video_gallery_with_lightbox_video_preview | 1,158 | 3.69 | 51.50 | 26.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_responsive_video_gallery_plus_responsive_lightbox
- This plugin does not fully uninstall, leaving 8 options in the database
- responsive_video_gallery_plus_lightbox_messages
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- responsive_video_gallery_slider_settings
Smoke tests 75% 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-responsive-video-gallery-with-lightbox/wp-responsive-video-gallery-with-lightbox.php:13
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: video thumbnail slider, video gallery, video carousel, vimeo slider, youtube slider
wp-responsive-video-gallery-with-lightbox/wp-responsive-video-gallery-with-lightbox.php Passed 13 tests
The primary PHP file in "video carousel slider with lightbox" version 1.0.24 is used by WordPress to initiate all plugin functionality
111 characters long description:
This is beautiful responsive carousel slider with responsive lightbox.Add any number of video from admin panel.
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
There were no executable files found in this plugin5,412 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 862 | 84 | 2,872 |
JavaScript | 3 | 496 | 583 | 2,091 |
CSS | 3 | 82 | 47 | 449 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
21 PNG files occupy 0.15MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/desc.png | 0.16KB | 0.12KB | ▼ 23.31% |
images/controls.png | 2.45KB | 1.26KB | ▼ 48.48% |
images/g-suite-promo-code-4.png | 59.03KB | 17.19KB | ▼ 70.88% |
images/controls_fnc.png | 1.33KB | 1.42KB | 0.00% |
images/close.png | 4.08KB | 1.11KB | ▼ 72.86% |