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.07MB] [CPU: ▼294.21ms] Passed 4 tests
Analyzing server-side resources used by Chat Essential
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.51 | 55.13 ▲31.81 |
Dashboard /wp-admin | 3.47 ▲0.07 | 39.86 ▲5.69 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 39.70 ▲1.53 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.03 | 95.17 ▼1,184.21 |
Media Library /wp-admin/upload.php | 3.42 ▲0.12 | 24.88 ▲0.14 |
QR Codes /wp-admin/admin.php?page=chat-essential-qr-code | 3.32 | 24.63 |
AI /wp-admin/admin.php?page=chat-essential | 3.32 | 22.71 |
Settings /wp-admin/admin.php?page=chat-essential-settings | 3.32 | 23.13 |
Website /wp-admin/admin.php?page=chat-essential-website | 3.32 | 23.33 |
Server storage [IO: ▲19.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 1,688 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_chat_essential |
New WordPress options |
---|
chat_essential_db_version |
chat_essential_activation_date |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Chat Essential
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,949 ▲227 | 16.61 ▲0.53 | 8.96 ▲3.40 | 2.53 ▲0.08 |
Dashboard /wp-admin | 2,936 ▲78 | 6.39 ▲0.29 | 125.20 ▼8.18 | 203.73 ▲44.35 |
Posts /wp-admin/edit.php | 2,749 ▲65 | 3.03 ▼0.21 | 66.48 ▲1.63 | 171.31 ▲31.70 |
Add New Post /wp-admin/post-new.php | 1,699 ▼82 | 18.10 ▼4.63 | 380.74 ▼38.36 | 195.59 ▲37.56 |
Media Library /wp-admin/upload.php | 1,739 ▲41 | 5.71 ▲0.16 | 124.65 ▼19.56 | 221.27 ▲39.83 |
QR Codes /wp-admin/admin.php?page=chat-essential-qr-code | 1,194 | 2.57 | 51.97 | 130.41 |
AI /wp-admin/admin.php?page=chat-essential | 1,197 | 2.56 | 65.01 | 151.82 |
Settings /wp-admin/admin.php?page=chat-essential-settings | 1,192 | 2.76 | 53.25 | 135.24 |
Website /wp-admin/admin.php?page=chat-essential-website | 1,197 | 2.76 | 55.57 | 131.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_chat_essential
Smoke tests 50% from 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 no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/chat-essential/public/partials/chat-essential-public.php
- 55× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/promises/src/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/psr7/src/CachingStream.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:7
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/chat-essential/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/chat-essential/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
7 plugin tags: artificial intelligence, gpt-3, openai, gpt3, customer...
chat-essential/chat-essential.php Passed 13 tests
The entry point to "Chat Essential" version 0.12 is a PHP file that has certain tags in its header comment area
45 characters long description:
Launch automated chats anywhere you advertise
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
No dangerous file extensions were detected608,753 lines of code in 1,535 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,494 | 5,542 | 23,040 | 602,314 |
Markdown | 16 | 1,247 | 0 | 3,703 |
JSON | 15 | 1 | 0 | 1,182 |
JavaScript | 5 | 49 | 38 | 850 |
CSS | 3 | 0 | 24 | 688 |
make | 1 | 4 | 0 | 9 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 367.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 29 | |
Traits | 3 | |
Classes | 138 | |
▷ Abstract classes | 1 | 0.72% |
▷ Concrete classes | 137 | 99.28% |
▷ Final classes | 35 | 25.55% |
Methods | 1,344 | |
▷ Static methods | 276 | 20.54% |
▷ Public methods | 1,111 | 82.66% |
▷ Protected methods | 73 | 5.43% |
▷ Private methods | 160 | 11.90% |
Functions | 171 | |
▷ Named functions | 75 | 43.86% |
▷ Anonymous functions | 96 | 56.14% |
Constants | 205 | |
▷ Global constants | 16 | 7.80% |
▷ Class constants | 189 | 92.20% |
▷ Public constants | 177 | 93.65% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.15MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 153.49KB | 34.24KB | ▼ 77.69% |
images/qr-icon-gray.png | 0.40KB | 0.56KB | 0.00% |