Benchmarks
Plugin footprint 39% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/ppv-live-webcams/inc/options.php+630
unserialize(): Error at offset 241 of 1673 bytes
Server metrics [RAM: ▲5.32MB] [CPU: ▼15.47ms] 75% from 4 tests
An overview of server-side resources used by Paid Videochat Turnkey Site - HTML5 PPV Live Webcams
The following require your attention
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.32MB on /wp-admin/admin.php?page=live-webcams-streams)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.32 ▲5.86 | 52.00 ▲12.63 |
Dashboard /wp-admin | 9.34 ▲6.00 | 51.15 ▼10.22 |
Posts /wp-admin/edit.php | 9.34 ▲5.98 | 49.75 ▼3.22 |
Add New Post /wp-admin/post-new.php | 9.34 ▲3.45 | 46.30 ▼61.07 |
Media Library /wp-admin/upload.php | 9.34 ▲6.11 | 52.46 ▲21.03 |
Settings /wp-admin/admin.php?page=live-webcams | 9.34 | 47.14 |
Documentation /wp-admin/admin.php?page=live-webcams-doc | 9.53 | 60.93 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=webcam | 9.53 | 65.07 |
Room Setup /wp-admin/admin.php?page=live-webcams-setup | 9.53 | 60.41 |
Session Reports /wp-admin/admin.php?page=live-webcams-reports | 9.53 | 71.10 |
Payouts /wp-admin/admin.php?page=live-webcams-payouts | 9.53 | 57.70 |
All Webcams /wp-admin/edit.php?post_type=webcam | 9.53 | 65.95 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=webcam | 9.53 | 59.07 |
APF Optimizer /wp-admin/admin.php?page=live-webcams-apf | 9.53 | 62.38 |
Stream Sessions /wp-admin/admin.php?page=live-webcams-streams | 9.53 | 59.84 |
Server storage [IO: ▲16.72MB] [DB: ▲0.07MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- Illegal file modification detected: 1 file (0.56KB) outside of "wp-content/plugins/ppv-live-webcams/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 549 new files
Database: 6 new tables, 11 new options
New tables |
---|
wp_vw_vmls_sessions |
wp_vw_vmls_payouts |
wp_vw_vmls_chatlog |
wp_vw_vmls_actions |
wp_vw_vmls_messages |
wp_vw_vmls_private |
New WordPress options |
---|
userAccessTime |
VWliveWebcamsOptions |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
category_children |
VWliveWebcams_requirements |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Paid Videochat Turnkey Site - HTML5 PPV Live Webcams: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,112 ▲350 | 14.38 ▲0.11 | 2.16 ▲0.47 | 42.71 ▲2.53 |
Dashboard /wp-admin | 2,414 ▲240 | 5.66 ▲0.02 | 98.90 ▲3.84 | 50.05 ▲4.68 |
Posts /wp-admin/edit.php | 2,317 ▲217 | 2.15 ▲0.20 | 42.97 ▲1.20 | 42.13 ▲3.73 |
Add New Post /wp-admin/post-new.php | 6,437 ▲4,908 | 25.83 ▲2.80 | 935.57 ▲296.87 | 62.15 ▲9.61 |
Media Library /wp-admin/upload.php | 1,616 ▲219 | 4.30 ▲0.11 | 100.85 ▼0.34 | 47.24 ▲0.45 |
Settings /wp-admin/admin.php?page=live-webcams | 1,372 | 1.76 | 26.83 | 38.74 |
Documentation /wp-admin/admin.php?page=live-webcams-doc | 1,391 | 1.79 | 26.15 | 38.34 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=webcam | 1,535 | 2.27 | 30.35 | 37.09 |
Room Setup /wp-admin/admin.php?page=live-webcams-setup | 983 | 1.66 | 28.92 | 32.55 |
Session Reports /wp-admin/admin.php?page=live-webcams-reports | 1,345 | 4.69 | 239.83 | 163.41 |
Payouts /wp-admin/admin.php?page=live-webcams-payouts | 1,098 | 1.79 | 28.58 | 33.97 |
All Webcams /wp-admin/edit.php?post_type=webcam | 1,468 | 2.13 | 34.20 | 34.69 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=webcam | 1,668 | 2.28 | 31.53 | 41.82 |
APF Optimizer /wp-admin/admin.php?page=live-webcams-apf | 1,082 | 1.81 | 25.79 | 37.11 |
Stream Sessions /wp-admin/admin.php?page=live-webcams-streams | 979 | 1.68 | 27.13 | 34.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie tables detected upon uninstall: 6 tables
- wp_vw_vmls_messages
- wp_vw_vmls_chatlog
- wp_vw_vmls_sessions
- wp_vw_vmls_actions
- wp_vw_vmls_payouts
- wp_vw_vmls_private
- This plugin did not uninstall successfully, leaving 11 options in the database
- category_children
- VWliveWebcamsOptions
- widget_recent-comments
- theysaidso_admin_options
- userAccessTime
- widget_recent-posts
- db_upgraded
- vmls_db_version
- VWliveWebcams_requirements
- can_compress_scripts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 19 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=live-webcams-streams
- > Notice in wp-content/plugins/ppv-live-webcams/inc/options.php+630
unserialize(): Error at offset 241 of 1673 bytes
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=live-webcams-setup
- > Notice in wp-content/plugins/ppv-live-webcams/inc/options.php+9063
Undefined variable: post
SRP 0% 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ppv-live-webcams/server/translate.php
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/src/ConnectionException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\otFoundException' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/src/GlossaryNotFoundException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/src/DocumentNotReadyException.php:13
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/tests/TranslateDocumentTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/tests/GlossaryTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/src/DocumentTranslationException.php:13
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/tests/TranslateTextTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/src/NotFoundException.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/tests/DeepLTestBase.php:12
- > PHP Fatal error
Uncaught Error: Interface 'DeepL\\LoggerInterface' not found in wp-content/plugins/ppv-live-webcams/server/vendor/deeplcom/deepl-php/tests/TestLogger.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (HTML5 Video Call - Client View), #2 (HTML5 Video Conference - Split Screen), #3 (Browse Live Experts - AJAX Live Updates), #4 (Role selection on signup: performer, client (customizable).), #5 (Private Video Call Room Setup), #6 (HTML5 Videochat Streaming Settings), #7 (Paid Questions / Messages), #8 (Old Legacy App: Video Messenger application: advanced multi private videochats.), #9 (Old Legacy App: Performer, application view), #10 (Old Legacy App: Client, application view), #11 (Old Legacy App: Tip performer.)
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ppv-live-webcams/ppv-live-webcams.php 92% from 13 tests
The principal PHP file in "Paid Videochat Turnkey Site - HTML5 PPV Live Webcams" v. 6.8.11 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 802 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin82,789 lines of code in 141 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 8,717 | 4,276 | 28,519 |
PO File | 11 | 6,446 | 7,108 | 21,247 |
SVG | 6 | 0 | 24 | 18,181 |
JavaScript | 42 | 1,864 | 1,834 | 10,505 |
CSS | 13 | 155 | 506 | 2,645 |
LESS | 3 | 150 | 16 | 777 |
Markdown | 6 | 190 | 0 | 612 |
XML | 3 | 6 | 0 | 111 |
JSON | 3 | 0 | 0 | 109 |
YAML | 1 | 11 | 6 | 76 |
Dockerfile | 1 | 1 | 0 | 7 |
PHP code 0% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 1,880)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 681)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 130.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,880.00 |
Average method complexity | 13.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 681.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 5 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 1 | 2.70% |
Methods | 458 | |
▷ Static methods | 281 | 61.35% |
▷ Public methods | 436 | 95.20% |
▷ Protected methods | 3 | 0.66% |
▷ Private methods | 19 | 4.15% |
Functions | 23 | |
▷ Named functions | 2 | 8.70% |
▷ Anonymous functions | 21 | 91.30% |
Constants | 69 | |
▷ Global constants | 5 | 7.25% |
▷ Class constants | 64 | 92.75% |
▷ Public constants | 57 | 89.06% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
244 PNG files occupy 1.17MB with 0.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
scripts/jtable/themes/flick/images/ui-icons_454545_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
videowhisper/templates/messenger/i_ublock.png | 2.59KB | 1.59KB | ▼ 38.84% |
videowhisper/templates/messenger/i_close.png | 2.85KB | 0.14KB | ▼ 94.99% |
videowhisper/templates/messenger/button_bk.png | 1.22KB | 0.44KB | ▼ 64.21% |
scripts/jtable/themes/lightcolor/close.png | 1.19KB | 1.22KB | 0.00% |