Benchmarks
Plugin footprint 83% 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: ▲0.11MB] [CPU: ▼2.87ms] Passed 4 tests
Analyzing server-side resources used by VideoDesk live chat integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.02 ▼9.03 |
Dashboard /wp-admin | 3.42 ▲0.12 | 54.34 ▼1.55 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 57.96 ▲6.12 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 100.71 ▼7.01 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 42.85 ▲8.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
videodesk_config |
Browser metrics Passed 4 tests
VideoDesk live chat integration: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.28 ▼0.08 | 1.93 ▲0.36 | 40.32 ▼3.09 |
Dashboard /wp-admin | 2,193 ▲16 | 5.56 ▲0.01 | 84.88 ▼1.15 | 75.99 ▲37.78 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▼0.02 | 38.19 ▲2.92 | 32.74 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 18.27 ▼5.33 | 661.42 ▲6.80 | 137.85 ▲82.72 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.11 ▼0.09 | 111.20 ▲4.86 | 75.33 ▲30.42 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: videodesk
wp-videodesk/VideoDesk.php 92% from 13 tests
This is the main PHP file of "VideoDesk live chat integration" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-videodesk.php" instead of "VideoDesk.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
Good job! No executable or dangerous file extensions detected546 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 37 | 387 |
PO File | 2 | 56 | 126 | 150 |
CSS | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 86.00 |
▷ Minimum class complexity | 86.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 4.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/not-displayed.png | 0.54KB | 0.56KB | 0.00% |
img/displayed.png | 0.70KB | 0.73KB | 0.00% |
img/logo.png | 0.64KB | 0.59KB | ▼ 7.34% |