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
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲0.36ms] Passed 4 tests
An overview of server-side resources used by WP Video Popup – WordPress Video Lightbox for YouTube & Vimeo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 44.53 ▲6.53 |
Dashboard /wp-admin | 3.40 ▲0.05 | 49.82 ▼9.81 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 52.15 ▲5.82 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.10 | 96.20 ▲3.24 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.79 ▲2.18 |
WP Video Popup /wp-admin/options-general.php?page=wp-video-popup | 3.31 | 35.31 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
wp_video_popup_install_date |
widget_recent-posts |
widget_recent-comments |
wp_video_popup_plugin_activated |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WP Video Popup – WordPress Video Lightbox for YouTube & Vimeo: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲182 | 13.74 ▼0.61 | 8.68 ▲6.91 | 31.34 ▼6.83 |
Dashboard /wp-admin | 2,251 ▲74 | 5.55 ▼0.12 | 92.08 ▼6.46 | 86.38 ▲42.03 |
Posts /wp-admin/edit.php | 2,160 ▲60 | 2.15 ▲0.21 | 38.80 ▲0.10 | 33.87 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,587 ▲58 | 25.17 ▲1.94 | 753.05 ▲161.18 | 53.66 ▲6.16 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 4.12 ▼0.07 | 98.68 ▲0.88 | 84.68 ▲42.38 |
WP Video Popup /wp-admin/options-general.php?page=wp-video-popup | 1,381 | 2.34 | 47.68 | 54.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following items
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/responsive-youtube-vimeo-popup/templates/metaboxes/review.php
- > /wp-content/plugins/responsive-youtube-vimeo-popup/templates/settings.php
- > /wp-content/plugins/responsive-youtube-vimeo-popup/inc/settings.php
- > /wp-content/plugins/responsive-youtube-vimeo-popup/responsive-youtube-vimeo-popup.php
- > /wp-content/plugins/responsive-youtube-vimeo-popup/inc/init.php
- > /wp-content/plugins/responsive-youtube-vimeo-popup/inc/class-wp-video-popup-parser.php
- > /wp-content/plugins/responsive-youtube-vimeo-popup/templates/metaboxes/documentation.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
responsive-youtube-vimeo-popup/responsive-youtube-vimeo-popup.php Passed 13 tests
Analyzing the main PHP file in "WP Video Popup – WordPress Video Lightbox for YouTube & Vimeo" version 2.9.6
89 characters long description:
Add beautiful responsive YouTube & Vimeo Video lightbox popups to your WordPress website.
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 plugin1,399 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 129 | 36 | 611 |
PHP | 8 | 201 | 292 | 600 |
JavaScript | 4 | 42 | 44 | 124 |
Sass | 3 | 8 | 6 | 60 |
Ruby | 1 | 6 | 15 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 15 | 100.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/wp-video-popup-close.png | 19.90KB | 0.59KB | ▼ 97.05% |
assets/img/wp-video-popup-logo-1.png | 8.94KB | 4.42KB | ▼ 50.54% |