Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲3.61MB] [CPU: ▲34.68ms] Passed 4 tests
Analyzing server-side resources used by YouTube Video Gallery by YouTube Showcase – Video Gallery Plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.88 ▲3.42 | 72.67 ▲38.20 |
Dashboard /wp-admin | 7.02 ▲3.72 | 118.55 ▲71.78 |
Posts /wp-admin/edit.php | 7.07 ▲3.72 | 73.02 ▲26.22 |
Add New Post /wp-admin/post-new.php | 9.55 ▲3.66 | 126.78 ▲41.30 |
Media Library /wp-admin/upload.php | 6.86 ▲3.63 | 69.16 ▲32.98 |
Support /wp-admin/admin.php?page=youtube_showcase_support | 6.86 | 56.40 |
Glossary /wp-admin/admin.php?page=youtube_showcase_glossary | 6.83 | 68.44 |
YouTube API /wp-admin/admin.php?page=youtube_showcase_youtube | 6.83 | 55.41 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=emd_video | 6.87 | 61.67 |
All Videos /wp-admin/edit.php?post_type=emd_video | 7.02 | 67.21 |
Add New /wp-admin/post-new.php?post_type=emd_video | 7.09 | 80.09 |
Settings /wp-admin/admin.php?page=youtube_showcase_settings | 6.84 | 66.55 |
Plugins /wp-admin/admin.php?page=youtube_showcase_store | 6.87 | 55.94 |
Forms /wp-admin/admin.php?page=youtube_showcase_forms | 6.85 | 57.75 |
Getting Started /wp-admin/admin.php?page=youtube_showcase | 6.85 | 58.16 |
Server storage [IO: ▲2.94MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 293 new files
Database: 1 new table, 25 new options
New tables |
---|
wp_emd_sessions |
New WordPress options |
---|
youtube_showcase_ent_list |
youtube_showcase_version |
db_upgraded |
emd_form_id_video_search |
widget_youtube_showcase_search_videos_widget |
youtube_showcase_glob_forms_init_list |
youtube_showcase_add_caps |
youtube_showcase_shc_list |
widget_youtube_showcase_recent_videos_widget |
widget_youtube_showcase_featured_videos_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for YouTube Video Gallery by YouTube Showcase – Video Gallery Plugin for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,001 ▲240 | 14.35 ▼0.00 | 2.09 ▲0.41 | 38.82 ▼7.11 |
Dashboard /wp-admin | 2,377 ▲203 | 5.65 ▲0.03 | 98.34 ▲11.79 | 55.31 ▲15.71 |
Posts /wp-admin/edit.php | 2,282 ▲182 | 2.03 ▲0.02 | 35.50 ▼3.96 | 40.83 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,756 ▲222 | 22.38 ▲4.11 | 635.88 ▲6.85 | 60.01 ▼7.11 |
Media Library /wp-admin/upload.php | 1,579 ▲176 | 4.21 ▲0.02 | 101.41 ▲4.56 | 49.67 ▲5.61 |
Support /wp-admin/admin.php?page=youtube_showcase_support | 1,282 | 1.81 | 24.59 | 50.99 |
Glossary /wp-admin/admin.php?page=youtube_showcase_glossary | 1,114 | 1.82 | 24.39 | 35.25 |
YouTube API /wp-admin/admin.php?page=youtube_showcase_youtube | 1,042 | 1.65 | 22.56 | 41.05 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=emd_video | 1,637 | 2.30 | 29.27 | 39.94 |
All Videos /wp-admin/edit.php?post_type=emd_video | 1,390 | 2.29 | 34.54 | 36.70 |
Add New /wp-admin/post-new.php?post_type=emd_video | 2,967 | 8.03 | 185.14 | 75.19 |
Settings /wp-admin/admin.php?page=youtube_showcase_settings | 1,409 | 2.66 | 35.81 | 36.22 |
Plugins /wp-admin/admin.php?page=youtube_showcase_store | 1,310 | 1.88 | 23.76 | 37.25 |
Forms /wp-admin/admin.php?page=youtube_showcase_forms | 1,129 | 1.99 | 34.43 | 31.96 |
Getting Started /wp-admin/admin.php?page=youtube_showcase | 2,690 | 2.31 | 30.22 | 87.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_emd_sessions
- The uninstall procedure has failed, leaving 24 options in the database
- widget_youtube_showcase_recent_videos_widget
- emd_activated_plugins
- category_children
- widget_theysaidso_widget
- widget_youtube_showcase_featured_videos_widget
- youtube_showcase_version
- youtube_showcase_glob_forms_list
- youtube_showcase_glob_list
- youtube_showcase_ent_list
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/youtube-showcase/layouts/shc-video-items-header.php
- > /wp-content/plugins/youtube-showcase/layouts/shc-video-grid-header.php
- > /wp-content/plugins/youtube-showcase/layouts/shc-video-items-footer.php
- > /wp-content/plugins/youtube-showcase/layouts/shc-video-search-footer.php
- > /wp-content/plugins/youtube-showcase/layouts/shc-video-indicators-footer.php
- > /wp-content/plugins/youtube-showcase/layouts/shc-video-grid-footer.php
- 31× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/youtube-showcase/layouts/integration-video-gallery.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/youtube-showcase/layouts/single-emd-video.php:2
- > PHP Notice
Undefined variable: post in wp-content/plugins/youtube-showcase/layouts/widget-recent-videos-content.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youtube-showcase/assets/ext/emd-session/includes/emd-wp-session.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/youtube-showcase/layouts/shc-video-search-header.php:2
- > PHP Warning
Use of undefined constant YOUTUBE_SHOWCASE_PLUGIN_URL - assumed 'YOUTUBE_SHOWCASE_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/youtube-showcase/includes/admin/plugin-support.php on line 44
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/youtube-showcase/layouts/shc-video-items-content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youtube-showcase/includes/admin/shortcode-list-functions.php:2
- > PHP Notice
Undefined variable: post in wp-content/plugins/youtube-showcase/layouts/widget-search-videos-content.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/youtube-showcase/layouts/shc-video-grid-content.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: video, video gallery, youtube, youtube gallery, youtube channel
youtube-showcase/youtube-showcase.php Passed 13 tests
This is the main PHP file of "YouTube Video Gallery by YouTube Showcase – Video Gallery Plugin for WordPress" version 3.3.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
103 characters long description:
YouTube Showcase is a powerful but simple-to-use YouTube video gallery plugin with responsive frontend.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin27,267 lines of code in 210 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 829 | 3,726 | 19,283 |
JavaScript | 53 | 481 | 706 | 5,534 |
CSS | 39 | 113 | 122 | 2,448 |
SVG | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 18.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 59 | 100.00% |
▷ Final classes | 2 | 3.39% |
Methods | 334 | |
▷ Static methods | 213 | 63.77% |
▷ Public methods | 316 | 94.61% |
▷ Protected methods | 13 | 3.89% |
▷ Private methods | 5 | 1.50% |
Functions | 211 | |
▷ Named functions | 210 | 99.53% |
▷ Anonymous functions | 1 | 0.47% |
Constants | 17 | |
▷ Global constants | 17 | 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
69 compressed PNG files occupy 0.74MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/rgb.png | 2.79KB | 2.88KB | 0.00% |
assets/img/custom-video-pages.png | 4.82KB | 4.97KB | 0.00% |
assets/ext/emd-meta-box/css/select2/select2x2.png | 0.83KB | 0.77KB | ▼ 6.15% |
assets/img/multimedia-stat.png | 2.81KB | 2.89KB | 0.00% |
assets/img/jui-img/ui-bg_glass_65_ffffff_1x400.png | 0.09KB | 0.10KB | 0.00% |