Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.91MB] [CPU: ▼54.05ms] Passed 4 tests
This is a short check of server-side resources used by Activechat.ai chatbots and live chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 6.37 ▼41.06 |
Dashboard /wp-admin | 2.10 ▼1.20 | 6.12 ▼46.89 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.48 ▼43.41 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.39 ▼84.83 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 9.08 ▼27.52 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
acvv_save_display_ac_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Activechat.ai chatbots and live chat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.34 ▼1.41 | 5.52 ▲3.50 | 44.88 ▲3.38 |
Dashboard /wp-admin | 2,258 ▲70 | 4.84 ▼1.03 | 101.31 ▼15.71 | 38.03 ▼4.16 |
Posts /wp-admin/edit.php | 2,137 ▲45 | 2.01 ▼0.00 | 37.01 ▲2.02 | 35.36 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,550 ▲14 | 23.35 ▲0.05 | 675.18 ▲68.82 | 57.49 ▲10.88 |
Media Library /wp-admin/upload.php | 1,436 ▲54 | 4.27 ▲0.08 | 100.72 ▲0.87 | 44.40 ▲2.80 |
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
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_register_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 namespace handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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)
There were no browser issues found
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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Step 1 : Place bot id here ( You can find bot id in your Bot settings -> general in app.activechat.ai )), #2 (Step 2 : After connection, you can choose between Activechat plugin or Facebook chat widget.), #3 (Additional : If you choose Facebook chat widget you can customize chat widget color, choose "ref" parameter to start bot skill, place a greeting messege to logged users, choose How the greeting dialog will be displayed , place a delay when chat widget will be displayed.)
activechat-ai/index.php 85% from 13 tests
The entry point to "Activechat.ai chatbots and live chat" version 1.0.10 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 260 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("activechat-ai.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,017 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 179 | 21 | 672 |
CSS | 1 | 45 | 5 | 330 |
SVG | 2 | 2 | 0 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
There were not PNG files found in your plugin