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.35MB] [CPU: ▼16.65ms] Passed 4 tests
This is a short check of server-side resources used by Messenger Customer Chat Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.46 | 4.92 ▼37.82 |
Dashboard /wp-admin | 3.38 ▼0.01 | 48.13 ▼14.39 |
Posts /wp-admin/edit.php | 3.49 ▲0.09 | 47.28 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 87.09 ▼13.03 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 37.20 ▼0.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Messenger Customer Chat Plugin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲161 | 13.92 ▼0.80 | 7.91 ▲6.06 | 42.23 ▼1.93 |
Dashboard /wp-admin | 2,199 ▲19 | 5.57 ▼0.08 | 86.14 ▼2.09 | 39.56 ▼3.04 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.02 ▼0.01 | 38.02 ▲1.21 | 34.46 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.14 ▲0.15 | 682.25 ▼4.03 | 56.79 ▼5.50 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.17 ▼0.05 | 99.34 ▼10.72 | 44.14 ▼5.85 |
Messenger Customer Chat /wp-admin/options-general.php?page= messenger-customer-chat | 841 | 1.99 | 23.06 | 34.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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
Good news, no errors were detected
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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ringotel-messenger-customer-chat/messenger-customer-chat.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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: livechat, messenger wordpress plugin, webchat, messenger, customer chat
ringotel-messenger-customer-chat/messenger-customer-chat.php 85% from 13 tests
The primary PHP file in "Messenger Customer Chat Plugin" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 187 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ringotel-messenger-customer-chat.php" instead of "messenger-customer-chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected139 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 15 | 105 |
JavaScript | 1 | 9 | 1 | 34 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin