Benchmarks
Plugin footprint 82% 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.61MB] [CPU: ▼0.74ms] Passed 4 tests
An overview of server-side resources used by WP Chat App
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.67 | 46.30 ▲4.27 |
Dashboard /wp-admin | 3.97 ▲0.63 | 57.37 ▲4.20 |
Posts /wp-admin/edit.php | 4.02 ▲0.63 | 53.92 ▲5.42 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.63 | 87.57 ▼13.71 |
Media Library /wp-admin/upload.php | 3.83 ▲0.57 | 39.73 ▲2.30 |
Add New account /wp-admin/post-new.php?post_type=whatsapp-accounts | 4.01 | 51.89 |
Go Pro /wp-admin/admin.php?page=go_whatsapp_pro | 3.79 | 36.14 |
Settings /wp-admin/admin.php?page=nta_whatsapp_setting | 3.86 | 38.66 |
Recommended Plugins /wp-admin/admin.php?page=nta_whatsapp_recommended_plugins | 3.79 | 35.08 |
Floating Widget /wp-admin/admin.php?page=nta_whatsapp_floating_widget | 3.90 | 40.84 |
All Accounts /wp-admin/edit.php?post_type=whatsapp-accounts | 3.93 | 42.57 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: no files
Database: no new tables, 12 new options
New WordPress options |
---|
njt_notification_filebird_cross |
widget_recent-posts |
widget_theysaidso_widget |
njt_wa_version |
njt_wa_review |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
njt_wa_first_time_active |
nta_wa_restored |
... |
Browser metrics 75% from 4 tests
An overview of browser requirements for WP Chat App
You may want to improve the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 43,109 on /wp-admin/admin.php?page=go_whatsapp_pro)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲212 | 13.60 ▼0.78 | 5.57 ▲3.51 | 19.43 ▼26.48 |
Dashboard /wp-admin | 2,389 ▲198 | 4.89 ▼1.01 | 102.69 ▼13.88 | 78.49 ▲31.17 |
Posts /wp-admin/edit.php | 2,299 ▲210 | 2.08 ▲0.03 | 36.04 ▼4.53 | 103.46 ▲67.07 |
Add New Post /wp-admin/post-new.php | 6,296 ▲4,782 | 18.99 ▲1.44 | 949.44 ▲245.68 | 52.30 ▼6.31 |
Media Library /wp-admin/upload.php | 1,502 ▲117 | 4.26 ▲0.09 | 97.39 ▼1.86 | 75.32 ▲31.89 |
Add New account /wp-admin/post-new.php?post_type=whatsapp-accounts | 5,286 | 5.43 | 103.94 | 107.86 |
Go Pro /wp-admin/admin.php?page=go_whatsapp_pro | 43,109 | 8.93 | 253.35 | 184.63 |
Settings /wp-admin/admin.php?page=nta_whatsapp_setting | 1,370 | 3.12 | 57.98 | 63.07 |
Recommended Plugins /wp-admin/admin.php?page=nta_whatsapp_recommended_plugins | 1,121 | 2.26 | 29.64 | 31.96 |
Floating Widget /wp-admin/admin.php?page=nta_whatsapp_floating_widget | 2,765 | 9.97 | 208.90 | 35.38 |
All Accounts /wp-admin/edit.php?post_type=whatsapp-accounts | 1,177 | 2.00 | 31.83 | 30.31 |
Uninstaller [IO: ✅] [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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 12 options
- can_compress_scripts
- njt_popup_filebird_cross
- njt_wa_first_time_active
- njt_notification_filebird_cross
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- njt_wa_review
- nta_wa_restored
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-whatsapp/views/meta-button-style.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/wp-whatsapp/views/settings.php:11
- > PHP Notice
Undefined variable: recommended_plugins in wp-content/plugins/wp-whatsapp/includes/Recommended/views/content.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-whatsapp/views/woocommerce-button.php:4
- > PHP Fatal error
Uncaught Error: Class 'NTA_WhatsApp\\Helper' not found in wp-content/plugins/wp-whatsapp/views/selected-accounts.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-whatsapp/views/design-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-whatsapp/views/display-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-whatsapp/views/meta-accounts.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-whatsapp/views/analytics.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/wp-whatsapp/views/floating-widget-settings.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=whatsapp-accounts
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=go_whatsapp_pro
- > Security (warning) in unknown
security - Error with Feature-Policy header: Unrecognized feature: 'speaker'.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=nta_whatsapp_floating_widget
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: whatsapp business, woocommerce whatsapp, click to chat, wp social chat, join chat...
wp-whatsapp/whatsapp.php 85% from 13 tests
The main PHP file in "WP Chat App" ver. 3.4.6 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-whatsapp.php" instead of "whatsapp.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin5,145 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 410 | 65 | 3,725 |
CSS | 6 | 89 | 27 | 597 |
JavaScript | 9 | 12 | 16 | 341 |
SVG | 9 | 0 | 3 | 272 |
PO File | 1 | 79 | 91 | 189 |
XML | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 32 | 22.86% |
▷ Public methods | 132 | 94.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 5.71% |
Functions | 11 | |
▷ Named functions | 4 | 36.36% |
▷ Anonymous functions | 7 | 63.64% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/whatsapp-button-preview.png | 6.83KB | 7.06KB | 0.00% |
assets/img/woo_settings/after_long_desc.png | 1.18KB | 0.99KB | ▼ 16.10% |
assets/img/woo_settings/before_add_to_cart.png | 1.14KB | 0.96KB | ▼ 15.87% |
assets/img/woo_settings/after_short_desc.png | 1.13KB | 0.95KB | ▼ 16.00% |
assets/img/FB_Wireframe.png | 10.56KB | 4.88KB | ▼ 53.83% |