Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼1.88MB] [CPU: ▼59.13ms] Passed 4 tests
Server-side resources used by Verbato.ai
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.35 | 5.21 ▼39.23 |
Dashboard /wp-admin | 2.13 ▼1.18 | 6.68 ▼42.56 |
Posts /wp-admin/edit.php | 2.13 ▼1.23 | 5.67 ▼48.46 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.76 | 4.96 ▼106.28 |
Media Library /wp-admin/upload.php | 2.13 ▼1.10 | 4.98 ▼32.89 |
Global Settings /wp-admin/admin.php?page=verbato-plugin | 2.13 | 5.09 |
Verbato Account /wp-admin/admin.php?page=?page=verbato-plugin&tab=account | 2.13 | 5.76 |
Conversation Logs /wp-admin/admin.php?page=?page=verbato-plugin&tab=logs | 2.13 | 5.64 |
Server storage [IO: ▲0.78MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
verbato_project |
verbato_project_id |
widget_recent-comments |
db_upgraded |
verbato_project_api_url |
Browser metrics Passed 4 tests
Verbato.ai: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 14.36 ▲0.13 | 1.98 ▲0.18 | 42.86 ▲2.09 |
Dashboard /wp-admin | 2,257 ▲80 | 5.65 ▲0.03 | 84.08 ▼7.90 | 39.22 ▼3.57 |
Posts /wp-admin/edit.php | 2,158 ▲55 | 2.04 ▲0.09 | 42.53 ▼3.41 | 33.89 ▼2.47 |
Add New Post /wp-admin/post-new.php | 6,389 ▲4,863 | 27.47 ▲4.26 | 868.02 ▲188.65 | 61.95 ▲4.84 |
Media Library /wp-admin/upload.php | 1,458 ▲61 | 4.22 ▲0.02 | 98.93 ▼3.40 | 41.20 ▼2.97 |
Global Settings /wp-admin/admin.php?page=verbato-plugin | 1,149 | 2.06 | 26.06 | 35.00 |
Verbato Account /wp-admin/admin.php?page=?page=verbato-plugin&tab=account | 28 | 0.42 | 0.10 | 4.38 |
Conversation Logs /wp-admin/admin.php?page=?page=verbato-plugin&tab=logs | 28 | 0.42 | 0.17 | 4.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the main handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- verbato_project_id
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=?page=verbato-plugin&tab=logs
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the main handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=verbato-plugin
- > Notice in wp-content/plugins/verbato/templates/global-settings.php+86
Only variables should be passed by reference
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_generate_uuid4() in wp-content/plugins/verbato/render.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/verbato/verbato.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=?page=verbato-plugin&tab=account
- > Network (severe)
wp-admin/admin.php?page=?page=verbato-plugin&tab=account - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=?page=verbato-plugin&tab=logs
- > Network (severe)
wp-admin/admin.php?page=?page=verbato-plugin&tab=logs - Failed to load resource: the server responded with a status of 403 (Forbidden)
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
There were not plugin tags detected
verbato/verbato.php Passed 13 tests
This is the main PHP file of "Verbato.ai" version 1.1.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
113 characters long description:
Intelligent 3D chatbot that supports your customers by answering their questions about your products or services.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,945 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 132 | 35 | 1,190 |
JavaScript | 1 | 10 | 1 | 388 |
CSS | 1 | 74 | 7 | 337 |
JSON | 1 | 0 | 0 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 13 | 68.42% |
▷ Anonymous functions | 6 | 31.58% |
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
13 compressed PNG files occupy 0.69MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 2.77KB | 2.32KB | ▼ 16.06% |
assets/jcb.png | 0.95KB | 0.97KB | 0.00% |
assets/model.png | 50.67KB | 35.41KB | ▼ 30.11% |
assets/master_card.png | 1.74KB | 1.50KB | ▼ 13.62% |
assets/diners_club.png | 1.07KB | 1.11KB | 0.00% |