Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.01ms] Passed 4 tests
This is a short check of server-side resources used by 3CX Free Live Chat, Calls & WhatsApp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.40 ▲3.10 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.86 ▼4.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.86 ▲1.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.66 ▼14.80 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.01 ▼2.71 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
wplc_callback_nonce |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for 3CX Free Live Chat, Calls & WhatsApp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲104 | 13.28 ▼1.45 | 1.76 ▼0.24 | 41.88 ▼8.21 |
Dashboard /wp-admin | 2,229 ▲41 | 4.88 ▼1.03 | 107.24 ▲2.69 | 39.56 ▼4.01 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.03 ▲0.03 | 39.99 ▼2.45 | 39.51 ▲4.47 |
Add New Post /wp-admin/post-new.php | 1,534 ▲14 | 23.18 ▼0.12 | 676.60 ▲10.67 | 66.62 ▲11.75 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.30 ▲0.15 | 97.71 ▼3.60 | 42.20 ▼2.96 |
Uninstaller [IO: ▲0.80MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the followingZombie WordPress options detected upon uninstall: 7 options
- The plugin did not uninstall correctly, leaving 37 files (0.80MB) in the plugin directory
- (new file) admin/class-wplc-plugin-settings.php
- (new file) admin/css/wplc-plugin-admin.css
- (new file) admin/index.php
- (new file) admin/js/wplc-plugin-admin.js
- (new file) includes/class-wplc-plugin-deactivator.php
- (new file) includes/class-wplc-plugin-activator.php
- (new file) config.php
- (new file) admin/partials/wplc-plugin-admin-display.php
- (new file) admin/class-wplc-plugin-admin.php
- (new file) changelog.txt
- ...
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- wplc_callback_nonce
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-live-chat-support/admin/partials/wplc-plugin-admin-display.php
- > /wp-content/plugins/wp-live-chat-support/public/partials/wplc-plugin-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #5, #6, #7 in wp-live-chat-support/assets to your readme.txt
wp-live-chat-support/wp-live-chat-support.php Passed 13 tests
The principal PHP file in "3CX Free Live Chat, Calls & WhatsApp" v. 10.0.10 is loaded by WordPress automatically on each request
127 characters long description:
Live chat and voice/video call for web visitors. Setup a free portal account for unlimited agents and then activate the plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,219 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 146 | 565 | 622 |
PO File | 6 | 135 | 169 | 458 |
CSS | 2 | 11 | 4 | 84 |
JavaScript | 2 | 10 | 23 | 55 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 8.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 3 | 6.38% |
▷ Public methods | 38 | 80.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 19.15% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin