84% wp-bottr-connect

Code Review | Free Live Chatbot Assistant for Website or Blog

WordPress plugin Free Live Chatbot Assistant for Website or Blog scored84%from 54 tests.

About plugin

  • Plugin page: wp-bottr-connect
  • Plugin version: 1.0.7.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9.7
  • WordPress version: 6.3.1
  • First release: Apr 6, 2017
  • Latest release: Jul 30, 2018
  • Number of updates: 40
  • Update frequency: every 12.0 days
  • Top authors: arjunskumar (67.5%)bottr (35%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /3,585 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▼12.58MB] [CPU: ▼2,607,942.05ms] Passed 4 tests

A check of server-side resources used by Free Live Chatbot Assistant for Website or Blog
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0646.30 ▲2.77
Dashboard /wp-admin3.41 ▼50.4751.75 ▼10,431,750.79
Posts /wp-admin/edit.php3.52 ▲0.1250.72 ▼7.20
Add New Post /wp-admin/post-new.php5.99 ▲0.0686.96 ▼12.97
Media Library /wp-admin/upload.php3.33 ▲0.0641.25 ▲3.44

Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

Free Live Chatbot Assistant for Website or Blog: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲5114.23 ▼0.151.98 ▲0.1233.26 ▼10.95
Dashboard /wp-admin2,221 ▲445.63 ▲0.0794.71 ▼7.1784.36 ▲39.26
Posts /wp-admin/edit.php2,122 ▲221.99 ▼0.0236.32 ▼0.2540.47 ▲6.21
Add New Post /wp-admin/post-new.php1,710 ▲18424.63 ▲0.95752.14 ▲56.2556.82 ▼0.22
Media Library /wp-admin/upload.php1,411 ▲114.19 ▲0.02116.89 ▲9.2480.06 ▲33.76

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-bottr-connect/admin/partials/wp-bottr-connect-admin-display.php:20

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 Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: website, blog, chat bot, chatbot, live chat

wp-bottr-connect/wp-bottr-connect.php Passed 13 tests

The main file in "Free Live Chatbot Assistant for Website or Blog" v. 1.0.7.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
140 characters long description:
Chatbot is best live chat tool for your wordpress website or blog. Bot can automate your FAQs, improve user engagement and customer service.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected943 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
CSS149150649
PHP11134487294

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity1.71
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.19
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods27
▷ Static methods27.41%
▷ Public methods2281.48%
▷ Protected methods00.00%
▷ Private methods518.52%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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