Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.55MB] [CPU: ▲2.48ms] Passed 4 tests
Server-side resources used by Video Share VOD - Turnkey Video Site Builder Script
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.05 ▲1.59 | 45.75 ▲4.72 |
Dashboard /wp-admin | 4.88 ▲1.58 | 54.45 ▲5.60 |
Posts /wp-admin/edit.php | 4.94 ▲1.59 | 50.76 ▲3.35 |
Add New Post /wp-admin/post-new.php | 7.41 ▲1.52 | 88.34 ▼3.48 |
Media Library /wp-admin/upload.php | 4.74 ▲1.51 | 44.89 ▲5.32 |
New TV Show /wp-admin/post-new.php?post_type=tvshow | 4.99 | 86.10 |
Playlists /wp-admin/edit-tags.php?taxonomy=playlist&post_type=video | 4.74 | 47.10 |
Import /wp-admin/admin.php?page=video-share-import | 4.72 | 39.20 |
Conversions /wp-admin/admin.php?page=video-share-conversion | 4.69 | 38.24 |
Documentation /wp-admin/admin.php?page=video-share-docs | 4.69 | 39.38 |
All TV Shows /wp-admin/edit.php?post_type=tvshow | 4.87 | 46.58 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=video | 4.73 | 41.60 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=video | 4.73 | 40.73 |
All Videos /wp-admin/edit.php?post_type=video | 4.87 | 44.13 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=tvshow | 4.73 | 43.11 |
Server storage [IO: ▲8.49MB] [DB: ▲0.01MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- The plugin illegally modified 1 file (0.64KB) outside of "wp-content/plugins/video-share-vod/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 158 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
playlist_children |
widget_recent-comments |
db_upgraded |
VWvideoShareOptions |
widget_recent-posts |
category_children |
Browser metrics Passed 4 tests
Checking browser requirements for Video Share VOD - Turnkey Video Site Builder Script
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,115 ▲354 | 13.44 ▼0.76 | 7.44 ▲5.81 | 37.62 ▼2.77 |
Dashboard /wp-admin | 2,377 ▲197 | 5.58 ▼0.10 | 82.92 ▼9.86 | 43.29 ▼0.07 |
Posts /wp-admin/edit.php | 2,282 ▲185 | 2.05 ▲0.11 | 35.21 ▼2.48 | 37.42 ▲3.65 |
Add New Post /wp-admin/post-new.php | 1,682 ▲156 | 23.20 ▲0.09 | 651.36 ▼77.60 | 55.85 ▼1.77 |
Media Library /wp-admin/upload.php | 1,582 ▲185 | 4.20 ▲0.06 | 94.90 ▼3.74 | 48.36 ▲4.93 |
New TV Show /wp-admin/post-new.php?post_type=tvshow | 2,789 | 7.92 | 165.73 | 71.06 |
Playlists /wp-admin/edit-tags.php?taxonomy=playlist&post_type=video | 1,564 | 2.14 | 27.25 | 34.61 |
Import /wp-admin/admin.php?page=video-share-import | 1,083 | 2.01 | 25.17 | 31.33 |
Conversions /wp-admin/admin.php?page=video-share-conversion | 1,004 | 2.01 | 22.33 | 34.23 |
Documentation /wp-admin/admin.php?page=video-share-docs | 1,154 | 2.01 | 22.40 | 36.01 |
All TV Shows /wp-admin/edit.php?post_type=tvshow | 1,306 | 1.96 | 30.90 | 33.27 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=video | 1,637 | 2.15 | 27.43 | 31.70 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=video | 1,498 | 2.14 | 29.60 | 32.87 |
All Videos /wp-admin/edit.php?post_type=video | 1,350 | 1.95 | 33.66 | 34.79 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=tvshow | 1,501 | 2.14 | 29.12 | 35.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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 were found after uninstall: 9 options
- VWvideoShareOptions
- playlist_children
- category_children
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=video-share-docs
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=video-share-docs
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=video-share-import
- > Notice in wp-content/plugins/video-share-vod/video-share-vod.php+4531
String offset cast occurred
- > GET request to /wp-admin/admin.php?page=video-share-conversion
- > Notice in wp-content/plugins/video-share-vod/video-share-vod.php+3421
Undefined variable: lastClean
- > GET request to /wp-admin/admin.php?page=video-share-docs
- > Notice in wp-content/plugins/video-share-vod/inc/options.php+1243
Undefined index: p_videowhisper_videos
- > GET request to /wp-admin/admin.php?page=video-share-docs
- > Notice in wp-content/plugins/video-share-vod/inc/options.php+1247
Undefined index: p_videowhisper_plupload
SRP 50% 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/video-share-vod/taxonomy-playlist.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/video-share-vod/template-video.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (47 tag instead of maximum 10)
- Screenshots: These screenshots do not have images: #1 (Video list (AJAX load and update, pagination, info)), #2 (HTML5 video upload (Multi file, AJAX, Drag & Drop, fallback (standard upload as backup), iOS & Android support)), #3 (RTMP player support (fast search, no direct file access, HD)), #4 (HTML5 player (plain and HLS, video conversion for mobile)), #5 (Admin settings (VOD setup)), #6 (VOD access roles playlists, custom message), #7 (Live Streaming channel management (with archive import and video upload)), #8 (Select category, order by date/views/watch time, move to another page with AJAX)
video-share-vod/video-share-vod.php 92% from 13 tests
This is the main PHP file of "Video Share VOD - Turnkey Video Site Builder Script" version 2.6.20, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 351 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin23,610 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 9,407 |
PHP | 5 | 2,083 | 1,437 | 6,183 |
JavaScript | 55 | 462 | 775 | 4,947 |
JSON | 36 | 0 | 0 | 2,092 |
CSS | 10 | 113 | 56 | 592 |
PO File | 1 | 171 | 175 | 385 |
Markdown | 1 | 3 | 0 | 4 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 218)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 422.00 |
▷ Minimum class complexity | 139.00 |
▷ Maximum class complexity | 775.00 |
Average method complexity | 11.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 218.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 113 | 95.76% |
▷ Public methods | 118 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 1.82MB with 0.82MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 485.85KB | 115.19KB | ▼ 76.29% |
interface/jquery.ui/images/ui-icons_444444_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
screenshot-5.png | 93.11KB | 28.27KB | ▼ 69.63% |
interface/semantic/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |
interface/jquery.ui/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |