Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.74ms] Passed 4 tests
This is a short check of server-side resources used by Wemake WhatsApp
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.77 ▼27.30 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.66 ▼0.83 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.95 ▼13.94 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.57 ▲4.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.77 ▲3.13 |
Wemake Chat /wp-admin/options-general.php?page=wm-chat | 3.21 | 31.33 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Wemake WhatsApp
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,001 ▲255 | 14.06 ▼0.19 | 8.92 ▲6.28 | 70.54 ▲9.84 |
Dashboard /wp-admin | 2,232 ▲44 | 4.95 ▲0.04 | 108.49 ▲6.14 | 40.01 ▼0.56 |
Posts /wp-admin/edit.php | 2,121 ▲35 | 2.26 ▲0.28 | 42.62 ▲4.95 | 35.67 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,528 ▲15 | 23.52 ▼0.00 | 717.06 ▲143.24 | 63.96 ▲13.94 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.30 ▲0.06 | 101.31 ▲0.50 | 43.15 ▲0.03 |
Wemake Chat /wp-admin/options-general.php?page=wm-chat | 1,198 | 1.95 | 31.91 | 41.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wemake-chat/inc/action.php:118
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wemake-chat/wemake-chat.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: whatsapp, chat, call
wemake-chat/wemake-chat.php Passed 13 tests
The main PHP script in "Wemake WhatsApp" version 1.1 is automatically included on every request by WordPress
20 characters long description:
WhatsApp chat button
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected3,195 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 1,510 |
Sass | 5 | 75 | 3 | 929 |
PHP | 6 | 122 | 57 | 467 |
JavaScript | 3 | 91 | 36 | 157 |
PO File | 2 | 54 | 62 | 130 |
CSS | 2 | 0 | 2 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 20 | |
▷ Named functions | 12 | 60.00% |
▷ Anonymous functions | 8 | 40.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.19MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 36.61KB | 14.79KB | ▼ 59.59% |
assets/img/devil.png | 2.48KB | 1.61KB | ▼ 35.34% |
screenshot-3.png | 76.77KB | 29.34KB | ▼ 61.78% |
assets/img/flags.png | 1.32KB | 0.45KB | ▼ 65.63% |
assets/img/form-pic-bt.png | 2.23KB | 0.80KB | ▼ 64.07% |