Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.86ms] Passed 4 tests
A check of server-side resources used by MicroChat - Live Chat, Chatbots
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.71 ▲2.11 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.77 ▲1.32 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.88 ▼6.55 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.69 ▲4.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.72 ▼0.34 |
MicroChat /wp-admin/options-general.php?page=microchat-setting-admin | 3.23 | 31.51 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
MicroChat - Live Chat, Chatbots: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.14 ▼1.51 | 1.85 ▲0.22 | 45.27 ▼1.10 |
Dashboard /wp-admin | 2,210 ▲24 | 4.87 ▼0.04 | 101.61 ▼7.99 | 42.48 ▼1.82 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▼0.03 | 34.59 ▼5.61 | 31.06 ▼4.07 |
Add New Post /wp-admin/post-new.php | 1,536 ▲13 | 23.43 ▲0.06 | 604.24 ▼62.45 | 54.91 ▼1.83 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.08 | 98.31 ▼10.22 | 43.88 ▼2.04 |
MicroChat /wp-admin/options-general.php?page=microchat-setting-admin | 970 | 2.05 | 22.14 | 28.22 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/microchat/microchat.php:255
- > PHP Fatal error
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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: chatbot, chat widget, lead generation, chat bot, bot
microchat/microchat.php Passed 13 tests
This is the main PHP file of "MicroChat - Live Chat, Chatbots" version 1.0.1, 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:
Microchat is the free WordPress live chat plugin. Microchat will help you have streamlined and easy communication with customers.
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
Success! There were no dangerous files found in this plugin214 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 26 | 214 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin