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.20MB] [CPU: ▲0.48ms] Passed 4 tests
An overview of server-side resources used by Ochatbot - Free AI chatbot for eCommerce & Leads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 42.67 ▼2.31 |
Dashboard /wp-admin | 3.50 ▲0.20 | 52.69 ▲3.45 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 48.28 ▲1.75 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 88.93 ▼0.98 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 40.25 ▲7.40 |
Ometrics Ochatbot /wp-admin/options-general.php?page=wp-ometrics | 3.47 | 35.11 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
wpometrics_reviews_installed_on |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Ochatbot - Free AI chatbot for eCommerce & Leads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.33 ▼1.07 | 2.06 ▲0.17 | 38.27 ▼10.16 |
Dashboard /wp-admin | 2,234 ▲49 | 5.90 ▲0.04 | 103.59 ▼11.33 | 42.80 ▼0.32 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.06 ▲0.04 | 35.68 ▲1.71 | 30.81 ▼6.47 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 17.80 ▲0.14 | 677.22 ▼19.28 | 66.20 ▲9.36 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.31 ▲0.13 | 99.13 ▼9.73 | 43.18 ▼0.97 |
Ometrics Ochatbot /wp-admin/options-general.php?page=wp-ometrics | 1,209 | 1.76 | 27.36 | 41.51 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- wpometrics_reviews_installed_on
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ochatbot-and-ometrics-conversion-optimization-tools/views/dashboard-notices.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ochatbot-and-ometrics-conversion-optimization-tools/views/settingsConnect.php:2
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ochatbot-and-ometrics-conversion-optimization-tools/wp-ometrics.php 85% from 13 tests
The main file in "Ochatbot - Free AI chatbot for eCommerce & Leads" v. 1.1.05 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("ochatbot-and-ometrics-conversion-optimization-tools.php" instead of "wp-ometrics.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "3.6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,825 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 207 | 295 | 1,128 |
JavaScript | 1 | 52 | 53 | 469 |
CSS | 1 | 20 | 13 | 228 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 71.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 15 | 42.86% |
▷ Public methods | 35 | 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 | 1 | 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