Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.77MB] [CPU: ▼2.74ms] Passed 4 tests
This is a short check of server-side resources used by 2Way VideoCalls and Random Chat - HTML5 Webcam Videochat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.82 | 49.61 ▲6.18 |
Dashboard /wp-admin | 4.11 ▲0.80 | 60.63 ▲6.20 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 51.10 ▼3.73 |
Add New Post /wp-admin/post-new.php | 6.63 ▲0.74 | 92.21 ▼18.61 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 45.84 ▲5.22 |
VideoCalls /wp-admin/admin.php?page=videocalls | 3.98 | 38.85 |
Settings /wp-admin/admin.php?page=videocalls-settings | 3.98 | 38.92 |
Server storage [IO: ▲11.19MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 64 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_vw_2wrooms |
wp_vw_2wmatch |
wp_vw_2w_sessions |
wp_vw_2wsessions |
wp_vw_2w_chatlog |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
VWvideoChat_requirements |
vw2vc_db_version |
VWvideoChatOptions |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for 2Way VideoCalls and Random Chat - HTML5 Webcam Videochat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲166 | 14.38 ▲0.03 | 2.00 ▲0.04 | 43.78 ▲2.04 |
Dashboard /wp-admin | 2,304 ▲124 | 5.73 ▲0.09 | 96.61 ▲8.64 | 45.40 ▲1.91 |
Posts /wp-admin/edit.php | 2,207 ▲125 | 2.15 ▲0.12 | 39.25 ▲3.81 | 36.66 ▼7.98 |
Add New Post /wp-admin/post-new.php | 1,641 ▲110 | 23.54 ▲0.26 | 733.12 ▲26.83 | 55.89 ▼8.13 |
Media Library /wp-admin/upload.php | 1,506 ▲106 | 4.29 ▲0.07 | 100.02 ▼15.77 | 44.46 ▼4.19 |
VideoCalls /wp-admin/admin.php?page=videocalls | 1,224 | 2.19 | 26.82 | 33.46 |
Settings /wp-admin/admin.php?page=videocalls-settings | 1,227 | 2.16 | 24.28 | 33.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 5 tables
- wp_vw_2w_sessions
- wp_vw_2wrooms
- wp_vw_2wmatch
- wp_vw_2w_chatlog
- wp_vw_2wsessions
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- db_upgraded
- vw2vc_db_version
- VWvideoChat_requirements
- VWvideoChatOptions
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=videocalls
- > Notice in wp-content/plugins/webcam-2way-videochat/inc/requirements.php+232
Undefined index: status
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=videocalls
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=videocalls 168:8 Uncaught SyntaxError: Unexpected token 'function'
- > GET request to /wp-admin/admin.php?page=videocalls-settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=videocalls-settings 168:8 Uncaught SyntaxError: Unexpected token 'function'
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: You are using too many tags: 18 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Random Videochat (Match Roulette) with Filters), #2 (HTML5 Videochat Call in Dark Mode), #3 (HTML5 Videochat Call in Light Mode), #4 (Audio/Video recorder to also insert recordings in text chat (when user connection does not permit live streaming)), #5 (WP user page to manage video chat rooms), #6 (Legacy 2 Way Video Chat Flash App (included))
webcam-2way-videochat/webcam-2way-videochat.php 92% from 13 tests
Analyzing the main PHP file in "2Way VideoCalls and Random Chat - HTML5 Webcam Videochat" version 5.4.6
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 317 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin21,483 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 6 | 0 | 24 | 18,181 |
PHP | 4 | 1,158 | 318 | 3,145 |
PO File | 1 | 33 | 38 | 101 |
CSS | 3 | 1 | 395 | 52 |
JavaScript | 4 | 0 | 10 | 4 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 115)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 129.50 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 224.00 |
Average method complexity | 8.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 115.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 63 | 96.92% |
▷ Public methods | 65 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 1.03MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 984.89KB | 327.95KB | ▼ 66.70% |
images/avatar.png | 2.83KB | 1.87KB | ▼ 33.83% |
js/semantic/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |
static/media/flags.99f63ae7.png | 27.46KB | 29.21KB | 0.00% |
images/chat.png | 5.46KB | 2.84KB | ▼ 48.04% |