Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.99ms] Passed 4 tests
This is a short check of server-side resources used by Live Messenger - Customer Chat for Wordpress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.83 ▼2.23 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.77 ▼3.40 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.18 ▼1.52 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.01 ▲0.14 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.15 ▼4.80 |
FB Messenger Chat /wp-admin/options-general.php?page=fogm-facebook-messenger-chat | 3.20 | 34.76 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Live Messenger - Customer Chat for Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲72 | 14.30 ▼0.12 | 49.14 ▲47.12 | 46.08 ▲1.98 |
Dashboard /wp-admin | 2,204 ▲30 | 5.81 ▲0.93 | 99.11 ▼24.68 | 36.91 ▼13.56 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.01 | 36.80 ▲1.05 | 31.55 ▼5.73 |
Add New Post /wp-admin/post-new.php | 1,545 ▲9 | 18.06 ▼5.03 | 645.78 ▼18.04 | 58.20 ▲1.49 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.02 | 99.17 ▼0.94 | 43.11 ▼4.17 |
FB Messenger Chat /wp-admin/options-general.php?page=fogm-facebook-messenger-chat | 2,081 | 16.76 | 552.90 | 32.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=fogm-facebook-messenger-chat
- > Notice in wp-content/plugins/fogm-messenger-web-chat/includes/class-fogm-messenger-web-chat.php+159
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 15 tag instead of maximum 10
- Screenshots: Add a description for screenshot #4 in fogm-messenger-web-chat/assets to your readme.txt
fogm-messenger-web-chat/fogm-messenger-web-chat.php 92% from 13 tests
The main PHP file in "Live Messenger - Customer Chat for Wordpress" ver. 3.0.0 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:
- Description: The description should be shorter than 140 characters (currently 275 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin846 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 111 | 161 | 502 |
CSS | 1 | 36 | 6 | 313 |
JavaScript | 2 | 2 | 5 | 31 |
PHP code Passed 2 tests
An overview 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.39 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG images were found in this plugin