Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Parse error in wp-content/plugins/vidtok-live-video-chat-using-webrtc/vidtok.php+661
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.07ms] Passed 4 tests
Server-side resources used by Vidtok Live Video Chat using WebRTC
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.59 ▼3.85 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.55 ▲3.63 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.78 ▲1.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.60 ▼18.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.36 ▲0.66 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Vidtok Live Video Chat using WebRTC
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.58 ▼0.81 | 1.79 ▼0.22 | 38.96 ▼2.43 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼1.05 | 106.41 ▲3.99 | 40.46 ▼4.01 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.02 | 38.97 ▲1.63 | 35.59 ▲2.34 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.24 ▲4.80 | 648.54 ▲19.15 | 60.15 ▲6.56 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.02 | 98.49 ▼1.15 | 42.25 ▼1.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/vidtok-live-video-chat-using-webrtc/vidtok.php on line 661
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== vidtok-live-video-chat-using-webrtc ===
) - Screenshots: Please add images for these screenshots: #1 (2.), #3 ()
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
vidtok-live-video-chat-using-webrtc/vidtok.php 85% from 13 tests
The principal PHP file in "Vidtok Live Video Chat using WebRTC" v. 2.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 186 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("vidtok-live-video-chat-using-webrtc.php" instead of "vidtok.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin406 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 154 | 100 | 406 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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
9 PNG files occupy 0.99MB with 0.60MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vidtok.png | 17.81KB | 7.49KB | ▼ 57.92% |
images/widget.png | 395.42KB | 122.89KB | ▼ 68.92% |
images/vidtok-admin-logo.png | 3.19KB | 0.84KB | ▼ 73.74% |
screenshot-3.png | 70.88KB | 33.28KB | ▼ 53.05% |
images/embed.png | 128.32KB | 69.03KB | ▼ 46.21% |