Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼323.68ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate YouTube Video Player
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.13 | 55.12 ▼7.84 |
Dashboard /wp-admin | 3.54 ▲0.14 | 37.90 ▲0.46 |
Posts /wp-admin/edit.php | 3.77 ▲0.13 | 41.29 ▲3.45 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.04 | 93.32 ▼1,284.00 |
Media Library /wp-admin/upload.php | 3.43 ▲0.13 | 25.83 ▼3.35 |
YT Help /wp-admin/admin.php?page=ytv_help | 3.40 | 25.86 |
Upgrade To Pro /wp-admin/admin.php?page=ytv_gopro | 3.41 | 28.80 |
How to use /wp-admin/admin.php?page=cdlzr_yt_plug | 3.40 | 23.87 |
Single YT Video /wp-admin/admin.php?page=ytv_singlevideo | 3.43 | 30.15 |
Rich YT Playlist /wp-admin/admin.php?page=ytv_richvideo | 3.41 | 26.53 |
YT Settings /wp-admin/admin.php?page=ytv_settings | 3.46 | 24.54 |
Server storage [IO: ▲4.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 66 new files
Database: 4 new tables, 1 new option
New tables |
---|
wp_ytube_themedata |
wp_ytube_richpldata |
wp_ytube_singviddata |
wp_ytube_setting |
New WordPress options |
---|
widget_cdlzr_yt_video_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate YouTube Video Player
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,829 ▲75 | 15.60 ▲0.01 | 5.58 ▼1.38 | 2.21 ▼1.08 |
Dashboard /wp-admin | 2,955 ▲97 | 6.04 ▼0.12 | 132.39 ▼4.32 | 193.56 ▲31.49 |
Posts /wp-admin/edit.php | 2,749 ▲58 | 3.14 ▼0.22 | 63.10 ▲1.78 | 141.68 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,711 ▼62 | 17.99 ▼3.90 | 397.42 ▼58.19 | 188.87 ▲14.09 |
Media Library /wp-admin/upload.php | 1,766 ▲68 | 5.54 ▲0.08 | 126.02 ▼25.87 | 237.93 ▼0.64 |
YT Help /wp-admin/admin.php?page=ytv_help | 1,212 | 2.85 | 65.27 | 169.12 |
Upgrade To Pro /wp-admin/admin.php?page=ytv_gopro | 1,343 | 3.42 | 63.48 | 167.12 |
How to use /wp-admin/admin.php?page=cdlzr_yt_plug | 1,114 | 2.83 | 60.74 | 164.21 |
Single YT Video /wp-admin/admin.php?page=ytv_singlevideo | 1,436 | 3.39 | 76.56 | 180.97 |
Rich YT Playlist /wp-admin/admin.php?page=ytv_richvideo | 1,395 | 3.18 | 77.63 | 193.81 |
YT Settings /wp-admin/admin.php?page=ytv_settings | 1,704 | 2.90 | 62.31 | 193.05 |
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
You still need to fix the following
- Zombie tables detected upon uninstall: 4 tables
- wp_ytube_singviddata
- wp_ytube_richpldata
- wp_ytube_setting
- wp_ytube_themedata
- Zombie WordPress options detected upon uninstall: 1 option
- widget_cdlzr_yt_video_widget
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ytv_gopro
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://www.youtube.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots lack descriptions #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in ultimate-youtube-video-player/assets to your readme.txt
ultimate-youtube-video-player/ultimate-youtubevideo.php 77% from 13 tests
The main PHP file in "Ultimate YouTube Video Player" ver. 2.7 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 260 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("ultimate-youtube-video-player.php" instead of "ultimate-youtubevideo.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin11,697 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,445 |
PHP | 30 | 209 | 64 | 1,400 |
JavaScript | 5 | 41 | 40 | 508 |
CSS | 6 | 50 | 33 | 344 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 37 | |
▷ Static methods | 30 | 81.08% |
▷ Public methods | 34 | 91.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.11% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
PNG files should be compressed to save space and minimize bandwidth usage
6 compressed PNG files occupy 1.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/help/img2.PNG | 20.24KB | 20.27KB | 0.00% |
assets/img/help/img5.PNG | 19.80KB | 19.83KB | 0.00% |
assets/img/youtube.png | 0.34KB | 0.22KB | ▼ 35.47% |
assets/img/help/img1.PNG | 40.03KB | 40.78KB | 0.00% |
assets/img/help/img6.PNG | 13.49KB | 13.51KB | 0.00% |