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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▲0.40ms] Passed 4 tests
An overview of server-side resources used by Video PopUp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 40.86 ▼0.32 |
Dashboard /wp-admin | 3.55 ▲0.25 | 49.09 ▼1.03 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.06 ▲2.06 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 93.99 ▲1.52 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.15 ▲1.41 |
On Page Load /wp-admin/admin.php?page=video_popup_on_pageload | 3.45 | 38.73 |
General Settings /wp-admin/admin.php?page=video_popup_general_settings | 3.45 | 35.46 |
Shortcode Usage /wp-admin/admin.php?page=video_popup_shortcode | 3.44 | 32.21 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 50 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
vp_al_op_display |
widget_recent-comments |
can_compress_scripts |
vp_al_op_cookie |
vp_green_bg_menu |
vp_extension_update_checker_106 |
vp_prm_alobaidi |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Video PopUp
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲183 | 13.45 ▼0.91 | 8.25 ▲6.54 | 37.13 ▼7.68 |
Dashboard /wp-admin | 2,235 ▲58 | 5.64 ▲0.08 | 90.94 ▼7.02 | 42.48 ▼1.99 |
Posts /wp-admin/edit.php | 2,140 ▲43 | 1.97 ▼0.04 | 39.12 ▼0.37 | 34.63 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.40 ▼0.23 | 627.45 ▼42.15 | 54.39 ▲3.02 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.21 ▼0.01 | 99.06 ▲4.73 | 41.31 ▲0.97 |
On Page Load /wp-admin/admin.php?page=video_popup_on_pageload | 1,179 | 2.05 | 29.29 | 35.25 |
General Settings /wp-admin/admin.php?page=video_popup_general_settings | 946 | 1.97 | 25.99 | 29.51 |
Shortcode Usage /wp-admin/admin.php?page=video_popup_shortcode | 982 | 1.96 | 23.31 | 29.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- vp_prm_alobaidi
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
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)
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 26× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/video-popup/uninstall.php
- > /wp-content/plugins/video-popup/video-popup.php
- > /wp-content/plugins/video-popup/features/index.php
- > /wp-content/plugins/video-popup/tinymce/css/index.php
- > /wp-content/plugins/video-popup/admin/on-pageload.php
- > /wp-content/plugins/video-popup/css/vp-close-icon/index.php
- > /wp-content/plugins/video-popup/tinymce/index.php
- > /wp-content/plugins/video-popup/tinymce/js/index.php
- > /wp-content/plugins/video-popup/admin/shortcode-usage.php
- > /wp-content/plugins/video-popup/js/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in video-popup/assets to your readme.txt
video-popup/video-popup.php 92% from 13 tests
Analyzing the main PHP file in "Video PopUp" version 1.1.4
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 190 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,372 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 444 | 31 | 1,203 |
JavaScript | 3 | 103 | 21 | 414 |
CSS | 8 | 61 | 9 | 404 |
PO File | 1 | 158 | 160 | 330 |
SVG | 2 | 1 | 0 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 53 | |
▷ Named functions | 53 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin