Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.36MB] [CPU: ▼16.44ms] Passed 4 tests
Analyzing server-side resources used by Ringotel Webchat Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.14 ▼39.81 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.64 ▼14.98 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.55 ▼6.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.39 ▼4.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.09 ▼2.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Ringotel Webchat Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 13.94 ▼0.50 | 8.49 ▲6.68 | 47.20 ▲3.53 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▲0.95 | 137.92 ▲31.16 | 48.08 ▲7.47 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 38.28 ▼1.43 | 34.81 ▼0.55 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.27 ▲0.08 | 668.18 ▲34.93 | 65.63 ▲15.23 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.30 ▲0.09 | 92.94 ▼5.23 | 44.73 ▲0.29 |
Ringotel Webchat /wp-admin/options-general.php?page= ringotel-webchat | 796 | 2.05 | 30.21 | 33.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ringotel-webchat/ringotel-webchat.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: livechat, customer chat, messenger, livechat wordpress plugin, webchat
ringotel-webchat/ringotel-webchat.php Passed 13 tests
Analyzing the main PHP file in "Ringotel Webchat Plugin" version 1.0.0
93 characters long description:
Add a Ringotel webchat widget to your website and talk to your website visitors in real-time.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin121 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 16 | 95 |
JavaScript | 1 | 7 | 0 | 26 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin