Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.02ms] Passed 4 tests
This is a short check of server-side resources used by Live Chat with Messenger Customer Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.28 ▲2.40 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.72 ▼13.28 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 43.67 ▼2.43 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.84 ▼10.39 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.54 ▼1.97 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 14 new options
New WordPress options |
---|
ztb_source |
ztb_domainid |
widget_recent-comments |
access_key |
ztb_status_message |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
ztb_status_disconnect |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Live Chat with Messenger Customer Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.16 ▼1.45 | 1.68 ▼0.16 | 43.25 ▼1.00 |
Dashboard /wp-admin | 2,225 ▲37 | 5.80 ▲0.79 | 127.41 ▲14.42 | 86.48 ▲43.46 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.03 ▼0.01 | 36.61 ▼2.20 | 34.91 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 22.96 ▼0.20 | 762.05 ▲64.32 | 57.93 ▼2.36 |
Media Library /wp-admin/upload.php | 1,410 ▲25 | 4.15 ▼0.10 | 97.92 ▼7.85 | 76.13 ▲32.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 14 options in the database
- ztb_access_key
- ztb_id
- ztb_source
- db_upgraded
- ztb_domainid
- ztb_status_disconnect
- widget_recent-comments
- can_compress_scripts
- ztb_status_message
- ztb_email
- ...
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fb-messenger-live-chat/fb-messenger-live-chat.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Donate link: Invalid URI ("")
fb-messenger-live-chat/fb-messenger-live-chat.php Passed 13 tests
This is the main PHP file of "Live Chat with Messenger Customer Chat" version 1.5.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
129 characters long description:
Support your customers via Facebook Live Chat conveniently from your own website. 10+ more popular marketing tools also included.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin501 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 3 | 4 | 273 |
PHP | 1 | 19 | 15 | 188 |
JavaScript | 1 | 4 | 0 | 40 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
zotabox.png | 3.19KB | 0.44KB | ▼ 86.31% |
assets/images/bg_body.png | 22.84KB | 9.83KB | ▼ 56.98% |
assets/images/check.png | 2.96KB | 0.37KB | ▼ 87.47% |
assets/images/logo-zotabox.png | 5.45KB | 2.43KB | ▼ 55.35% |