Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.47MB] [CPU: ▲2.98ms] Passed 4 tests
An overview of server-side resources used by Video Gallery - YouTube Playlist, Channel Gallery by YotuWP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 44.85 ▲2.65 |
Dashboard /wp-admin | 3.84 ▲0.53 | 79.44 ▲26.26 |
Posts /wp-admin/edit.php | 3.87 ▲0.52 | 53.28 ▲8.04 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 89.63 ▼5.63 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 41.78 ▲6.84 |
General Settings /wp-admin/admin.php?page=yotuwp | 3.90 | 44.15 |
Shortcode Generator /wp-admin/admin.php?page=yotuwp-shortcode | 3.67 | 40.66 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/yotuwp-easy-youtube-embed/" and "wp-content/uploads/"
- (new file) wp-content/yotuwp_cache/.empty
Filesystem: 40 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
yotuwp_rating_date |
yotuwp_install_date |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video Gallery - YouTube Playlist, Channel Gallery by YotuWP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲115 | 13.43 ▼0.92 | 1.66 ▼0.37 | 45.20 ▼6.35 |
Dashboard /wp-admin | 2,241 ▲53 | 5.11 ▲0.26 | 121.24 ▲4.69 | 99.90 ▲54.54 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.34 ▲0.30 | 39.43 ▲4.50 | 36.45 ▲3.61 |
Add New Post /wp-admin/post-new.php | 1,582 ▲68 | 23.15 ▲5.67 | 771.36 ▲117.77 | 39.51 ▼36.53 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.48 ▲0.30 | 100.31 ▲3.08 | 79.65 ▲37.71 |
General Settings /wp-admin/admin.php?page=yotuwp | 2,774 | 3.07 | 62.43 | 61.84 |
Shortcode Generator /wp-admin/admin.php?page=yotuwp-shortcode | 950 | 2.06 | 28.23 | 30.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- yotuwp_install_date
- widget_theysaidso_widget
- yotuwp_rating_date
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/yotuwp-easy-youtube-embed/templates/grid.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/yotuwp-easy-youtube-embed/templates/list.php on line 4
- > PHP Notice
Trying to get property 'data' of non-object in wp-content/plugins/yotuwp-easy-youtube-embed/templates/mix.php on line 3
- > PHP Notice
Trying to get property 'data' of non-object in wp-content/plugins/yotuwp-easy-youtube-embed/templates/list.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/yotuwp-easy-youtube-embed/templates/list.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/yotuwp-easy-youtube-embed/templates/mix.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/yotuwp-easy-youtube-embed/templates/grid.php on line 5
- > PHP Notice
Trying to get property 'data' of non-object in wp-content/plugins/yotuwp-easy-youtube-embed/templates/list.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/yotuwp-easy-youtube-embed/templates/grid.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/yotuwp-easy-youtube-embed/templates/mix.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: Please add descriptions for these screenshots #10, #8, #9 in yotuwp-easy-youtube-embed/assets to your readme.txt
yotuwp-easy-youtube-embed/yotuwp.php 92% from 13 tests
The primary PHP file in "Video Gallery - YouTube Playlist, Channel Gallery by YotuWP" version 1.3.13 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("yotuwp-easy-youtube-embed.php" instead of "yotuwp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin6,297 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 551 | 71 | 2,542 |
CSS | 9 | 152 | 95 | 2,527 |
JavaScript | 4 | 287 | 14 | 1,198 |
SVG | 1 | 1 | 0 | 30 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 79.25 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 3 | 4.00% |
▷ Public methods | 73 | 97.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.67% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/fields/pager_layout/default.png | 16.50KB | 1.77KB | ▼ 89.30% |
assets/images/fields/pager_layout/center_no_text.png | 3.45KB | 1.37KB | ▼ 60.34% |
assets/images/video-thumb.png | 7.50KB | 8.21KB | 0.00% |
assets/images/yotu.png | 15.34KB | 1.06KB | ▼ 93.12% |
assets/images/yotu-small.png | 10.36KB | 4.72KB | ▼ 54.44% |