Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.83ms] Passed 4 tests
An overview of server-side resources used by Simple Webchat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.39 ▼3.38 |
Dashboard /wp-admin | 3.31 ▲0.01 | 53.59 ▲0.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.66 ▼4.73 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.18 ▼0.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.48 ▲4.56 |
Quick WhatsApp /wp-admin/options-general.php?page=QWA_quickwhatsapp | 3.20 | 36.41 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Webchat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.39 ▲0.15 | 1.69 ▼0.59 | 40.45 ▼4.33 |
Dashboard /wp-admin | 2,202 ▲25 | 5.57 ▼0.09 | 87.47 ▼4.42 | 40.85 ▼0.34 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.96 ▼0.07 | 34.37 ▼5.72 | 35.32 ▼4.88 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.55 ▼0.23 | 667.04 ▼55.50 | 56.73 ▲1.77 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▼0.02 | 107.63 ▲4.52 | 44.51 ▲0.33 |
Quick WhatsApp /wp-admin/options-general.php?page=QWA_quickwhatsapp | 1,321 | 1.82 | 29.35 | 46.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/quick-whatsapp/css/quick-whatsapp-floating-button.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quick-whatsapp/whatsapp-shortcode-chat.php:113
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-whatsapp/whatsapp-floating-button.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quick-whatsapp/simple-webchat-whatsapp-shortcode-gruppe.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quick-whatsapp/whatsapp-shortcode-sharing.php:121
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/quick-whatsapp/whatsapp-standard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-whatsapp/whatsapp-button-after-addtocart.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: Add a description for screenshot #1 in quick-whatsapp/assets to your readme.txt
quick-whatsapp/simple-webchat.php 77% from 13 tests
The main file in "Simple Webchat" v. 3.3.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0.1" instead of "3.5")
- Main file name: The principal plugin file should be the same as the plugin slug ("quick-whatsapp.php" instead of "simple-webchat.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 185 characters long)
Code Analysis Passed 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 plugin3,678 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1,233 | 9 | 2,571 |
PHP | 11 | 508 | 426 | 1,107 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 32 | |
▷ Named functions | 32 | 100.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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/whatsapp-floatingbutton-w.png | 2.28KB | 1.41KB | ▼ 38.23% |
images/whatsapp-chat-clear.png | 3.78KB | 1.83KB | ▼ 51.70% |
images/leer.png | 0.91KB | 0.09KB | ▼ 89.72% |
images/whatsapp-gruppe.png | 11.70KB | 4.29KB | ▼ 63.30% |
images/whatsapp-chat-creativ.png | 5.90KB | 2.56KB | ▼ 56.59% |