Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼2.34ms] Passed 4 tests
An overview of server-side resources used by Chat Widget: WhatsApp Chat, Facebook Messenger Chat, Telegram Chat Bubble, Line Messenger, Live Chat Support Chat Button, WeChat, SMS, Call Button, Customer Support Button with floating Chat Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 40.02 ▼3.58 |
Dashboard /wp-admin | 3.59 ▲0.29 | 46.06 ▼2.61 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 49.26 ▼1.75 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 91.18 ▲8.62 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 36.37 ▼1.41 |
Server storage [IO: ▲9.17MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 389 new files
Database: 4 new tables, 11 new options
New tables |
---|
wp_bit_assist_widgets |
wp_bit_assist_widget_channels |
wp_bit_assist_analytics |
wp_bit_assist_responses |
New WordPress options |
---|
widget_theysaidso_widget |
bit_assist_widget_active |
bit_assist_installed |
widget_recent-posts |
widget_recent-comments |
bit_assist_db_version |
can_compress_scripts |
theysaidso_admin_options |
bit_assist_active_channels |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Chat Widget: WhatsApp Chat, Facebook Messenger Chat, Telegram Chat Bubble, Line Messenger, Live Chat Support Chat Button, WeChat, SMS, Call Button, Customer Support Button with floating Chat Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲62 | 14.23 ▼0.16 | 1.68 ▼0.04 | 44.39 ▲1.12 |
Dashboard /wp-admin | 2,229 ▲49 | 5.54 ▼0.09 | 84.16 ▼17.32 | 40.16 ▼6.57 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.00 ▼0.01 | 41.24 ▲1.78 | 36.22 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.44 ▼0.15 | 614.89 ▲22.78 | 49.65 ▲4.50 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.18 ▼0.00 | 101.95 ▲1.76 | 41.68 ▲0.50 |
All Widgets /wp-admin/admin.php?page=bit-assist#/ | 1,355 | 9.18 | 175.60 | 92.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bit-assist/iframe/index.php
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'BitApps\\Assist\\Core\\Database\\Model' not found in wp-content/plugins/bit-assist/backend/app/Model/WidgetChannel.php:10
- > PHP Fatal error
Uncaught Error: Class 'BitApps\\Assist\\Core\\Database\\Model' not found in wp-content/plugins/bit-assist/backend/app/Model/Analytics.php:7
- > PHP Fatal error
Uncaught Error: Class 'BitApps\\Assist\\Core\\Http\\Request\\Request' not found in wp-content/plugins/bit-assist/backend/app/HTTP/Requests/WidgetUpdateRequest.php:7
- > PHP Fatal error
Trait 'BitApps\\Assist\\Core\\Http\\Request\\Validator\\ValidateAttributes' not found in wp-content/plugins/bit-assist/backend/core/Http/Request/Validator/Validator.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'BitApps\\Assist\\Core\\Http\\Request\\Request' not found in wp-content/plugins/bit-assist/backend/app/HTTP/Requests/WidgetStoreRequest.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bit-assist/index.php:15
- > PHP Fatal error
Uncaught Error: Class 'BitApps\\Assist\\Core\\Database\\Model' not found in wp-content/plugins/bit-assist/backend/app/Model/Widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'BitApps\\Assist\\Core\\Http\\Request\\Request' not found in wp-content/plugins/bit-assist/backend/app/HTTP/Requests/WidgetChannelStoreRequest.php:7
- > PHP Fatal error
Trait 'BitApps\\Assist\\Core\\Http\\IpTool' not found in wp-content/plugins/bit-assist/backend/core/Http/Request/Request.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'BitApps\\Assist\\Core\\Database\\Model' not found in wp-content/plugins/bit-assist/backend/app/Model/Response.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=bit-assist#/
- > Network (severe)
https://fonts.googleapis.com/?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=bit-assist#/
- > Network (severe)
https://fonts.gstatic.com/?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8, #9 in bit-assist/assets to your readme.txt
bit-assist/index.php 85% from 13 tests
This is the main PHP file of "Chat Widget: WhatsApp Chat, Facebook Messenger Chat, Telegram Chat Bubble, Line Messenger, Live Chat Support Chat Button, WeChat, SMS, Call Button, Customer Support Button with floating Chat Widget" version 1.4.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("bit-assist.php" instead of "index.php")
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
Success! There were no dangerous files found in this plugin127,076 lines of code in 356 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 162 | 2,298 | 1,874 | 93,584 |
CSS | 38 | 162 | 152 | 19,811 |
PHP | 73 | 1,855 | 2,166 | 7,279 |
TypeScript | 1 | 0 | 0 | 3,206 |
Markdown | 2 | 489 | 0 | 2,835 |
SVG | 74 | 0 | 0 | 173 |
JSON | 4 | 0 | 0 | 116 |
HTML | 2 | 12 | 1 | 72 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 1 | |
Traits | 4 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 34 | 60.71% |
Methods | 634 | |
▷ Static methods | 123 | 19.40% |
▷ Public methods | 517 | 81.55% |
▷ Protected methods | 14 | 2.21% |
▷ Private methods | 103 | 16.25% |
Functions | 14 | |
▷ Named functions | 1 | 7.14% |
▷ Anonymous functions | 13 | 92.86% |
Constants | 27 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 27 | 100.00% |
▷ Public constants | 27 | 100.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
8 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 |
(invalid) assets/pwa-512x512.png | 15.74KB | 0.00KB | ▼ 100.00% |
img/widget-style/bit-assist-widget-2.png | 5.08KB | 5.08KB | 0.00% |
(invalid) assets/apple-touch-icon.png | 4.90KB | 0.00KB | ▼ 100.00% |
(invalid) assets/favicon-32x32.png | 1.29KB | 0.00KB | ▼ 100.00% |
(invalid) assets/pwa-192x192.png | 5.25KB | 0.00KB | ▼ 100.00% |