84% wotnot

Code Review | Chatbot & Live Chat for WP - WotNot

WordPress plugin Chatbot & Live Chat for WP - WotNot scored84%from 54 tests.

About plugin

  • Plugin page: wotnot
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5.0-5.8.2
  • WordPress version: 6.3.1
  • First release: Oct 7, 2020
  • Latest release: Dec 21, 2021
  • Number of updates: 6
  • Update frequency: every 73.5 days
  • Top authors: hardikmakadia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,027 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼3.93ms] Passed 4 tests

This is a short check of server-side resources used by Chatbot & Live Chat for WP - WotNot
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.45 ▲2.66
Dashboard /wp-admin3.34 ▲0.0450.39 ▼1.10
Posts /wp-admin/edit.php3.39 ▲0.0449.58 ▲2.28
Add New Post /wp-admin/post-new.php5.92 ▲0.0388.20 ▼18.48
Media Library /wp-admin/upload.php3.26 ▲0.0338.98 ▲1.57

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded
wotnot-plugin-settings

Browser metrics Passed 4 tests

Checking browser requirements for Chatbot & Live Chat for WP - WotNot
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,886 ▲12514.80 ▲0.261.61 ▼0.0838.69 ▼4.55
Dashboard /wp-admin2,289 ▲1095.56 ▼0.1090.90 ▼4.2739.21 ▼2.32
Posts /wp-admin/edit.php2,197 ▲1002.01 ▲0.0635.47 ▼1.4140.22 ▲3.06
Add New Post /wp-admin/post-new.php1,541 ▲422.93 ▲4.53688.84 ▲62.8348.67 ▼15.01
Media Library /wp-admin/upload.php1,494 ▲944.13 ▼0.10112.89 ▲2.6049.24 ▲0.74

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • wotnot-plugin-settings
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

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
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wotnot/sidebar.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wotnot/options.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: chat bot, bot, live chat, chat, chatbot

wotnot/wotnot.php Passed 13 tests

The entry point to "Chatbot & Live Chat for WP - WotNot" version 1.0 is a PHP file that has certain tags in its header comment area
114 characters long description:
Add a Free Chatbot to your WordPress to automate lead generation and scale your customer support - with zero code.

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
There were no executable files found in this plugin299 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP34217167
CSS1160132

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.57
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin