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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.61ms] Passed 4 tests
Server-side resources used by GoTo’s Contact Center Webchat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.06 ▼1.28 |
Dashboard /wp-admin | 3.34 ▲0.04 | 42.87 ▼8.61 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.17 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.41 ▼6.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 30.35 ▼2.00 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
goto-contact-center-webchat_activated |
can_compress_scripts |
goto-contact-center-webchat_snippet |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for GoTo’s Contact Center Webchat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.18 ▼1.57 | 1.88 ▲0.00 | 51.21 ▲4.67 |
Dashboard /wp-admin | 2,222 ▲37 | 5.88 ▼0.01 | 113.62 ▼2.22 | 42.28 ▼4.86 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.00 ▼0.00 | 39.72 ▼1.28 | 32.92 ▼7.21 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.36 ▲4.92 | 680.25 ▲63.36 | 60.61 ▲7.97 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.25 ▼0.00 | 94.58 ▼10.92 | 46.28 ▼5.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 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
9 plugin tags: webchat, gotoconnect, goto, logmein, connect...
goto-contact-center-webchat/goto-contact-center-webchat.php Passed 13 tests
The entry point to "GoTo’s Contact Center Webchat" version 0.3.3 is a PHP file that has certain tags in its header comment area
133 characters long description:
The webchat plug-in for GoTo’s Contact Center provides a seamless integration for adding our webchat functionality to your website.
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 plugin761 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 6 | 125 | 155 | 354 |
PHP | 11 | 55 | 249 | 267 |
CSS | 2 | 24 | 28 | 126 |
JavaScript | 1 | 2 | 14 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin