Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.66ms] Passed 4 tests
A check of server-side resources used by ZebChat - Live Support Chat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.33 ▲0.33 |
Dashboard /wp-admin | 3.38 ▲0.07 | 48.07 ▼2.88 |
Posts /wp-admin/edit.php | 3.50 ▲0.13 | 46.91 ▼2.61 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.99 ▼17.24 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 37.73 ▲0.10 |
ZebChat /wp-admin/options-general.php?page=ZebChat | 3.30 | 33.54 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
jakweblc-embed-widget-id |
widget_recent-posts |
jakweblc-lc-options |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ZebChat - Live Support Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▼0.10 | 1.69 ▼0.08 | 41.44 ▼7.60 |
Dashboard /wp-admin | 2,193 ▲16 | 5.56 ▼0.12 | 90.12 ▲2.67 | 37.97 ▼0.64 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.95 ▼0.04 | 39.67 ▲2.83 | 34.75 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,529 ▼0 | 23.64 ▲0.63 | 678.33 ▲32.73 | 51.67 ▼17.23 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.16 ▲0.02 | 101.24 ▼0.55 | 45.08 ▼5.99 |
ZebChat /wp-admin/options-general.php?page=ZebChat | 954 | 1.78 | 24.00 | 27.10 |
Uninstaller [IO: ▲0.00MB] [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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: lc_embedid in wp-content/plugins/zebchat-live-chat/templates/widget.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/zebchat-live-chat/jakweblc.php:363
- > PHP Notice
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (ZebChat login page, apps are availble for Desktops and Mobile devices.), #2 (Real time communication with your website visitors, replace the boring contact form.), #3 (Live support chat or pre sales questions, multi language ready.), #4 (Our dashboard with full control over your billings and operators), #5 (Mobile Apps for iOS and Android.), #6 (iOS and Android Push Notifications on new client and message.)
zebchat-live-chat/jakweblc.php 85% from 13 tests
The main PHP file in "ZebChat - Live Support Chat" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("zebchat-live-chat.php" instead of "jakweblc.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected587 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 97 | 15 | 516 |
CSS | 1 | 5 | 0 | 39 |
JavaScript | 1 | 18 | 9 | 32 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 3 | 13.64% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 2 | 9.09% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 5.24KB | 2.68KB | ▼ 48.85% |