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.09MB] [CPU: ▼5.82ms] Passed 4 tests
Server-side resources used by fobi chatbot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 46.56 ▲4.68 |
Dashboard /wp-admin | 3.39 ▲0.09 | 54.67 ▼2.17 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.63 ▼1.90 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.60 ▼16.38 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.24 ▼2.84 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by fobi chatbot
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,071 ▲285 | 14.99 ▲0.27 | 35.65 ▲33.79 | 81.64 ▲40.50 |
Dashboard /wp-admin | 2,217 ▲43 | 5.81 ▲0.16 | 105.31 ▲19.03 | 43.63 ▼0.12 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.30 ▲0.31 | 44.12 ▲7.88 | 37.44 ▲3.32 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.20 ▼0.42 | 626.53 ▼32.03 | 33.05 ▼17.69 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.45 ▲0.13 | 91.78 ▼14.24 | 39.60 ▼7.62 |
Fobi chatbot /wp-admin/fobi-chatbot.php | 26 | 0.42 | 0.08 | 15.99 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/fobi-chatbot.php
- > Network (severe)
wp-admin/fobi-chatbot.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in fobi-chatbot/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
fobi-chatbot/fobi-chatbot.php Passed 13 tests
"fobi chatbot" version 0.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
98 characters long description:
Create your own chatbot in minutes with fobi.io integration. Everything you need is a google form.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected565 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 108 | 446 | 424 |
CSS | 1 | 28 | 0 | 116 |
JavaScript | 2 | 6 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 2.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected