Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲2.34MB] [CPU: ▼1.96ms] Passed 4 tests
Analyzing server-side resources used by Broadcast Live Video - Live Streaming : HTML5, WebRTC, HLS, RTSP, RTMP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.12 ▲2.65 | 50.62 ▲6.31 |
Dashboard /wp-admin | 5.99 ▲2.64 | 63.65 ▼2.93 |
Posts /wp-admin/edit.php | 6.05 ▲2.69 | 68.61 ▲19.18 |
Add New Post /wp-admin/post-new.php | 7.27 ▲1.38 | 67.56 ▼30.39 |
Media Library /wp-admin/upload.php | 5.92 ▲2.68 | 56.29 ▲24.25 |
Live & Ban /wp-admin/admin.php?page=live-streaming-live | 5.86 | 49.58 |
Settings /wp-admin/admin.php?page=live-streaming | 6.00 | 51.03 |
Documentation /wp-admin/admin.php?page=live-streaming-docs | 6.01 | 51.80 |
Statistics /wp-admin/admin.php?page=live-streaming-stats | 6.04 | 62.57 |
Server storage [IO: ▲13.70MB] [DB: ▲0.04MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 218 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_vw_lwsessions |
wp_vw_vwls_chatlog |
wp_vw_lsrooms |
wp_vw_sessions |
New WordPress options |
---|
db_upgraded |
VWliveStreaming_requirements |
theysaidso_admin_options |
userAccessTime |
can_compress_scripts |
widget_recent-posts |
vwls_db_version |
widget_recent-comments |
widget_theysaidso_widget |
VWliveStreamingOptions |
Browser metrics Passed 4 tests
A check of browser resources used by Broadcast Live Video - Live Streaming : HTML5, WebRTC, HLS, RTSP, RTMP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,061 ▲314 | 13.75 ▼0.63 | 7.28 ▲5.56 | 35.18 ▼8.27 |
Dashboard /wp-admin | 2,321 ▲143 | 5.71 ▼0.00 | 92.64 ▼22.28 | 41.91 ▼3.37 |
Posts /wp-admin/edit.php | 2,227 ▲127 | 2.12 ▲0.12 | 41.16 ▲3.26 | 38.33 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,632 ▲106 | 23.30 ▼0.19 | 672.54 ▼14.26 | 58.59 ▲7.98 |
Media Library /wp-admin/upload.php | 1,526 ▲126 | 4.21 ▲0.00 | 101.09 ▼3.39 | 41.78 ▼3.43 |
Live & Ban /wp-admin/admin.php?page=live-streaming-live | 1,251 | 2.19 | 34.63 | 117.14 |
Settings /wp-admin/admin.php?page=live-streaming | 1,277 | 2.14 | 25.23 | 35.54 |
Documentation /wp-admin/admin.php?page=live-streaming-docs | 1,223 | 2.02 | 24.82 | 30.56 |
Statistics /wp-admin/admin.php?page=live-streaming-stats | 987 | 2.02 | 25.46 | 27.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables detected upon uninstall: 4 tables
- wp_vw_lwsessions
- wp_vw_lsrooms
- wp_vw_vwls_chatlog
- wp_vw_sessions
- This plugin did not uninstall successfully, leaving 10 options in the database
- vwls_db_version
- widget_recent-comments
- userAccessTime
- db_upgraded
- VWliveStreaming_requirements
- VWliveStreamingOptions
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=live-streaming-live
- > Notice in wp-content/plugins/videowhisper-live-streaming-integration/videowhisper_streaming.php+8204
Undefined index: ban
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=live-streaming-live
- > Notice in wp-content/plugins/videowhisper-live-streaming-integration/videowhisper_streaming.php+5712
Trying to access array offset on value of type bool
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=live-streaming
- > Notice in wp-content/plugins/videowhisper-live-streaming-integration/inc/requirements.php+305
Undefined index: status
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/videowhisper-live-streaming-integration/server/translate.php
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/src/TooManyRequestsException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/tests/TranslateDocumentTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/tests/TranslateTextTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/src/AuthorizationException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/tests/GlossaryTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/tests/DeepLTestBase.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\otFoundException' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/src/GlossaryNotFoundException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/src/QuotaExceededException.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/videowhisper-live-streaming-integration/template-channel.php:6
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/videowhisper-live-streaming-integration/server/vendor/deeplcom/deepl-php/tests/GeneralTest.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Live Broadcast (for publisher)), #2 (Live Video Watch (for active viewers, discuss online, see who else is watching)), #3 (Live Video Streaming (for passive viewers, simple live video)), #4 (Manage channels features from frontend), #5 (Channels listing with AJAX live updates, star ratings), #6 (Playlist: Schedule videos to play as live stream), #7 (Manage channel videos), #8 (Broadcast using HTML5 WebRTC and AJAX chat (iPad view)), #9 (Playback using HTML5 HLS and AJAX chat (iPhone view)), #10 (Access IP Camera / Re-Stream Setup Wizard)
- Tags: Please delete some tags, you are using 30 tag instead of maximum 10
videowhisper-live-streaming-integration/videowhisper_streaming.php 77% from 13 tests
The main file in "Broadcast Live Video - Live Streaming : HTML5, WebRTC, HLS, RTSP, RTMP" v. 5.7.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 616 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("videowhisper-live-streaming-integration.php" instead of "videowhisper_streaming.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected43,250 lines of code in 129 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 4,839 | 3,587 | 15,859 |
SVG | 6 | 0 | 24 | 11,762 |
JavaScript | 41 | 1,679 | 1,768 | 9,813 |
CSS | 14 | 153 | 522 | 2,629 |
PO File | 3 | 502 | 514 | 1,581 |
LESS | 3 | 150 | 16 | 777 |
Markdown | 5 | 187 | 0 | 608 |
JSON | 3 | 0 | 0 | 109 |
YAML | 1 | 11 | 6 | 76 |
XML | 2 | 6 | 0 | 29 |
Dockerfile | 1 | 1 | 0 | 7 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,359)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 454)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 71.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,359.00 |
Average method complexity | 9.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 454.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 4 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 1 | 2.70% |
Methods | 366 | |
▷ Static methods | 206 | 56.28% |
▷ Public methods | 344 | 93.99% |
▷ Protected methods | 3 | 0.82% |
▷ Private methods | 19 | 5.19% |
Functions | 23 | |
▷ Named functions | 2 | 8.70% |
▷ Anonymous functions | 21 | 91.30% |
Constants | 67 | |
▷ Global constants | 3 | 4.48% |
▷ Class constants | 64 | 95.52% |
▷ Public constants | 57 | 89.06% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
37 PNG files occupy 2.73MB with 0.66MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
scripts/jtable/themes/lightcolor/add.png | 0.47KB | 0.42KB | ▼ 10.17% |
scripts/jtable/themes/lightcolor/delete.png | 0.15KB | 0.14KB | ▼ 4.00% |
htmlchat/tips/gift4.png | 1.57KB | 1.42KB | ▼ 9.82% |
scripts/jtable/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png | 0.33KB | 0.14KB | ▼ 57.23% |
scripts/jtable/themes/flick/images/ui-icons_454545_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |