Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.72ms] Passed 4 tests
This is a short check of server-side resources used by My Chatbot Agency Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.58 ▲4.13 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.95 ▼2.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.56 ▼2.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.68 ▼19.96 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.31 ▲2.19 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
mca_onboarding |
Browser metrics Passed 4 tests
Checking browser requirements for My Chatbot Agency Chat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲58 | 14.44 ▲0.18 | 1.68 ▼0.50 | 43.69 ▼1.71 |
Dashboard /wp-admin | 2,221 ▲33 | 4.92 ▼0.94 | 100.62 ▼10.29 | 70.68 ▲28.84 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.99 ▼0.05 | 39.74 ▼0.88 | 35.94 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,680 ▲166 | 22.20 ▲4.54 | 727.98 ▲14.78 | 49.13 ▼22.92 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.22 ▲0.01 | 102.69 ▼12.72 | 73.56 ▲26.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- mca_onboarding
- theysaidso_admin_options
Smoke tests 75% 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 50% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/my-chatbot-agency-chat/MCA.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 32 tag instead of maximum 10
my-chatbot-agency-chat/MCA.php 85% from 13 tests
The main PHP script in "My Chatbot Agency Chat" version 1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("my-chatbot-agency-chat.php" instead of "MCA.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected316 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 32 | 36 | 154 |
PHP | 1 | 22 | 50 | 93 |
CSS | 1 | 9 | 0 | 69 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/favicon.png | 1.59KB | 1.37KB | ▼ 13.93% |
assets/images/logo.png | 17.11KB | 6.76KB | ▼ 60.52% |